Computes the negative log-likelihood of a hierarchical hidden Markov model.
nLL_hhmm(thetaUncon, observations, controls)
Vector of model parameters in format thetaUncon
.
A matrix of observations, coarse-scale observations in the first column and fine-scale observations in the corresponding row.
A list of controls.
Numeric, negative log-likelihood value.