Re: [R] R-squared and GLM

2013-07-18 Thread Chris89
Haha, true true! ;) It was to be used as a measure on how good the models I use are, but I found out that the AIC would be much easier to implement, and as I understand, a better measure of how good the model fit. Thanks, Chris -- View this message in context: http://r.789695.n4.nabble.com/R-

Re: [R] R-squared and GLM

2013-07-17 Thread Rolf Turner
On 18/07/13 02:36, Chris89 wrote: 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((es