Learn R Programming

MSTest (version 0.1.5)

logLike_MSARmdl_min: Markov-switching autoregressive log-likelihood objective function (minimization version)

Description

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

Usage

logLike_MSARmdl_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.