Description Usage Arguments Value Examples
Select Lambda using Dr Zhou's approach
1 2 | lambda_Select(Yvec, Xmat, lambdas = seq(from = 0.001, to = 1, length.out =
50), nPsep = 20, perc = 0.2,iidSampletype = "rnorm", ...)
|
Yvec |
Y vector(n) |
Xmat |
Design Matrix(n by p) |
lambdas |
Proposed lambda, default value is seq(from=.001,to=1,length.out=50) |
nPsep |
Number of independent simulation data. |
perc |
Stopping percentage |
iidSampletype |
Random number generator. It could be any R random number generator which 1 accpet only sample size as parameter,2 should be vectorized. |
result Result from glmnet
selection T/F of lambdas. F means
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.