Hi all,
I'm working with a dataset with several Datastream indices (panels). I want to run the following AR(1) regression for each country individually: rit = bi0 + bi1 ri,t-1 + bi2 mondayit + bi3 taxit.
In the papers I read, they use an OLS estimator for estimating these coefficients for individual countries and OLS with panel corrected standard errors (PCSE) for the whole panel. For now I'm only interested in the estimation of the coefficients for each individual country, since you can run a AR(1) model in two possible ways: using regress and using ARIMA.
If you use the time-series ARIMA option in STATA, it will use maximum likelihood. This is not a problem 'an sich' but I found out that if I would run a simple regression for one country (using 'regress') with an added lag it will use way less observations than if I would choose to add a lag in the ARIMA-option.
8739 observations versus 9582 observations to be precise, where the total amount of observations for the return variable was indeed 9582.
Could anyone give me explanation for this difference in amount of observations?
Thank you in advance.
Best regards,
RJ
I'm working with a dataset with several Datastream indices (panels). I want to run the following AR(1) regression for each country individually: rit = bi0 + bi1 ri,t-1 + bi2 mondayit + bi3 taxit.
In the papers I read, they use an OLS estimator for estimating these coefficients for individual countries and OLS with panel corrected standard errors (PCSE) for the whole panel. For now I'm only interested in the estimation of the coefficients for each individual country, since you can run a AR(1) model in two possible ways: using regress and using ARIMA.
If you use the time-series ARIMA option in STATA, it will use maximum likelihood. This is not a problem 'an sich' but I found out that if I would run a simple regression for one country (using 'regress') with an added lag it will use way less observations than if I would choose to add a lag in the ARIMA-option.
8739 observations versus 9582 observations to be precise, where the total amount of observations for the return variable was indeed 9582.
Could anyone give me explanation for this difference in amount of observations?
Thank you in advance.
Best regards,
RJ
Comment