powered by
This function organizes the first and second derivatives of the log-likelihood.
chpDmat(mdl, msvar)
List containing relevant first and second derivatives of log-likelihood function.
List containing output from ARmdl.
ARmdl
Boolean indicator. If TRUE, there is a switch in variance. If FALSE only switch in mean is considered.
TRUE
FALSE
Carrasco, Marine, Liang Hu, and Werner Ploberger. 2014. “Optimal test for Markov switching parameters.” Econometrica 82 (2): 765–784.