View source: R/debiased_ivx_est.R
fit_lasso | R Documentation |
Run Lasso estimation
fit_lasso(
w,
y,
intercept = FALSE,
standardize = TRUE,
lambda_choice = NULL,
lambda_seq = NULL,
train_method = "timeslice",
nlambda = 100,
lambda_min_ratio = 1e-04,
k = 10,
initial_window = ceiling(nrow(w) * 0.7),
horizon = 1,
fixed_window = TRUE,
skip = 0
)
w |
Matrix of all regressors |
y |
Vector of dependent variable |
coefficients of Lasso regression and residuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.