Dear Statalisters,
I am trying to reproduce an MA(1) model using a dataset out of "Forecasting, Time Series, and Regression" by Bowerman et al. (2005) (the dataset is attached).
The authors provide a value for the MA coefficient equal to -.3534. When I run the same model in Stata, I get a value for the MA coefficient equal to .3518. The code is as follows
It is my understanding that the authors used least squares regression to estimate their MA(1) model, whereas Stata uses Maximum Likelihood. According to their text, these estimators should provide nearly identical results.
My questions are: 1) Did I estimate this model correctly using the code provided? 2) How can I reproduce the authors' result, or at least something close to their result, using least squares in Stata?
Thanks in advance,
Adam A. Guerrero
I am trying to reproduce an MA(1) model using a dataset out of "Forecasting, Time Series, and Regression" by Bowerman et al. (2005) (the dataset is attached).
The authors provide a value for the MA coefficient equal to -.3534. When I run the same model in Stata, I get a value for the MA coefficient equal to .3518. The code is as follows
Code:
import excel sales.xlsx, firstrow clear tsset time arima sales, arima(0 1 1)
My questions are: 1) Did I estimate this model correctly using the code provided? 2) How can I reproduce the authors' result, or at least something close to their result, using least squares in Stata?
Thanks in advance,
Adam A. Guerrero
Comment