sim_DLmoments | R Documentation |
This function computes the four moment-based test statistics (eq. 11
- 14
) discussed in Dufour & Luger 2017 for N
different simulated series.
sim_DLmoments(Tsize, N)
Tsize |
Length of sample size for simulation. |
N |
Number of simulated samples. |
A (N x 4
) matrix with N
different simulated moment-based test statistics.
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.