Shrinkage Estimation Methods for Vector Autoregressive Models

Vector autoregressive (VAR) model is a fundamental and effective approach for multivariate time series analysis. Shrinkage estimation methods can be applied to high-dimensional VAR models with dimensionality greater than the number of observations, contrary to the standard ordinary least squares method. This package is an integrative package delivering nonparametric, parametric, and semiparametric methods in a unified and consistent manner, such as the multivariate ridge regression in Golub, Heath, and Wahba (1979) , a James-Stein type nonparametric shrinkage method in Opgen-Rhein and Strimmer (2007) , and Bayesian estimation methods using noninformative and informative priors in Lee, Choi, and S.-H. Kim (2016) and Ni and Sun (2005) .


VARshrink: Shrinkage Estimation Methods for Vector Autoregressive (VAR) Models.

VAR model is a fundamental and effective approach for multivariate time series analysis. Shrinkage estimation methods can be applied to high-dimensional VAR models with dimensionality greater than the number of observations, contrary to the standard ordinary least squares method.

The package VARshrink aims to be an integrative R package delivering nonparametric, parametric, and semiparametric methods in a unified and consistent manner.

The package VARshrink provides a simple interface function VARshrink(), which is an extension of the function VAR() in the vars package.

Installation

The package can be installed conveniently from GitHub:

if (!("devtools" %in% installed.packages())) 
  install.packages("devtools")

devtools::install_github("namgillee/VARshrink")

Example

data(Canada, package = "vars")
y <- diff(Canada)
estim <- VARshrink(y, p = 2, type = "none", method = "ns")
plot(predict(estim), names = "U")

Development

The package can be tested by

devtools::test()

Style violations and syntax errors can be checked by

lintr::lint_package()

References

N. Lee, H. Choi, and S.-H. Kim (2016). Bayes shrinkage estimation for high-dimensional VAR models with scale mixture of normal distributions for noise. Computational Statistics & Data Analysis 101, 250-276. doi: 10.1016/j.csda.2016.03.007

S. Ni and D. Sun (2005). Bayesian estimates for vector autoregressive models. Journal of Business & Economic Statistics 23(1), 105-117. doi: 10.1198/073500104000000622

R. Opgen-Rhein and K. Strimmer (2007). Learning causal networks from systems biology time course data: an effective model selection procedure for the vector autoregressive process. BMC Bioinformatics 8(2), S3. doi: 10.1186/1471-2105-8-S2-S3.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("VARshrink")

0.5.0 by Namgil Lee, 4 months ago


https://github.com/namgillee/VARshrink/


Report a bug at https://github.com/namgillee/VARshrink/issues/


Browse source code at https://github.com/cran/VARshrink


Authors: Namgil Lee [aut, cre, cph] (ORCID: , Heon Young Yang [ctb] , Sung-Ho Kim [aut, cph]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports ars, corpcor, strucchange, stats, MASS, mvtnorm, MCMCpack

Depends on vars

Suggests knitr, rmarkdown, kableExtra, devtools, lintr, testthat


See at CRAN