mu_estim_wrapper: Wrapper Function for Expected Returns Estimation I

Description Usage Arguments Value Examples

View source: R/mu-estim.R

Description

Estimates the expected returns of a dataset according to the user-defined function.

Usage

1
mu_estim_wrapper(data, estim_func, ...)

Arguments

data

an nxp data matrix.

estim_func

an estimation function.

...

additional parameters, parsed to estim_func.

Value

a vector of expected returns

Examples

1
2
3
data(sp500_rets)
sp_rets <- sp500_rets[,-1]
sigma_ml <- mu_estim_wrapper(sp_rets, estim_func=mu_estim_sample)

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