Lassovar
Estimation and forecasting of VAR model with the Lasso
Install / Use
/learn @lcallot/LassovarREADME
lassovar
Estimation and forecasting of VAR model with the Lasso.
This package is a wrapper for the glmnet package aimed at facilitating estimation and forecasting with VAR models. The package is used in:
- Oracle inequalities for high dimensional vector autoregressions
- Oracle Efficient estimation and Forecasting with the Adaptive Lasso and the Adaptive Group Lasso in Vector Autoregressions.
- Estimation and Forecasting of Large Realized Covariance Matrices and Portfolio Choice.
Disclaimer
This package is a work in progress.
Usage
-
The function
lassovarprovides for the estimation of Vector Autoregressions with the Lasso, or adaptive Lasso using either the Lasso, OLS, or ridge regressions as the initial estimator. The penalty parameter is chosen using an information criterion (BIC or AIC). A post-Lasso OLS can also be estimated. -
forecast.lassovaris used to forecast (!) either directly or recursively. -
summary,residuals, andpredictmethods are provided.
