Learn R Programming

ziphsmm (version 2.0.6)

zipnegloglik_cov_cont3: negative log likelihood function for zero-inflated Poisson hidden Markov model with covariates in state-dependent parameters and transition rates

Description

negative log likelihood function for zero-inflated Poisson hidden Markov model with covariates in state-dependent parameters and transition rates

Usage

zipnegloglik_cov_cont3(parm, y, covariates, M, ntimes, timeindex)

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

Value

negative log likelihood