Hello All,
I am attempting to use lagged periods of earnings to forecast future share price results using the tssmooth command. My panel data is unbalanced and my time variable has gaps. Stata runs the tssmooth operation, but no values actually populate in my data set. I am not sure what I am doing wrong and could use some help in setting up my panel data correctly. My panelvar includes stock tickers (AAPL, MSFT, etc.) and my time variable is quarterly earnings. I have normalized quarterly earnings so that all stocks earnings around a given time frame (since companies have different fiscal years for reporting earnings) are condensed into the same quarter end.
I have attached screenshots of my xtset and xtdescribe commands as well as my current do-file. Any help getting the tssmooth command to populate would be greatly appreciated. Thank you!
I am attempting to use lagged periods of earnings to forecast future share price results using the tssmooth command. My panel data is unbalanced and my time variable has gaps. Stata runs the tssmooth operation, but no values actually populate in my data set. I am not sure what I am doing wrong and could use some help in setting up my panel data correctly. My panelvar includes stock tickers (AAPL, MSFT, etc.) and my time variable is quarterly earnings. I have normalized quarterly earnings so that all stocks earnings around a given time frame (since companies have different fiscal years for reporting earnings) are condensed into the same quarter end.
I have attached screenshots of my xtset and xtdescribe commands as well as my current do-file. Any help getting the tssmooth command to populate would be greatly appreciated. Thank you!
Comment