This function computes part of the test statistic given by
eq. 2.5 of CHP 2014 when the alternative has switching mean only. The output
is used in chpStat
which computes the full test statistics.
calc_mu2t(mdl, rho, ltmt)
Part of test statistic given rho
and hv
value.
List containing model attributes (see ARmdl
).
Number determining value of rho
.
List containing derivatives output from chpDmat
.
Carrasco, Marine, Liang Hu, and Werner Ploberger. 2014. “Optimal test for Markov switching parameters.” Econometrica 82 (2): 765–784.