Package: VARcheck 0.1.0

VARcheck: Visual Diagnostic Checks for Vector Autoregressive Models

Provides model-agnostic visual diagnostics for vector autoregressive (VAR) models. Given empirical data, model predictions, residuals, and optionally simulated data, the package assembles a multi-panel diagnostic grid: empirical vs. predicted time series, residual inspection, residuals vs. predictions scatter, and posterior predictive style checks via simulated trajectories. Output is a 'patchwork' object composed of 'ggplot2' plots, allowing further customisation via standard 'ggplot2' theme calls. Follows the approach described in Haslbeck et al. (2026) <doi:10.31234/osf.io/k6uz4_v3>.

Authors:Björn S. Siepe [aut, cre, cph], Jonas M. B. Haslbeck [aut]

VARcheck_0.1.0.tar.gz
VARcheck_0.1.0.zip(r-4.7)VARcheck_0.1.0.zip(r-4.6)VARcheck_0.1.0.zip(r-4.5)
VARcheck_0.1.0.tgz(r-4.6-any)VARcheck_0.1.0.tgz(r-4.5-any)
VARcheck_0.1.0.tar.gz(r-4.7-any)VARcheck_0.1.0.tar.gz(r-4.6-any)
VARcheck_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
VARcheck/json (API)

# Install 'VARcheck' in R:
install.packages('VARcheck', repos = c('https://bsiepe.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bsiepe/varcheck/issues

Pkgdown/docs site:https://bsiepe.github.io

On CRAN:

Conda:

4.60 score 1 stars 4 scripts 199 downloads 3 exports 18 dependencies

Last updated from:cfb9e0fabc. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK126
source / vignettesOK225
linux-release-x86_64OK122
macos-release-arm64OK200
macos-oldrel-arm64OK184
windows-develOK88
windows-releaseOK87
windows-oldrelOK84
wasm-releaseOK129

Exports:new_var_dataplot_var_checktheme_varcheck

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecyclepatchworkR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

Example analyses
Helper functions | Generate data and fit AR(1) | Correctly specified models | Main misspecifications | Additional misspecifications | Reference

Last update: 2026-06-01
Started: 2026-05-13

Getting started
Setup | Creating a var_data object | The diagnostic grid | Selecting variables and panels | Multiple subjects | Customisation | Using mlVAR outputs | Reference

Last update: 2026-05-14
Started: 2026-04-22