Hi! mathallan wrote: > How can I from the summary function, decide which glm (fit1, fit2 or fit3) > fits to data best? I don't know what to look after, so I would please > explain the important output.
Start with the AIC value (Akaike Information Criterion). The model having the lowest AIC is the best (of the fitted models, of course). So, in Your case, the AICs are: >> fit1 <- glm(Y~X, family=gaussian(link="identity")) > AIC: 51.294 >> fit2 <- glm(Y~X, family=gaussian(link="log")) > AIC: 32.954 >> fit3 <- glm(Y~X, family=Gamma(link="log")) > AIC: 36.65 Hence, the best model seems to be 'fit2'. Kind regards, Kimmo ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.