calc_moments: Calculate Moment-based test-statistics

Description Usage Arguments Value References

View source: R/RcppExports.R

Description

This function computes the four momment-based test-statistics (eq. 11 - 14 in paper) for a given series. The series should be the residuals from an AR model.

Usage

1

Arguments

ehat

vector containing series of residuals from model.

Value

The four test statistics (eq. 11 - 14 in paper)

References

Dufour, J. M., & Luger, R. (2017). Identification-robust moment-based tests for Markov switching in autoregressive models. Econometric Reviews, 36(6-9), 713-727.


roga11/MSTest_v1 documentation built on Dec. 22, 2021, 5:16 p.m.