Package: VARcpDetectOnline 0.1.0

Yuhan Tian

VARcpDetectOnline: Sequential Change Point Detection for High-Dimensional VAR Models

Implements the algorithm introduced in Tian, Y., and Safikhani, A. (2024) <doi:10.5705/ss.202024.0182>, "Sequential Change Point Detection in High-dimensional Vector Auto-regressive Models". This package provides tools for detecting change points in the transition matrices of Vector Auto-Regressive (VAR) models, effectively identifying shifts in temporal and cross-correlations within high-dimensional time series data. The package includes functions to generate synthetic VAR data, detect change points in high-dimensional time series, and analyze real-world data. It also demonstrates an application to financial data: the daily log returns of 186 S&P 500 stocks from 2004-02-06 to 2016-03-02.

Authors:Yuhan Tian [aut, cre], Abolfazl Safikhani [aut]

VARcpDetectOnline_0.1.0.tar.gz
VARcpDetectOnline_0.1.0.zip(r-4.5)VARcpDetectOnline_0.1.0.zip(r-4.4)VARcpDetectOnline_0.1.0.zip(r-4.3)
VARcpDetectOnline_0.1.0.tgz(r-4.4-any)VARcpDetectOnline_0.1.0.tgz(r-4.3-any)
VARcpDetectOnline_0.1.0.tar.gz(r-4.5-noble)VARcpDetectOnline_0.1.0.tar.gz(r-4.4-noble)
VARcpDetectOnline_0.1.0.tgz(r-4.4-emscripten)VARcpDetectOnline_0.1.0.tgz(r-4.3-emscripten)
VARcpDetectOnline.pdf |VARcpDetectOnline.html
VARcpDetectOnline/json (API)

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

Peer review:

Bug tracker:https://github.com/helloworld9293/varcpdetectonline/issues

Datasets:
  • sp500 - S&P 500 Daily Log Returns and Corresponding Dates

On CRAN:

2.00 score 3 exports 46 dependencies

Last updated 10 days agofrom:db0f21dc0b. Checks:7 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 10 2025
R-4.5-winOKJan 10 2025
R-4.5-linuxOKJan 10 2025
R-4.4-winOKJan 10 2025
R-4.4-macOKJan 10 2025
R-4.3-winOKJan 10 2025
R-4.3-macOKJan 10 2025

Exports:generateVARget_cpsVAR_cpDetect_Online

Dependencies:clicodetoolscolorspacecorpcordoParallelfansifarverforeachggplot2glmnetgluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellmvtnormncvregnlmepicassopillarpkgconfigplyrR6RColorBrewerRcppRcppEigenreshape2rlangscalesshapesparsevarstringistringrsurvivaltibbleutf8vctrsviridisLitewithr