Description Usage Arguments Value Examples
Estimate upper and lower bound of new tuning region of regularization parameter Lambda.
1 | est.lambda(cv.fit, pihat, p, cov.num = 0)
|
cv.fit |
An object of either class "cv.glmnet" from glmnet::cv.glmnet() or class "cv.ncvreg" from ncvreg::cv.ncvreg(), which is a list generated by a cross-validation fit. |
pihat |
eatimated proprtion from HCTR::est.prop(). |
p |
Total number of variables, except for covariates. |
cov.num |
Number of covariates in model, default is 0. Covariate matrix, W, is assumed on the left side of variable matrix, X. The column index of covariates are before those of variables. |
A list of (1) lambda.max, upper bound of new tuning region; (2) lambda.min, lower bound of new tuning region.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.