Title: | Trio Model with a Combination of Lasso and Group Lasso Regularization |
---|---|
Description: | Fit a trio model via penalized maximum likelihood. The model is fit for a path of values of the penalty parameter. This package is based on Noah Simon, et al. (2011) <doi:10.1080/10618600.2012.681250>. |
Authors: | Timo Stöcker, Noah Simon, Jerome Friedman, Trevor Hastie, and Rob Tibshirani |
Maintainer: | Timo Stöcker <[email protected]> |
License: | GPL |
Version: | 1.1.0 |
Built: | 2024-11-13 06:44:14 UTC |
Source: | CRAN |
Fit a trio model via penalized maximum likelihood. The model is fit for a path of values of the penalty parameter. This package is based on Noah Simon, et al. (2011) <doi:10.1080/10618600.2012.681250>.
Package: | TrioSGL |
Type: | Package |
Version: | 1.1.0 |
Date: | 2017-12-18 |
License: | GPL |
LazyLoad: | yes |
Only 1 function:
TrioSGL
Timo Stöcker, Noah Simon, Jerome Friedman, Trevor Hastie, and Rob Tibshirani
Maintainer: Timo Stöcker <[email protected]>
Simon, N., Friedman, J., Hastie, T., Tibshirani, R. (2011). A Sparse-Group Lasso. Journal of Computational and Graphical Statistics, 22, 231-245.
Fit a trio model via penalized maximum likelihood. The model is fit for a path of values of the penalty parameter. This package is based on Noah Simon, et al. (2011) <doi:10.1080/10618600.2012.681250>.
TrioSGL(X, index = NULL, maxit = 10000, thresh = 0.0001, min.frac = 0.01, nlam = 25, lambdas = NULL, alpha = 0.95, gamma = 0.8, step = 1, reset = 20, standardize = FALSE, verbose = FALSE)
TrioSGL(X, index = NULL, maxit = 10000, thresh = 0.0001, min.frac = 0.01, nlam = 25, lambdas = NULL, alpha = 0.95, gamma = 0.8, step = 1, reset = 20, standardize = FALSE, verbose = FALSE)
X |
$X$ should be an input matrix of dimension n-obs by p-vars. The number of rows must be a multiple of 4 (case followed by 3 pseudo-controls). |
index |
A p-vector indicating group membership of each covariate |
maxit |
Maximum number of iterations to convergence |
thresh |
Convergence threshold for change in beta |
min.frac |
The minimum value of the penalty parameter, as a fraction of the maximum value |
nlam |
Number of lambda to use in the regularization path |
lambdas |
A user specified sequence of lambda values for fitting. We recommend leaving this NULL and letting TrioSGL self-select values |
alpha |
The mixing parameter. |
gamma |
Fitting parameter used for tuning backtracking (between 0 and 1) |
step |
Fitting parameter used for inital backtracking step size (between 0 and 1) |
reset |
Fitting parameter used for taking advantage of local strong convexity in nesterov momentum (number of iterations before momentum term is reset) |
standardize |
Logical flag for variable standardization prior to fitting the model. |
verbose |
Logical flag for whether or not step number will be output |
The sequence of models along the regularization path is fit by accelerated generalized gradient descent.
An object with S3 class "TrioSGL"
beta |
A p by |
lambdas |
The actual sequence of |
X.transform |
A list used in |
Timo Stöcker, Noah Simon, Jerome Friedman, Trevor Hastie, and Rob Tibshirani
Maintainer: Timo Stöcker [email protected]
Simon, N., Friedman, J., Hastie, T., Tibshirani, R. (2011). A Sparse-Group Lasso. Journal of Computational and Graphical Statistics, 22, 231-245.
trios <- 4 * 10; snps <- 20; size.groups <- 4 index <- ceiling(1:snps / size.groups) x <- floor(matrix(runif(trios * snps, min = 0, max = 3), ncol = snps, nrow = trios)) fit <- TrioSGL(x, index)
trios <- 4 * 10; snps <- 20; size.groups <- 4 index <- ceiling(1:snps / size.groups) x <- floor(matrix(runif(trios * snps, min = 0, max = 3), ncol = snps, nrow = trios)) fit <- TrioSGL(x, index)