cv_covariance_matrices: Projected covariance matrices

Description Usage Arguments Value

View source: R/cv_covariance_matrices.R

Description

Creating projected nearest positive semi-definite covariance matrices for the cross validation step of the CoCoLasso

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
cv_covariance_matrices(
  K,
  mat,
  y,
  p,
  mu,
  tau = NULL,
  ratio_matrix = NULL,
  etol = 1e-04,
  noise = c("additive", "missing"),
  mode = "ADMM"
)

Arguments

K

Number of folds for the cross validation

mat

Covariance matrix to be projected

y

Response vector

p

Number of predictors

mu

Penalty parameter for the ADMM algorithm.

tau

Standard error of the additive error matrix when the chosen setting is the additive error setting

ratio_matrix

Observation matrix used in the missing data setting

etol

Tolerance used in the ADMM algorithm

noise

Type of setting chosen : additive or missing

mode

ADMM or HM

Value

list containing


celiaescribe/BDcocolasso documentation built on Feb. 11, 2020, 11:41 p.m.