logLike_MSARmdl function

Markov-switching autoregressive log-likelihood objective function

Markov-switching autoregressive log-likelihood objective function

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

logLike_MSARmdl(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