estimate_d: Estimate the indicators of excess zeros for a ZIP...

Description Usage Arguments Value

Description

Given counts and (estimated) Poisson expected value parameters and excess zero probabilities, this function estimates the indicator variable for an excess zero, for each count.

Usage

1
estimate_d(p, mu, y)

Arguments

p

A numeric vector, each element being the given/estimated probability of an excess zero for the corresponding count in y.

mu

A numeric vector, each element being the given/estimated Poisson expected value parameter for the corresponding count in y. Of same length as p.

y

An integer vector containing the observed counts. Of same length as p.

Value

A numeric vector, of same length as the input vector p.



Search within the scanstatistics package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.