Hi all,
I have the same question for a GAMM with quasi-poisson errors. Does anyone
know how to calculate the % deviance explained by a GAMM model or any other
method evaluating the % contribution of the model in explaining the response
variable (eg. number of birds in an area)?
Thanks
Nicole
Dear R-users,
To obtain the percentage of deviance explained when fitting a gam model using
the mgcv library is straightforward:
summary(object.gam) $dev.expl
or alternatively, using the deviance (deviance(object.gam)) of the null and the
fitted models, and then using 1 minus th
2 matches
Mail list logo