Hi there,
I used the rolling regression with window 12 months to calculate expected Beta and then I calculate expected returns. After that, I calculate abnormal returns = Real returns - Expected returns.
My codes is as the following:
asreg excessR MarpreCSI SmB HmL MOM , wind( Month 12)
gen expectedALPHA4= Riskfreerate3monthdeposit + _b_MarpreCSI * MarpreCSI +_b_SmB * SmB + _b_HmL * HmL +_b_MOM * MOM
gen ALPHA4= rp- expectedALPHA4
and I also calulate the residuals as:
gen resid4= excessR - _b_cons - _b_MarpreCSI * MarpreCSI - _b_SmB * SmB - _b_HmL * HmL - _b_MOM * MOM
So, I wonder my code is correct or not?
Thank you in advance!
Related Posts with Rolling Regression to Calculate Abnormal Returns
Qqvalue: q-values the same as p-valuesHello, I am using Stata 15.1. I ran a GLM in svy, and then used parmest to generate an output datas…
Interpreting time-varying coefficients in a fixed effects regression using SEM (as in xtdpml)I've estimated a fixed effects model within a structural equation modeling (SEM) framework, inspired…
Second minimum dateI have different date variables and want to find the second minimum date. That is when you order the…
Difference between interaction term or subgroup analysis when introducing control variablesHi everybody I have a question. I am looking into the difference between public and outsourced empl…
Populating month level data from annual level data for the same observationsI have a dataset which has both month level data and annual level data over a period of 10 years for…
Subscribe to:
Post Comments (Atom)
0 Response to Rolling Regression to Calculate Abnormal Returns
Post a Comment