Markov-switching autoregressive log-likelihood objective function (minimization version)
This function computes the (negative) log-likelihood for a markov-switching autoregressive model.
logLike_MSARmdl_min(theta, mdl, k)
theta
: Vector of model parameters.mdl
: List with model attributes.k
: integer determining the number of regimes.Negative log-likelihood value.