Learn R Programming

ziphsmm (version 2.0.6)

dzip: pmf for zero-inflated poisson

Description

pmf for zero-inflated poisson

Usage

dzip(p, theta, y, loga)

Arguments

p

proportion of structural zero's

theta

the poisson mean

y

the observed value

loga

Logical. Whether to return the log probability or not.

Value

the probability mass of the zero-inflated poisson distribution