RE: [R] AIC, glm, lognormal distribution

2004-12-12 Thread Bill.Venables
December 2004 12:40 PM To: [EMAIL PROTECTED] Subject: [R] AIC, glm, lognormal distribution I'm attempting to do model selection with AIC, using a glm and a lognormal distribution, but: fit1<-glm(BA~Year,data=pdat.sp1.65.04, family=gaussian(link="log")) ## gives the

[R] AIC, glm, lognormal distribution

2004-12-12 Thread Benjamin M. Osborne
I'm attempting to do model selection with AIC, using a glm and a lognormal distribution, but: fit1<-glm(BA~Year,data=pdat.sp1.65.04, family=gaussian(link="log")) ## gives the same result as either of the following: fit1<-glm(BA~Year,data=pdat.sp1.65.04, family=gaussian) fit1<-lm(BA~Year,data=pdat