[R] GLM, how to get an R2 to explain how much of data explained by one variable

Clare Embling clare.embling at plymouth.ac.uk
Fri Feb 25 10:32:54 CET 2011


Hi Celine,

GLM outputs usually give the null deviance and residual deviance in the summary() term - so you can work out % deviance explained for a variable/model from this.  Hope this helps.

Best wishes,
Clare

----------------------------
Dr Clare B Embling
Visiting Research Fellow
Marine Institute
University of Plymouth
Plymouth, UK.



More information about the R-help mailing list