View source: R/fit_adaptive_hlasso.R
fit.adaptive.hlasso | R Documentation |
Fit adaptive hierarchical lasso
fit.adaptive.hlasso(x.t, y, beta.ini, m, n, p, info.half, BIC = FALSE, max.iter = 50, print = FALSE)
x.t |
Design matrix or pseudo-design matrix where each column has been multiplied by abs(beta) corresponding to it |
y |
Outcome or pseudo-outcome matrix |
m |
Number of outcomes |
n |
Number of observations |
p |
Number of predictors |
info.half |
Half Fisher information matrix for beta |
BIC |
Logical, if FALSE, modified BIC criterion is used |
max.iter |
Maximum number of iterations in iterative procedure |
print |
Logical indicating whether to print intermediate updates |
Fits an adaptive version of the hierarchical lasso suitable for multivariate mixed outcomes. Variable selection is performed to both remove uninformative predictors and remove unimportant predictor-outcome relationships. Tuning parameter selection is done via a BIC-style criterion.
A list with the following elements:
lasso.beta
: the non-hierarchical adaptive lasso estimate
hlasso.beta
: the adaptive hierarchical lasso estimate
num.iter
: the number of iterations used
d
: the estimate of d
alpha
: the estimate of alpha
lars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.