crit: Calculate the critical value of the FGL objective funciton.

Description Usage Arguments Details Value Author(s) References

View source: R/crit.R

Description

crit() calculates the critical value of the FGL objective funciton. It is used to confirm that the FGL algorithm is converging.

Usage

1
crit(theta, S, n, lam1, lam2, penalize.diagonal)

Arguments

theta

A list of pXp inverse covariance matrices.

S

A list of pXp empirical covariance matrices.

n

A vector of sample sizes to attribute to each of the K data matrices. n controls the relative weights of the classes: for example, with n==c(1,1), each class's theta will be penalized equally.

lam1

The tuning parameter for the graphical lasso penalty.

lam2

The tuning parameter for the fused lasso penalty.

penalize.diagonal

Logical value determing whether the graphical lasso penalty should also be applied to the diagonal of the inverse covariance matrices.

Details

A function called by FGL to calculate the critical value of the objective function.

Value

crit, the critical value of the list of inverse covariance matrices.

Author(s)

Patrick Danaher

References

Patrick Danaher, Pei Wang and Daniela Witten (2011). The joint graphical lasso for inverse covariance estimation across multiple classes. http://arxiv.org/abs/1111.0324


JGL documentation built on May 29, 2017, 9:05 p.m.