Description Usage Arguments Value
gradient for negative log likelihood function in zero-inflated Poisson hidden Markov model with covariates, where zero-inflation only happens in state 1
1 | grad_zipnegloglik_cov_cont(parm, y, covariates, M, ntimes, timeindex, udiff)
|
parm |
working parameters |
y |
observed series |
covariates |
design matrix of covariates including the intercept |
M |
number of hidden states |
ntimes |
length of the observed series |
timeindex |
vector of observed time points |
udiff |
unique time intervals |
gradient for negative log likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.