Learn R Programming

scanstatistics (version 0.1.0)

estimate_d_dagger: Estimate the ZIP excess zero indicators under null hypothesis of no outbreak.

Description

Estimate the excess zero indicator for a zero-inflated Poisson distribution, under the null hypothesis of no outbreak. The estimate is added as a new column to the input table.

Usage

estimate_d_dagger(table)

Arguments

table

A data.table with columns p, mu, count. p is the given/estimated probability of an excess zero, and mu is the estimated Poisson expected value parameter. count is the observed count.

Value

The same table, modified with a new column ddagger.