mu_estim_fm: Expected Return Estimation with Factors

Description Usage Arguments Details Value Examples

View source: R/mu-estim.R

Description

Computes the estimator of the expected return according to a factor model.

Usage

1
mu_estim_fm(data, rf, factors)

Arguments

data

an nxp data matrix

rf

a numeric vector or double for the risk-free return

factors

an nxf data frame of factors, e.g. the Fama-French 5 Research Factors

Details

The expected returns are calculated according to a factor model, estimated with an OLS regression. For a set of factors F, the expected returns for an n\times p data matrix X are defined as

\hat{μ}= \hat{B}'E[F],

where E[F]=\frac{1}{n}∑_{i=1}^{n}F_{i} and \hat{B} are the estimated beta coefficients from the linear regression.

Value

a vector of expected returns

Examples

1
2
3
4
5
6
7
8

antshi/auxPort documentation built on Oct. 27, 2020, 1:16 p.m.