Hi, i am supposed to use basic linear predictive regression model (shown below) to predict if the past return can be used to predict stock return. Data that i have provided is monthly stock price, dividends (12-month moving sums of dividends paid on the S&P 500 index). Array
I have tried executing following commands:
gen return = (100*(Index[_n]-Index[_n-1]+(D12/12))) / Index[_n-1]
gen lagreturn = return [_n-1]
reg return lagreturn
I appreciate all help, as i'm new to statistic analysis. I can also provide more information and data if necessary.
Related Posts with Using past stock return
Use variable labels in the coefpath graph after lasso estimationI am trying to plot the coefficient paths after running a lass command. I am surprised that I cannot…
Merging Deflator Values to a PanelHi, I have a panel data (large n and small T) with -id- as the panel variable and -year- as the time…
interpretation of multinominal logit regression coefficientHi Guys. OK, i finally figure out how to make post organized! i have one question regarding the mult…
How do I test equivalence of estimates across different quantiles run by qreg2?Dear Statalisters, I am running a quantile regression of the form below using qreg2 by J.A.F. Macha…
Collapsing the dataI've got a problem set from my workshop, and cannot figure out how to deal with it. The variables a…
Subscribe to:
Post Comments (Atom)
0 Response to Using past stock return
Post a Comment