Displaying 1 result from an estimated 1 matches for "depthhabgen".
2010 Nov 16
1
Offset in glm poisson using R vs Exposure in Stata
...de for 'exposure'.
Having looked at a few forums and 'googled'. I thought 'offset', used as offset=(log(Eff)) or the equivalent +offset(log(Eff)) would produce the desired effect.
Incidentally my code was: glm(Count~md+ms+rf+sg+offset(Eff),family=poisson,data=DepthHabGen)
(Making use of glm{stats})
However, offset does not seem to be equivalent to 'exposure' in Stata. As coefficients and log likelhood estimates differ.
So I asked the following questions:
1. Do both programs produce the same results without 'exposure' i.e. glm models
Yes, log...