Dear Statalisters,
I am using the IPS unit root test to test for unit roots in my macro panel (N=22) (T=20).
I want to do the test with constant and with constant and trend and let the Aikaike information criteria choose the optimal lags. From my understanding, this translates into the following STATA commands:
The Stata help file also suggests the option demean. I am not sure when exactly it should be used and if - in case it is used- it can simply be added to the above mentioned commands. Could anyone explain?
Sorry if this is a very basic question, but I am not a STATA or econometrics expert.
Thnak you!
I am using the IPS unit root test to test for unit roots in my macro panel (N=22) (T=20).
I want to do the test with constant and with constant and trend and let the Aikaike information criteria choose the optimal lags. From my understanding, this translates into the following STATA commands:
- for constant only: xtunitroot ips variable, lags(aic)
- for constant and trend: xtunitroot ips variable, trend lags(aic)
The Stata help file also suggests the option demean. I am not sure when exactly it should be used and if - in case it is used- it can simply be added to the above mentioned commands. Could anyone explain?
Sorry if this is a very basic question, but I am not a STATA or econometrics expert.
Thnak you!
Comment