msir.regularizedSigma: Regularized estimate of predictors covariance matrix.

Description Usage Arguments Value Author(s) See Also

View source: R/msir.R

Description

This function computes a regularized version of the covariance matrix of the predictors. Among the possible models the one which maximizes BIC is returned.

Usage

1
msir.regularizedSigma(x, inv = FALSE, model = c("XII", "XXI", "XXX"))

Arguments

x

Ahe predictors data matrix.

inv

A logical specifying what must be returned. If TRUE the inverse of the estimated covariance matrix is returned, otherwise the estimated covariance matrix (default).

model

A character string specifying the available models:

  • XII: diagonal equal variances

  • XXI: diagonal unequal variances

  • XXX: full covariance matrix

Value

A (p x p) covariance matrix estimate.

Author(s)

Luca Scrucca luca.scrucca@unipg.it

See Also

msir


msir documentation built on Jan. 13, 2021, 12:50 p.m.