ar_hmm_mllk: Get negative log-likelihood from the working parameters

View source: R/univariate_autoregressive_hmm_functions.R

ar_hmm_mllkR Documentation

Get negative log-likelihood from the working parameters

Description

Get negative log-likelihood from the working parameters

Usage

ar_hmm_mllk(parvect, x, m, q, stationary = TRUE, state = NULL)

Arguments

x

Vector of observations

m

Number of states

stationary

Boolean, whether the HMM is stationary or not

state

List of state values, if provided. 0 represents an unknown state value.

Value

Negative log-likelihood


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