Markov-switching ARX log-likelihood objective function
This function computes the log-likelihood for a markov-switching ARX model.
logLike_MSARXmdl(theta, mdl, k)
theta
: Vector of model parameters.mdl
: List with model attributes.k
: Integer determining the number of regimes.Log-likelihood value.