Skip to content

Predicted values when using offset in ZIP GLM

2 messages · Lee, Laura, Achim Zeileis

#
On Thu, 12 Jul 2012, Lee, Laura wrote:

            
Note that this includes the offset both in the count component and in the 
zero inflation component. The latter is probably not desired. (As Alain 
already previously pointed out in one of hise e-mails.)

For specifying the offset only in the count component you can do either 
one of

Sturgeon ~ fMesh + fSeason + offset(LogEffort) | fMesh + fSeason

or

Sturgeon ~ fMesh + fSeason, offset = LogEffort

However, it may be useful to include LogEffort as a regular variable (not 
an offset) in the inflation component as well...
No. predict(..., type = "response") computes the expected mean of the 
response (as previously pointed out here and as clearly stated in the 
accompanying paper).
Z