Announcement

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

  • xi: areg and areg

    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!
    Last edited by Jaiwon Lee; 13 Feb 2022, 22:04. Reason: areg xi

  • #2
    Actually, they should not be different. The results should be the same. Please post back showing the exact complete commands you gave and the output Stata gave you so somebody can try to figure out what is going on.

    Comment

    Working...
    X