logLike_HMmdl function

Hidden Markov model log-likelihood function

Hidden Markov model log-likelihood function

This function computes the log-likelihood for a markov-switching autoregressive model.

logLike_HMmdl(theta, mdl, k)

Arguments

  • theta: Vector of model parameters.
  • mdl: List with model attributes.
  • k: Integer determining the number of regimes.

Returns

Log-likelihood value.

  • Maintainer: Gabriel Rodriguez Rondon
  • License: GPL (>= 2)
  • Last published: 2025-02-24