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
how to write the syntax : if the macro i equals the macro j Code: local listMediator a b local lagListMediator: subinstr local listMediator " " " L.", all loca…
Read Statalist... from Stata!Mostly as a way to experiment with the -fileread- function, I wrote a small program which allows you…
Sample size for different modelsI am working to complete my Masters thesis and I am confused on which sample I should use for differ…
Extend the time periodHi, I am working with two different sets of panel data, where I have monthly observations for 42 dif…
Comparing coefficients in separate regressions from different time periodsDear all, I want to compare the coefficients of the variable x from 2 different time periods and se…
Subscribe to:
Post Comments (Atom)
0 Response to Using past stock return
Post a Comment