Skip to contents

A negative binomial model for the attack rate as a function of the daily EIR.

Usage

# S3 method for class 'nb'
F_ar(eir, b, pars)

Arguments

eir

the daily eir for each stratum

b

the probability of infection, per bite

pars

an xds object

Value

a numeric vector of length nStrata

Details

This function computes the daily AR, α, as a function of the daily EIR, E or eir, under a negative binomial model for the distribution of bites per person, and b, the probability of infection per infective bite: α=1(1+bE/ϕ)ϕ This negative binomial model uses the mu =bE and size =ϕ parameterization (see pnbinom). The formula is equivalent to:

pnbinom(0, mu=b*eir, size=phi, lower.tail=FALSE)

See also