Learn R Programming

statioVAR (version 0.1.3)

Trend Removal for Vector Autoregressive Workflows

Description

Detrending multivariate time-series to approximate stationarity when dealing with intensive longitudinal data, prior to Vector Autoregressive (VAR) or multilevel-VAR estimation. Classical VAR assumes weak stationarity (constant first two moments), and deterministic trends inflate spurious autocorrelation, biasing Granger-causality and impulse-response analyses. All functions operate on raw panel data and write detrended columns back to the data set, but differ in the level at which the trend is estimated. See, for instance, Wang & Maxwell (2015) ; Burger et al. (2022) ; Epskamp et al. (2018) .

Copy Link

Version

Install

install.packages('statioVAR')

Monthly Downloads

126

Version

0.1.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Giuseppe Corbelli

Last Published

August 20th, 2025

Functions in statioVAR (0.1.3)

pooled

Pooled polynomial detrending for multivariate panel data
statioVAR

Trend Removal for Vector Autoregressive Workflows
detrender

Within-unit linear detrending for multilevel VAR analysis