Hi!
I am running regressions involving patient fixed effects and year fixed effects.
I am not quite sure how do two commands below differ.
1) xi: areg y x i.year, absorb(patient id)
2) areg y x i.year, absorb(patient id)
I can see the coefficients are different but I don't get why do they differ....
Thanks in advance!
Related Posts with xi: areg and areg
Bootstrapping to obtain confidence intervals around differences in failure functionsI have a longitudinal dataset with 2 matched cohorts (Cohort==1 & Cohort==0) in a ratio of 1:3 t…
Issues with converting string to numerical or date in StataHi everyone, I am a new comer to Stata. Currently, I have issues with converting some imported dat…
How to get the number of digits correct using esttabDear StataList, when I run the code below, I almost get what I want. The only problem is that the n…
Creating polynomial expansion of a variableDear Statalist, What I want to do is to create a polynomial expansion of a certain degree of two va…
How to generate a dependent variable in a second stage from point estimates on hundreds of occupation binary variablesDear StataList, I do the following first stage regression: regress logwage i.occupation age gen…
Subscribe to:
Post Comments (Atom)
0 Response to xi: areg and areg
Post a Comment