Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Generating dummies and regression matrices from st_data

    Hi
    Just found out that st_data is even more powerfull than just retrieving data.
    Try the following set of commands:

    Code:
    sysuse auto, clear
    mata st_data(., "rep78 i.rep78")
    mata st_data(., "foreign price i.foreign##c.price")
    mata st_data(., "rep78 foreign i.rep78##i.foreign")
    Nice touch, Stata Corp
    Last edited by Niels Henrik Bruun; 15 Nov 2017, 23:31. Reason: added mata st_data(., "rep78 i.rep78")
    Kind regards

    nhb
Working...
X