Learn R Programming

MSTest (version 0.1.5)

logLike_MSARXmdl: Markov-switching ARX log-likelihood objective function

Description

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

Usage

logLike_MSARXmdl(theta, mdl, k)

Value

Log-likelihood value.

Arguments

theta

Vector of model parameters.

mdl

List with model attributes.

k

Integer determining the number of regimes.