Learn R Programming

fHMM (version 1.4.2)

nLL_hmm: Negative log-likelihood function of an HMM

Description

This function computes the negative log-likelihood of an HMM.

Usage

nLL_hmm(parUncon, observations, controls)

Value

The negative log-likelihood value.

Arguments

parUncon

An object of class parUncon.

observations

The vector of the simulated or empirical data used for estimation.

controls

An object of class fHMM_controls.