Announcement

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

  • FD Model

    Hello all,

    I am estimating a first differences model of the following form for 16 countries and 12 time periods: ΔYit = ß0 + ß1ΔXit + øt + λi + ɛit
    The available panel data is already in differences, i.e., I have data on ∆Yit and ∆Xit only (Yit and Xit are not available).
    ∆Yit and ∆Xit are saved as diff_y and diff_x in my Excel dataset; hence I use the following code to estimate the model:

    Code:
    xtset country year
    xi: xtreg diff_y diff_x, fe vce(cluster country)
    Is that OK like that, or do I need to tell Stata somehow that I am estimating a first-differences model?

    Thank you!

  • #2
    Uhhhh..... take off the xi:

    and you should be fine. FE models don't (I think) care if your outcome is already in a difference format.

    Comment


    • #3
      Thank you! I forgot to add time dummies (i.year) in my code. That's why I added xi.

      Comment

      Working...
      X