Dear All,
I am trying to run a unit root test in order to find the degree of autocorrelation among my y variable ( which is closing prices of various indices). Since my data is unbalanced, I used the fisher xtunitroot test but, still, Stata only produces this error r(2000):
. xtunitroot fisher closing_px_0, dfuller lags(10)
performing unit-root test on first panel using the syntax
dfuller closing_px_0, lags(10)
returned error code 2000
I checked my data, and there are is no missing data and no string variable so I don"t know what is wrong. I read about the fact that my data on closing prices could be a singleton but how do I solve this problem so that I can perform this test?
In case you need it: Overall, I am trying to assess the impact of terrorism on stock markets using daily data on the main stock index of the respective country (closing_px_0).
Any help would be much appreciated.
Best,
Isabel
I am trying to run a unit root test in order to find the degree of autocorrelation among my y variable ( which is closing prices of various indices). Since my data is unbalanced, I used the fisher xtunitroot test but, still, Stata only produces this error r(2000):
. xtunitroot fisher closing_px_0, dfuller lags(10)
performing unit-root test on first panel using the syntax
dfuller closing_px_0, lags(10)
returned error code 2000
I checked my data, and there are is no missing data and no string variable so I don"t know what is wrong. I read about the fact that my data on closing prices could be a singleton but how do I solve this problem so that I can perform this test?
In case you need it: Overall, I am trying to assess the impact of terrorism on stock markets using daily data on the main stock index of the respective country (closing_px_0).
Any help would be much appreciated.
Best,
Isabel
Comment