Description Usage Arguments Value References
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.
1 | calc_moments(ehat)
|
ehat |
vector containing series of residuals from model. |
The four test statistics (eq. 11 - 14 in paper)
Dufour, J. M., & Luger, R. (2017). Identification-robust moment-based tests for Markov switching in autoregressive models. Econometric Reviews, 36(6-9), 713-727.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.