Answear 6
Answear 6
Answear 6
obs: 1,156
vars: 12
--------------------------------------------------------------------------------------
----------------------------
storage display value
variable name type format label variable label
--------------------------------------------------------------------------------------
----------------------------
caldt long %12.0g calander date
vwretd float %9.0g value weighted return_distrib
vwretx float %9.0g value weighted return_exclud devidend
ewretd float %9.0g equal weighted return_distriution
ewretx float %9.0g equal weighted return_no distriution
totval double %10.0g market value
totcnt int %8.0g total market
usdval double %10.0g market value of securities
usdcnt int %8.0g count of securities
spindx float %9.0g level on s&p
sprtrn float %9.0g return on S&P
dep1 float %9.0g
-----------------------------------------------------------------------------------
. summarize
1. Regression dividend
. reg vwretx dep1
------------------------------------------------------------------------------
vwretx | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
dep1 | -3.19e+07 9887548 -3.22 0.001 -5.13e+07 -1.25e+07
_cons | .0088613 .0017486 5.07 0.000 .0054304 .0122921
------------------------------------------------------------------------------
2. Regression dividend growth
. reg log_vwretx dep1
------------------------------------------------------------------------------
log_vwretx | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
dep1 | -1.28e+08 2.61e+07 -4.90 0.000 -1.79e+08 -7.69e+07
_cons | -.9002241 .0046246 -194.66 0.000 -.9092978 -.8911505
------------------------------------------------------------------------------
Codding
tsset caldt
describe
summarize
###
vwretex -- (vweetd-vwretx)/totval
##independent
gen dep1=(vwretd-vwretx)/totval
##regression 1st
reg vwretex dep1
gen x_vwretx=(vwretx)+0.4
##toget log_vwretx
gen log_vwretx=log(x_vwretx)
##regression 2nd
reg log_vwretx dep1