get_alpha: Compute alpha parameter for covariance regularization.

Description Usage Arguments Examples

Description

get_alpha computes the alpha parameter that shrinks eigenvalues of the sample covariance to their grand mean.

Usage

1

Arguments

X

The data matrix whose rows are observations and columns are covariates.

Examples

1
2
3
4
5
n <- 10
p <- 5
set.seed(12345)
X <- matrix(rnorm(n*p),n,p)
get_alpha(X)

cernn documentation built on May 2, 2019, 6 a.m.

Related to get_alpha in cernn...