SkillAgentSearch skills...

Lassovar

Estimation and forecasting of VAR model with the Lasso

Install / Use

/learn @lcallot/Lassovar
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

lassovar

Estimation and forecasting of VAR model with the Lasso.

Build Status

This package is a wrapper for the glmnet package aimed at facilitating estimation and forecasting with VAR models. The package is used in:

Disclaimer

This package is a work in progress.

Usage

  • The function lassovar provides 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.lassovar is used to forecast (!) either directly or recursively.

  • summary, residuals, and predict methods are provided.

View on GitHub
GitHub Stars33
CategoryDevelopment
Updated1mo ago
Forks14

Languages

R

Security Score

75/100

Audited on Feb 15, 2026

No findings