Announcement

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

  • Regression with AR(1) process for the error term

    Hello everyone!

    I have a panel data for 23 countries for period of 1985-2007.I am trying to estimate a regression for the primary balance of each country with fixed effects (by country) and modelling the error with an AR(1) porcess, but I have no idea how to do this last part.

    This is the regression with fixed effects:

    areg primary_balance debt_lag square_debt_lag output_gap governement_expenditure_gap, abs(country) vce(robust)

    ¿Which comand allows me to model the error under a AR(1) process? ¿How wouldd you do it?

    Thank you!

  • #2
    See

    Code:
    help xtregar

    Comment


    • #3
      thank you andrew!

      Comment

      Working...
      X