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

# 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, \(\alpha\), 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: $$\alpha = 1-(1 + b E/\phi)^{-\phi} $$ This negative binomial model uses the mu \(= bE\) and size \(=\phi\) parameterization (see pnbinom). The formula is equivalent to:

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

See also