FGGM.refit: Refitting of FGGM

Description Usage Arguments Value Author(s) References

View source: R/FGGM.refit.R

Description

Refitting when K0 is identified using FGGM().

Usage

1
2
3
4
FGGM.refit(data, K, lambda1 = 0.5, lambda2 = 0.2, lambda3 = 2, a = 3, rho = 1,
                  eps = 5e-2, niter = 20, maxiter=10, maxiter.AMA=5,
                  initialization=TRUE, initialize, average=FALSE,
                  asymmetric=TRUE, local_appro=TRUE, penalty = "MCP", theta.fusion=TRUE)

Arguments

data

n * p matrix, the design matrix.

K

Int, a selected upper bound of K_0.

lambda1

A float value, the tuning parameter controlling the sparse of the mean parameter.

lambda2

A float value, the tuning parameter controlling the sparse of the precision matrix.

lambda3

A float value, the tuning parameter controlling the number of subgroup.

a

A float value, regularization parameter in MCP, the default setting is 3.

rho

A float value, the penalty parameter in ADMM algorithm of updating precision matrix Theta, the default setting is 1.

eps

A float value, algorithm termination threshold.

niter

Int, maximum number of cycles of the algorithm, the default setting is 20.

maxiter

Int, maximum number of cycles of the ADMM algorithm.

maxiter.AMA

Int, maximum number of cycles of the AMA algorithm.

initialization

The logical variable, whether to calculate the initial value, the default setting is T, if initialization = F, the initial value uses initialize.

initialize

A given initial value used if initialization = F.

average

The logical variable, whether to use averaging when integrating parameters that are identified as identical subgroups, the default setting is F, which means the estimated parameters for the subgroup with the largest sample size among the subgroups identified as identical subgroups is used as the final parameter for this subgroup.

asymmetric

The logical variable, symmetry of the precision matrices or not, the default setting is T.

local_appro

The logical variable, whether to use local approximations when updating mean parameters, the default setting is T.

penalty

The type of the penalty, which can be selected from c("MCP", "SCAD", "lasso").

theta.fusion

Whether or not the fusion penalty term contains elements of the precision matrices. The default setting is T.

Value

A list including all estimated parameters and the BIC value after refitting.

Author(s)

Mingyang Ren, Sanguo Zhang, Qingzhao Zhang, Shuangge Ma. Maintainer: Mingyang Ren <renmingyang17@mails.ucas.ac.cn>.

References

Ren, M., Zhang S., Zhang Q. and Ma S. (2020). Gaussian Graphical Model-based Heterogeneity Analysis via Penalized Fusion. Biometrics, Published Online.


HeteroGGM documentation built on Feb. 11, 2021, 5:09 p.m.