A simple example of the thing I'm confused over:
When introducing the exposure term the coefficients change (which I expect), and they no longer match in the two types of regression. I thought that exposure was handled the same way in both settings so I'm a bit confused over it.
So, why are rate ratios different in negative binomial and poisson regressions with one categorical covariate when using the exposure option, when they match in the case where you don't use exposure?
Code:
clear all sysuse auto generate exposure = runiform() nbreg rep78 i.foreign poisson rep78 i.foreign //Match nbreg rep78 i.foreign, exposure(exposure) poisson rep78 i.foreign, exposure(exposure) //No Match
So, why are rate ratios different in negative binomial and poisson regressions with one categorical covariate when using the exposure option, when they match in the case where you don't use exposure?
Comment