graphicalLasso: Auxiliary function which returns the objective, penalty, and...

Description Usage Arguments Value References Examples

View source: R/smoothedLasso.r

Description

Auxiliary function which returns the objective, penalty, and dependence structure among regression coefficients of the graphical Lasso.

Usage

1
graphicalLasso(S, lambda)

Arguments

S

The sample covariance matrix.

lambda

The regularization parameter of the graphical Lasso.

Value

A list with three functions, precisely the objective u, penalty v, and dependence structure w. Not all derivatives are available in closed form, and thus computing the numerical derivative of the entire objective function is recommended.

References

Friedman, J., Hastie, T., and Tibshirani, R. (2008). Sparse inverse covariance estimation with the graphical lasso. Biostatistics, 9(3):432-441.

Friedman, J., Hastie, T., and Tibshirani, R. (2019). glasso: Graphical Lasso: Estimation of Gaussian Graphical Models. R package version 1.11.

Hahn, G., Lutz, S., Laha, N., and Lange, C. (2020). A framework to efficiently smooth L1 penalties for linear regression. bioRxiv:2020.09.17.301788.

Examples

1
2
3
4
5
library(smoothedLasso)
p <- 30
S <- matrix(rWishart(1,p,diag(p)),p)
lambda <- 1
temp <- graphicalLasso(S,lambda)

smoothedLasso documentation built on March 21, 2021, 9:07 a.m.