Skip to content

MSTest

Hypothesis Testing for Markov Switching Models

v0.1.8 · Jan 9, 2026 · GPL (>= 2)

Description

Implementation of hypothesis testing procedures described in Hansen (1992) <doi:10.1002/jae.3950070506>, Carrasco, Hu, & Ploberger (2014) <doi:10.3982/ECTA8609>, Dufour & Luger (2017) <doi:10.1080/07474938.2017.1307548>, and Rodriguez Rondon & Dufour (2024) <https://grodriguezrondon.com/files/RodriguezRondon_Dufour_2025_MonteCarlo_LikelihoodRatioTest_MarkovSwitchingModels_20251014.pdf> that can be used to identify the number of regimes in Markov switching models.

Downloads

592

Last 30 days

6756th

1.7K

Last 90 days

3.7K

Last year

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

CRAN Check Status

6 NOTE
8 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (6 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘MSTest/libs/MSTest.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘MSTest/libs/MSTest.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'MSTest/libs/x64/MSTest.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

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

installed package size

installed size is 18.6Mb
  sub-directories of 1Mb or more:
    libs  17.5Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘MSTest/libs/MSTest.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

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 17.7Mb
  sub-directories of 1Mb or more:
    libs  16.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 18.6Mb
  sub-directories of 1Mb or more:
    libs  17.5Mb

Dependency Network

Dependencies Reverse dependencies rlang nloptr Rcpp numDeriv pracma foreach GenSA pso GA MSTest

Version History

new 0.1.8 Mar 10, 2026
updated 0.1.8 ← 0.1.6 diff Jan 8, 2026
updated 0.1.6 ← 0.1.5 diff Oct 22, 2025
updated 0.1.5 ← 0.1.3 diff Feb 23, 2025
updated 0.1.3 ← 0.1.2 diff Oct 29, 2024
updated 0.1.2 ← 0.1.1 diff May 30, 2024
updated 0.1.1 ← 0.1.0 diff Jan 30, 2023
new 0.1.0 Oct 18, 2022