[R] Deviance explined in GAMM, library mgcv

nsc nsc at deakin.edu.au
Thu Jun 4 08:53:38 CEST 2009


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



However, when a gamm (generalizad aditive mixed model) is fitted,  the
deviance is not displayed, and only the logLik of the underlying lme model
can be derived (logLik(objetct.gamm$lme)), which is not enough to derive the
percentage deviance explained because the logLik for the saturated model is
not available. 

Any suggestions on how to obtain the deviance explained when a gamm is
fitted when the typical default gauusian model is fitted? Or alternavely,
are the R^2 derived from a gam model and a gamm model comparable?


-- 
View this message in context: http://www.nabble.com/Deviance-explined-in-GAMM%2C-library-mgcv-tp23745983p23864721.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list