grad_zipnegloglik_nocov_cont: gradient for negative log likelihood function from...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

gradient for negative log likelihood function from zero-inflated Poisson hidden Markov model without covariates, where zero-inflation only happens in state 1

Usage

1
grad_zipnegloglik_nocov_cont(parm, M, y, ntimes, timeindex, udiff)

Arguments

parm

working parameters

M

number of hidden states

y

observed series

ntimes

length of the observed series

timeindex

vector of observed time points

udiff

unique time intervals

Value

gradient for negative log likelihood


ziphsmm documentation built on May 2, 2019, 6:10 a.m.