Dear all,
I am dealing with time-series cross-section for an analysis.
For my analysis, I want to estimate a fixed model but I have to deal with auto-correlation. From what I read there are two possibility to solve this:
1. introducing a lagged dependent variable
2. AR(1) model
In stata I would have:
Solution 1: xtreg dependent_var independent_var L. dependent_var, fe
But also from what I read this is method is biased with fixed effect one solution would be to use xtabond but then with xtabond I cannot use no longer fixed effect. I also see that including a lagged variable can biased the result because it captures a lot of the variation.
Therefore, another solution is to use the AR(1) model with fixed effect. But how do I implement such command in stata?
I saw different command such as
xtgls (but I have N>T)
xtpsce (but it gave me an error message "no time periods are common to all panels, cannot estimate disturbance covariance matrix using case wise inclusion"
I would be very grateful, if someone could help me with this issue.
Thank you,
Alexandre
I am dealing with time-series cross-section for an analysis.
For my analysis, I want to estimate a fixed model but I have to deal with auto-correlation. From what I read there are two possibility to solve this:
1. introducing a lagged dependent variable
2. AR(1) model
In stata I would have:
Solution 1: xtreg dependent_var independent_var L. dependent_var, fe
But also from what I read this is method is biased with fixed effect one solution would be to use xtabond but then with xtabond I cannot use no longer fixed effect. I also see that including a lagged variable can biased the result because it captures a lot of the variation.
Therefore, another solution is to use the AR(1) model with fixed effect. But how do I implement such command in stata?
I saw different command such as
xtgls (but I have N>T)
xtpsce (but it gave me an error message "no time periods are common to all panels, cannot estimate disturbance covariance matrix using case wise inclusion"
I would be very grateful, if someone could help me with this issue.
Thank you,
Alexandre
Comment