View source: R/internal.plasso.R
fit_betas | R Documentation |
fit_betas
estimates OLS model only for active coefficients (from lasso)
fit_betas(x, y, w, nm_act, coef_lasso)
x |
Matrix of covariates (number of observations times number of covariates matrix) |
y |
Vector of outcomes |
w |
Vector of weights |
nm_act |
Vector of active variables |
coef_lasso |
Vector of lasso coefficients |
Beta estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.