var_enet: VAR ENET

View source: R/utilsVAR.R

var_enetR Documentation

VAR ENET

Description

Estimate VAR using ENET penalty

Usage

var_enet(data, p, lambdas, opt)

Arguments

data

the data

p

the order of the VAR

lambdas

a vector containing the lambdas to be used in the fit

opt

a list containing the options

Value

A glmnet object containing the fitted model.


sparsevar documentation built on Feb. 5, 2026, 1:07 a.m.