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