coef.fastVAR.SparseVARX: Coefficients of a SparseVARX model

Description Usage Arguments

View source: R/SparseVARX.R

Description

The underlying library, glmnet, computes the full path to the lasso. This means it is computationally easy to compute the lasso solution for any penalty term. This function allows you to pass in the desired l1 penalty and will return the coefficients

Usage

1
2
  ## S3 method for class 'fastVAR.SparseVARX'
 coef(sparseVARX, l1penalty)

Arguments

sparseVARX

an object of class fastVAR.SparseVARX

l1penalty

The l1 penalty to be applied to the SparseVARX model.


jeffwong/fastVAR documentation built on May 19, 2019, 4:02 a.m.