Re: [R] How to read the summary

2009-04-29 Thread Prof Brian Ripley
On Tue, 28 Apr 2009, K. Elo wrote: 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

Re: [R] How to read the summary

2009-04-28 Thread K. Elo
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

[R] How to read the summary

2009-04-28 Thread mathallan
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. > fit1 <- glm(Y~X, family=gaussian(link="identity")) > fit2 <- glm(Y~X, family=gaussian(link="log")) > fit3 <- glm(Y~X, fa