Skip to content

gmvarkit

Estimate Gaussian and Student's t Mixture Vector Autoregressive Models

v2.2.1 · Oct 6, 2025 · GPL-3

Description

Unconstrained and constrained maximum likelihood estimation of structural and reduced form Gaussian mixture vector autoregressive, Student's t mixture vector autoregressive, and Gaussian and Student's t mixture vector autoregressive models, quantile residual tests, graphical diagnostics, simulations, forecasting, and estimation of generalized impulse response function and generalized forecast error variance decomposition. Leena Kalliovirta, Mika Meitz, Pentti Saikkonen (2016) <doi:10.1016/j.jeconom.2016.02.012>, Savi Virolainen (2025) <doi:10.1080/07350015.2024.2322090>, Savi Virolainen (in press) <doi:10.1016/j.ecosta.2025.09.003>.

Downloads

CRAN

525

Last 30 days

6804th

1.2K

Last 90 days

5.6K

Last year

Trend: +57.7% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

25

Last 90 days

125

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

4

Last 7 days

14

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [121s/497s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gmvarkit)
  > 
  > test_check("gmvarkit")
  Using 2 cores to estimate 2 GIRFs for 2 structural shocks, each based on 2
...[truncated]...
 seeds = 1:2, plot_res = FALSE) at test_GIRFandGFEVD.R:52:3
   2.   └─parallel::makeCluster(ncores)
   3.     └─parallel::makePSOCKcluster(names = spec, ...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1808 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

31,796

Files

185

Compiled share

0%

Has compiled src

No

Language breakdown

R 10,773 (33.9%)Tests 7,379 (23.2%)Docs 11,399 (35.9%)Vignettes 2,245 (7.1%)

API

Exported functions

44

Internal functions

89

Recent export changes

v2.2.0−5 GMVAR, alt_gmvar, fitGMVAR 2 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.68

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

92.3%

\dontrun example ratio

42.9%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

90%

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.6.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

35

First release

2018-07-28

Latest release

2025-10-06

Avg cadence

53 days

Cold removal rate

100%

Dep drift

20

LOC over versions

v1.0.0: 9,129 LOCv1.0.1: 9,243 LOCv1.0.2: 9,243 LOCv1.0.3: 9,349 LOCv1.1.0: 10,299 LOCv1.1.1: 10,461 LOCv1.1.2: 10,955 LOCv1.1.3: 11,243 LOCv1.2.0: 17,523 LOCv1.2.1: 17,523 LOCv1.2.2: 17,779 LOCv1.2.3: 17,870 LOCv1.3.0: 18,356 LOCv1.3.1: 18,361 LOCv1.4.0: 20,343 LOCv1.4.1: 20,509 LOCv1.4.2: 21,246 LOCv1.5.0: 20,851 LOCv2.0.0: 27,839 LOCv2.0.1: 27,931 LOCv2.0.2: 28,244 LOCv2.0.3: 28,648 LOCv2.0.4: 28,744 LOCv2.0.5: 28,752 LOCv2.0.6: 28,756 LOCv2.0.7: 28,758 LOCv2.0.8: 28,758 LOCv2.0.10: 28,931 LOCv2.1.0: 32,563 LOCv2.1.1: 32,605 LOCv2.1.2: 32,605 LOCv2.1.3: 32,707 LOCv2.1.4: 32,715 LOCv2.2.0: 31,835 LOCv2.2.1: 31,796 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies Brobdingnag mvnfast parallel (>= 3.0.0) pbapply graphics (>= 3.0.0) gsl methods (>= 3.0.0) gmvarkit

Version History

36 tracked
new 2.2.1 Mar 10, 2026
updated 2.2.1 ← 2.2.0 diff Oct 5, 2025
updated 2.2.0 ← 2.1.4 diff Jun 18, 2025
updated 2.1.4 ← 2.1.3 diff Jan 7, 2025
updated 2.1.3 ← 2.1.2 diff Dec 3, 2024
updated 2.1.2 ← 2.1.1 diff Feb 28, 2024
updated 2.1.1 ← 2.1.0 diff Jan 21, 2024
updated 2.1.0 ← 2.0.10 diff Nov 13, 2023
updated 2.0.10 ← 2.0.8 diff Aug 18, 2023
updated 2.0.8 ← 2.0.7 diff Jun 11, 2023
updated 2.0.7 ← 2.0.6 diff Jun 8, 2023
updated 2.0.6 ← 2.0.5 diff Feb 14, 2023
updated 2.0.5 ← 2.0.4 diff Aug 18, 2022
updated 2.0.4 ← 2.0.3 diff Jun 2, 2022
updated 2.0.3 ← 2.0.2 diff Apr 19, 2022