In lecture 30 ( (The Capital Asset Pricing Model and Arbitrage Pricing Theory) Beta was calculated with
AAPL_results = regression.linear_model.OLS(R-R_F, sm.add_constant(M)).fit()
but shouldn't be with the following formula?
AAPL_results = regression.linear_model.OLS(R-R_F, sm.add_constant(M-R_F)).fit()
I say this because the original formula for return is
R = Rf + Beta * (Rm - Rf).
resolving for Beta is
Beta = (R - Rf) / (Rm - Rf)
Hello,
In lecture 30 ( (The Capital Asset Pricing Model and Arbitrage Pricing Theory) Beta was calculated with
AAPL_results = regression.linear_model.OLS(R-R_F, sm.add_constant(M)).fit()
but shouldn't be with the following formula?AAPL_results = regression.linear_model.OLS(R-R_F, sm.add_constant(M-R_F)).fit()
I say this because the original formula for return is
R = Rf + Beta * (Rm - Rf).
resolving for Beta isBeta = (R - Rf) / (Rm - Rf)
Thanks,
JM