[R] R-squared and GLM

Chris89 chrisege at stud.ntnu.no
Wed Jul 17 16:36:42 CEST 2013

Dear users,

I want to compute r-squared values from a glm regression using a gamma
distribution and an "identity" link-function, but find no such thing when
using the summary() or names() function. My next guess was to calculate it
by "hand", i.e.

r2 = (sum((estimate - xbar)^2) /sum((x-xbar)^2)) 

but I am unsure if this is even allowed...


View this message in context: http://r.789695.n4.nabble.com/R-squared-and-GLM-tp4671754.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list