Dear everyone,
Hello. I am a new guy here and need some help.
After consulting several web sites and some other posts, I am unsure about the syntax for the Anderson-Hsiao estimator for my panel data set using xtivreg, fd (recommended by Baum: http://fmwww.bc.edu/EC-C/S2013/823/E...n05.slides.pdf).
I would like to predict the expected marketing expenditure using two period lags and past marketing and return on asset(ROA) as set out in equation (1) and then predict expected marketing as per equation (2) shown in the attachment page 9. Source of the equations: Currim, I. S., Lim, J., & Zhang, Y. (2017). Effect of analysts’ earnings pressure on marketing spending and stock market performance. Journal of the Academy of Marketing Science, 1-22.)

So far I have used this Stata code based on other posts:
xtivreg mktg (l.mktg l.roa = l2.mktg l2.roa ), fd
predict unexp_mktg
Question: Does my Stata code reflect the equations?
Hello. I am a new guy here and need some help.
After consulting several web sites and some other posts, I am unsure about the syntax for the Anderson-Hsiao estimator for my panel data set using xtivreg, fd (recommended by Baum: http://fmwww.bc.edu/EC-C/S2013/823/E...n05.slides.pdf).
I would like to predict the expected marketing expenditure using two period lags and past marketing and return on asset(ROA) as set out in equation (1) and then predict expected marketing as per equation (2) shown in the attachment page 9. Source of the equations: Currim, I. S., Lim, J., & Zhang, Y. (2017). Effect of analysts’ earnings pressure on marketing spending and stock market performance. Journal of the Academy of Marketing Science, 1-22.)
So far I have used this Stata code based on other posts:
xtivreg mktg (l.mktg l.roa = l2.mktg l2.roa ), fd
predict unexp_mktg
Question: Does my Stata code reflect the equations?
Comment