sigma_estim_precond: Covariance Estimation - Preconditioned

Description Usage Arguments Value References Examples

View source: R/cov-estim-factor.R

Description

Computes a specific estimator of the covariance matrix after preconditioning the data with a single factor model - the implicit market portfolio.

Usage

1
sigma_estim_precond(data, zeromean_log = FALSE, precond_est_func = NULL, ...)

Arguments

data

an nxp data matrix.

zeromean_log

a logical, indicating whether the data matrix has zero means (TRUE) or not (FALSE). Default value is FALSE.

precond_est_func

a function for estimating the precondtioned covariance matrix.

...

further arguments to be parsed to precond_est_func.

Value

a list with the following entries

References

\insertAllCited

Examples

1
2
3
4
5
6
data(sp200)
sp_rets <- sp200[,-1]
sigma_lwnl_sf <- sigma_estim_precond(sp_rets,
precond_est_func=sigma_estim_lwnl, bandwidth_speed=NULL)[[1]]
sigma_glasso_sf <- sigma_estim_precond(sp_rets,
precond_est_func=sigma_estim_glasso, rho=0.01)[[1]]

antshi/CovEstim documentation built on Nov. 13, 2020, 2:25 p.m.