Message-ID: <49F72B33.20506@nic.fi>
Date: 2009-04-28T16:13:39Z
From: K. Elo
Subject: How to read the summary
In-Reply-To: <23276848.post@talk.nabble.com>
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