Hi Statalisters
If I set a dataset to a panel dataset using xtset, what exactly is STATA doing? For example, I always thought that if I say:
logit y x1 x2 i.period i.person
then it should be the same as
xtset period person
xtlogit y x1 x2
Meaning, I thought setting up a panel with xtset is the same as controlling for each peron and each period in your dataset.
But I just ran both versions on the same dataset and I get different results, now I am not sure what xtset actually does.
Any advice would be greatly appreciated.
Thanks
Related Posts with What does xtset do exactly?
Multilevel Panel Data with CPS DataGood evening, Using the below Census Population Survey variables, I need to figure out the change i…
Identification of Treatment and Control GroupRespected members, I am trying to employ DID as a means of analysis. In my dataset of 287 firms bet…
Assistance on Statistical analysisCan anyone help me out? I am investigating the coping strategies used among women by using the Brief…
Time stamps in forum softwareIs there any chance the forum software could be changed to specify time zone in the time stamps? Rig…
Problem with merging multiple csv files using merge 1:1Hi, I am a beginner in Stata (using Stata 16) and after going through many of the posts regarding m…
Subscribe to:
Post Comments (Atom)
0 Response to What does xtset do exactly?
Post a Comment