ddoublepois(y, m, s) pdoublepois(q, m, s)
y
| vector of counts |
q
| vector of quantiles |
m
| vector of means |
s
| vector of overdispersion parameters |
m
and s
. ddoublepois
gives the density and pdoublepois
gives the distribution function.
The double Poisson distribution with mu
= m has density
p(y) = c(m,s) s^(y/m) (m/y)^(y log(s)) y^(y-1) / y!
for y = 0, ..., where c(.) is a normalizing constant.dpois
for the Poisson, dmultpois
for
the multiplicative Poisson, and dnbinom
for the negative binomial distribution.ddoublepois(5,5,0.9) pdoublepois(5,5,0.9)