You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Thanks,
JM
The text was updated successfully, but these errors were encountered:
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 is
Beta = (R - Rf) / (Rm - Rf)
Thanks,
JM
The text was updated successfully, but these errors were encountered: