negative log likelihood function for zero-inflated Poisson hidden Markov model with covariates in state-dependent parameters and transition rates
zipnegloglik_cov_cont3(parm, y, covariates, M, ntimes, timeindex)
working parameters
observed series
design matrix of covariates including the intercept
number of hidden states
length of the observed series
vector of observed time points
negative log likelihood