post_lasso | R Documentation |
post-selection estimation
post_lasso(x, y, coef.est, intercept = TRUE, scalex = FALSE)
x |
Predictor matrix (n-by-p matrix) |
y |
Response variable |
coef.est |
shrinkage estimation results |
intercept |
A boolean: include an intercept term or not |
A list contains estimated intercept and slope
ahat |
Estimated intercept |
bhat |
Estimated slope |
post_lasso(x,y,coef.est)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.