[R] Exposures in bernoulli glm()
marcoigarapava at gmail.com
Sat Feb 22 15:29:56 CET 2014
Hi, is it possible to add exposures to a glm with family=binomial()?
It's easy to do it for a Poisson/negative binomial: just multiply the
mean by the exposure, that is, offset(log(exposure)): but this obviously
wrong for a binomial/Bernoulli since the mean must be no bigger than 1.
My goal was do it it with pscl::zeroinfl and pscl::hurdle, but answering
for binomial/Bernoulli would already help.
More information about the R-help