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)
a numeric vector of length nStrata
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)
Related topics: Exposure.dts, setup_exposure_nb & F_foi.nb