Description Usage Arguments Value References
This function computes simulates residuals from a standard normal distribution and calculates the four momment-based test-statistics (eq. 11 - 14 in paper) under the null hypothesis using this simulated data.
1 | sim_moments(t, totsim)
|
t |
length of sample size for simulation |
number |
of simulated samples |
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.