mar_hmm_mllk: Get negative log-likelihood from the working parameters

View source: R/multivariate_autoregressive_hmm_functions.R

mar_hmm_mllkR Documentation

Get negative log-likelihood from the working parameters

Description

Get negative log-likelihood from the working parameters

Usage

mar_hmm_mllk(parvect, x, m, q, k, stationary = TRUE)

Arguments

parvect

Vector of working parameters

x

Matrix of observations, rows represent each variable

m

Number of states

stationary

Boolean, whether the HMM is stationary or not

Value

Negative log-likelihood


longjess/hornsharkHMM documentation built on June 15, 2022, 11:32 p.m.