Hello,
my current data set is panel data based on year (Year) and firm (companynumber). When trying to tell Stata that my data is panel data using
I get the following error message: no; data are mi set. Use mi xtset to set or query these data; mi xtset has the same syntax as xtset. Perhaps you did not type xtset. Some commands call xtset to obtain information about the settings. In that case, that command is not appropriate for running directly on mi data. Use mi extract to select the data on which you want to run the command, which is probably m=0.
Then I used
and it worked fine.

Is this the same thing? Do I need to pay attention to anything further?
Thank you and have a nice day,
Robin
my current data set is panel data based on year (Year) and firm (companynumber). When trying to tell Stata that my data is panel data using
Code:
xtset companynumber Year, yearly
Then I used
Code:
mi xtset companynumber Year, yearly
Is this the same thing? Do I need to pay attention to anything further?
Thank you and have a nice day,
Robin
Comment