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.
Latihan ini adalah bagian dari kursus
Equity Valuation in R
Petunjuk latihan
- Calculate the CAPM Cost of Equity.
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
capm_coe <- ___
capm_coe