shrink_estim {FoReco}R Documentation

Shrinkage of the covariance matrix

Description

Shrinkage of the covariance matrix according to Schäfer and Strimmer (2005).

Usage

shrink_estim(x, minT = T)

Arguments

x

residual matrix

minT

this param allows to calculate the covariance matrix according to the original hts formulation (TRUE) or according to the standard approach (FALSE).

Value

A list with two objects: the first ($scov) is the shrunk covariance matrix and the second ($lambda) is the shrinkage intensity coefficient.

Author(s)

This function is a modified version of the shrink_estim() hidden function of hts.

References

Schäfer, J.L., Strimmer, K. (2005), A Shrinkage Approach to Large-Scale Covariance Matrix Estimation and Implications for Functional Genomics, Statistical Applications in Genetics and Molecular Biology, 4, 1

Hyndman, R. J., Lee, A., Wang, E., and Wickramasuriya, S. (2020). hts: Hierarchical and Grouped Time Series, R package version 6.0.1, https://CRAN.R-project.org/package=hts.

See Also

Other utilities: Cmatrix(), FoReco2ts(), agg_ts(), arrange_hres(), commat(), ctf_tools(), hts_tools(), lcmat(), oct_bounds(), residuals_matrix(), score_index(), thf_tools()


[Package FoReco version 0.2.6 Index]