Learn R Programming

rportfolio (version 0.0.3)

beta.capm: CAPM Beta

Description

Returns the Beta of Security using the CAPM Model

Usage

beta.capm(R1, R2)

Arguments

R1

Returns data of the security

R2

Returns data of the benchmark security

Value

Value of the beta of the security

Details

Beta is a measure of the volatility<U+2013>or systematic risk<U+2013>of a security or portfolio compared to the market as a whole.

Examples

Run this code
# NOT RUN {
beta.capm(funds$ret1, funds$rfr)
# }

Run the code above in your browser using DataLab