Calculate the Cost of Equity
The most common approach to estimate the cost of equity is to use the Capital Asset Pricing Model (CAPM). The CAPM requires as inputs the subject firm's beta, risk-free rate, and equity risk premium. From the prior exercises, you calculated the subject firm's beta (relevered_beta), risk-free rate from FRED (rf), and equity risk premium (erp). Now, combine all these inputs to calculate the CAPM Cost of Equity.
Это упражнение является частью курса
Equity Valuation in R
Инструкции к упражнению
- Calculate the CAPM Cost of Equity.
Интерактивное практическое упражнение
Попробуйте выполнить это упражнение, дополнив этот пример кода.
capm_coe <- ___
capm_coe