Skip to content

sstvars

Toolkit for Reduced Form and Structural Smooth Transition Vector Autoregressive Models

v1.2.4 · May 29, 2026 · GPL-3

Description

Penalized and non-penalized maximum likelihood estimation of smooth transition vector autoregressive models with various types of transition weight functions, conditional distributions, and identification methods. Constrained estimation with various types of constraints is available. Residual based model diagnostics, forecasting, simulations, counterfactual analysis, and computation of impulse response functions, generalized impulse response functions, generalized forecast error variance decompositions, as well as historical decompositions. See Heather Anderson, Farshid Vahid (1998) <doi:10.1016/S0304-4076(97)00076-6>, Helmut Lütkepohl, Aleksei Netšunajev (2017) <doi:10.1016/j.jedc.2017.09.001>, Markku Lanne, Savi Virolainen (2025) <doi:10.1016/j.jedc.2025.105162>, Savi Virolainen (in press) <doi:10.1080/07474938.2026.2673986>.

Downloads

CRAN

637

Last 30 days

5390th

1.4K

Last 90 days

6.5K

Last year

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

r2u CRAN

24

Last 30 days

143

Last 90 days

578

Last year

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

autoCRAN

5

Last 7 days

17

Last 30 days

3

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 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

PDF version of manual

Rd conversion errors:
Converting parsed Rd's to LaTeX ......Warning in file(out, "wt") :
  cannot open file '/tmp/RtmpIX67Pd/file1659e7620fc884': No space left on device
Warning in file(con, "r") :
  cannot open file '/tmp/RtmpIX67Pd/file1659e7620fc884': No such file or directory
Error in file(con, "r") : cannot open the connection
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.7Mb
  sub-directories of 1Mb or more:
    libs   3.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.7Mb
  sub-directories of 1Mb or more:
    libs   3.5Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/sstvars.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.7Mb
  sub-directories of 1Mb or more:
    libs   3.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.7Mb
  sub-directories of 1Mb or more:
    libs   3.5Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.7Mb
  sub-directories of 1Mb or more:
    libs   3.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.7Mb
  sub-directories of 1Mb or more:
    libs   3.5Mb

Code

Structure

Lines of code

32,041

Files

201

Compiled share

2.4%

Has compiled src

Yes

Language breakdown

R 15,515 (48.4%)C/C++/src 774 (2.4%)Docs 12,688 (39.6%)Vignettes 3,064 (9.6%)

API

Exported functions

37

Internal functions

119

Recent export changes

v1.2.4+1 get_penalized_IC
v1.2.0+4 cfact_fore, cfact_girf, cfact_hist +1 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

35.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

91.7%

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0.0

System requirements

2

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

14

First release

2024-05-27

Latest release

2026-05-29

Avg cadence

32 days

Cold removal rate

Dep drift

1

LOC over versions

v1.0.0: 33,770 LOCv1.0.1: 33,770 LOCv1.1.0: 39,526 LOCv1.1.1: 28,228 LOCv1.1.2: 28,464 LOCv1.1.3: 28,485 LOCv1.1.4: 28,539 LOCv1.1.5: 28,551 LOCv1.1.6: 28,573 LOCv1.2.0: 31,698 LOCv1.2.1: 31,707 LOCv1.2.2: 31,738 LOCv1.2.3: 31,728 LOCv1.2.4: 32,041 LOC

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

Dependency Network

Dependencies Reverse dependencies Rcpp RcppArmadillo parallel (>= 4.0.0) pbapply graphics (>= 4.0.0) sstvars

Version History

15 tracked
updated 1.2.4 ← 1.2.3 diff May 29, 2026
new 1.2.3 Mar 10, 2026
updated 1.2.3 ← 1.2.2 diff Jan 25, 2026
updated 1.2.2 ← 1.2.1 diff Sep 14, 2025
updated 1.2.1 ← 1.2.0 diff Jun 18, 2025
updated 1.2.0 ← 1.1.6 diff Apr 29, 2025
updated 1.1.6 ← 1.1.5 diff Apr 7, 2025
updated 1.1.5 ← 1.1.4 diff Mar 31, 2025
updated 1.1.4 ← 1.1.3 diff Feb 26, 2025
updated 1.1.3 ← 1.1.2 diff Jan 29, 2025
updated 1.1.2 ← 1.1.1 diff Jan 7, 2025
updated 1.1.1 ← 1.1.0 diff Dec 6, 2024
updated 1.1.0 ← 1.0.1 diff Nov 28, 2024
updated 1.0.1 ← 1.0.0 diff May 28, 2024
new 1.0.0 May 26, 2024