Description Usage Arguments Value Examples
An implementation of the two-stage lasso studied in Hao et, al (2018).
1 2 3 4 5 6 7 8 9 10 11 |
x |
An |
y |
A response vector of size |
... |
other arguments to be passed to the |
An object of S3 class "cv.hier".
nThe sample size.
pThe number of main effects.
fitThe whole cv.glmnet fit object.
compactA compact representation of the selected variables. compact has three columns, with the first two columns representing the indices of a selected variable (main effects with first index = 0), and the last column representing the estimate of coefficients.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.