Recursive Score and Hessian Computation in Regime-Switching Models
This study proposes a recursive and easy-to-implement algorithm to compute the score and Hessian matrix in general regime-switching models. We use simulation to compare the asymptotic variance estimates constructed from the Hessian matrix and the outer product of the score. The results favor the latter.