zipnegloglik_cov_cont: negative log likelihood function for zero-inflated Poisson...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

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

Usage

1
zipnegloglik_cov_cont(parm, y, covariates, M, ntimes, timeindex, udiff)

Arguments

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

Value

negative log likelihood


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