sugm | R Documentation |
The function "sugm" estimates sparse undirected graphical models, i.e. Gaussian precision matrix, in high dimensions. We adopt two estimation procedures based on column by column regression scheme: (1) Tuning-Insensitive Graph Estimation and Regression based on square root Lasso (tiger); (2) The Constrained L1 Minimization for Sparse Precision Matrix Estimation using either L1 penalty (clime). The optimization algorithm for all three methods are implemented based on the alternating direction method of multipliers (ADMM) with the linearization method and multi-stage screening of variables. Missing values can be tolerated for CLIME in the data matrix. The computation is memory-optimized using the sparse matrix output.
sugm(data, lambda = NULL, nlambda = NULL, lambda.min.ratio = NULL, rho = NULL, method = "tiger", sym = "or", shrink=NULL, prec = 1e-4, max.ite = 1e4, standardize = FALSE, perturb = TRUE, verbose = TRUE)
data |
There are 2 options for |
lambda |
A sequence of decresing positive numbers to control the regularization. Typical usage is to leave the input |
nlambda |
The number of values used in |
lambda.min.ratio |
The smallest value for |
rho |
Penalty parameter used in the optimization algorithm for |
method |
|
sym |
Symmetrization of output graphs. If |
shrink |
Shrinkage of regularization parameter based on precision of estimation. The default value is 1.5 if |
prec |
Stopping criterion. The default value is 1e-4. |
max.ite |
The iteration limit. The default value is 1e4. |
standardize |
Variables are standardized to have mean zero and unit standard deviation if |
perturb |
The diagonal of |
verbose |
Tracing information printing is disabled if |
CLIME solves the following minimization problem
\min || Ω ||_1 \quad \textrm{s.t. } || S Ω - I ||_∞ ≤ λ,
where ||\cdot||_1 and ||\cdot||_∞ are element-wise 1-norm and ∞-norm respectively.
"tiger"
solves the following minimization problem
\min ||X-XB||_{2,1} + λ ||B||_1 \quad \textrm{s.t. } B_{jj} = 0,
where ||\cdot||_{1} and ||\cdot||_{2,1} are element-wise 1-norm and L_{2,1}-norm respectively.
An object with S3 class "sugm"
is returned:
data |
The |
cov.input |
An indicator of the sample covariance. |
lambda |
The sequence of regularization parameters |
nlambda |
The number of values used in |
icov |
A list of |
sym |
The |
method |
The |
path |
A list of |
sparsity |
The sparsity levels of the graph path. |
ite |
If |
df |
It is a |
standardize |
The |
perturb |
The |
verbose |
The |
Xingguo Li, Tuo Zhao, Lie Wang, Xiaoming Yuan and Han Liu
Maintainer: Xingguo Li <xingguo.leo@gmail.com>
1. T. Cai, W. Liu and X. Luo. A constrained L1 minimization approach to sparse precision matrix estimation. Journal of the American Statistical Association, 2011.
2. H. Liu, L. Wang. TIGER: A tuning-insensitive approach for optimally estimating large undirected graphs. Technical Report, 2012.
3. B. He and X. Yuan. On non-ergodic convergence rate of Douglas-Rachford alternating direction method of multipliers. Technical Report, 2012.
flare-package
, sugm.generator
, sugm.select
, sugm.plot
, sugm.roc
, plot.sugm
, plot.select
, plot.roc
, plot.sim
, print.sugm
, print.select
, print.roc
and print.sim
.
## load package required library(flare) ## generating data n = 50 d = 50 D = sugm.generator(n=n,d=d,graph="band",g=1) plot(D) ## sparse precision matrix estimation with method "clime" out1 = sugm(D$data, method = "clime") plot(out1) sugm.plot(out1$path[[4]]) ## sparse precision matrix estimation with method "tiger" out2 = sugm(D$data, method = "tiger") plot(out2) sugm.plot(out2$path[[5]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.