calc_DLmoments: Moment-based test statistics

View source: R/RcppExports.R

calc_DLmomentsR Documentation

Moment-based test statistics

Description

This function computes the four moment-based test statistics (eq. 11 - 14) discussed in Dufour & Luger 2017.

Usage

calc_DLmoments(ehat)

Arguments

ehat

A (T x 1) vector of restricted model residuals.

Value

Vector containing the four test statistics.

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 documentation built on Feb. 25, 2025, 6:10 p.m.