Skip to content

OLCPM

0.1.2

Online Change Point Detection for Matrix-Valued Time Series

0packages depend
6.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Long YuFirst published 2023-02-273 releasesCRAN page ↗

We provide two algorithms for monitoring change points with online matrix-valued time series, under the assumption of a two-way factor structure. The algorithms are based on different calculations of the second moment matrices. One is based on stacking the columns of matrix observations, while another is by a more delicate projected approach. A well-known fact is that, in the presence of a change point, a factor model can be rewritten as a model with a larger number of common factors. In turn, this entails that, in the presence of a change point, the number of spiked eigenvalues in the second moment matrix of the data increases. Based on this, we propose two families of procedures - one based on the fluctuations of partial sums, and one based on extreme value theory - to monitor whether the first non-spiked eigenvalue diverges after a point in time in the monitoring horizon, thereby indicating the presence of a change point. This package also provides some simple functions for detecting and removing outliers, imputing missing entries and testing moments. See more details in He et al. (2021)<doi:10.48550/arXiv.2112.13479>.

Install

Health

CRAN checks
13OK
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
No
README
2
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

6.6K
CRAN downloads in the past year
Rank #6,490 · ~18/day · ~551/mo
OLCPM
Daily download trend is not available in this view yet.
54730 days
1.7K90 days
6.6K1 year
Compare downloads with other packages →
Also on93 r2u21 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code & Tests

Code Composition
R 1,762 (54%)Rd 1,517 (46%)

Test coverage

Line coverage

Expression

Tests / Examples

Functions

20 20 exported

Complexity

5.2 avg / 13 max

Call network

20 nodes / 13 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author
Release timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.2Latest
    2024-05-30 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.1
    2024-02-05 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.0
    2023-02-27
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-02-27
Total releases
3 / 3 yrs
License
GPL-2 | GPL-3 OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet