Learn R Programming

fHMM (version 1.4.3)

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

[parUncon]
An object of class parUncon.

observations

[numeric()]
The vector of the simulated or empirical data used for estimation.

controls

[fHMM_controls]
An object of class fHMM_controls.