Description Usage Arguments Details Value Author(s) See Also Examples
Function used to select the solution path for a given lambda
1 | dantzig.selector(lambdalist, BETA0, lambda)
|
lambdalist |
|
BETA0 |
|
lambda |
|
Finds the estimated regression coefficient vector associated with a given lambda
beta0 |
|
Di Qi, Haotian Pang
Maintainer: Di Qi <dqi@princeton.edu>
1 2 3 4 5 6 7 8 | # generate data
a = dantzig.generator(n = 200, d = 100, sparsity = 0.1)
# regression coefficient estimation
b = dantzig(a$X0, a$y, lambda = 0.1, nlambda = 100)
# estimated regression coefficient vector
c = dantzig.selector(b$lambdalist, b$BETA0, 15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.