Re: [R] Simple question about function with glm

From: Ben Bolker <>
Date: Mon, 07 May 2007 03:58:52 +0000 (UTC)

 <Bill.Venables <at>> writes:

> Finally, I'm a bit puzzled why you use glm() when the simpler lm() would
> have done the job. You are fitting a linear model and do not need the
> extra paraphernaila that generalized linear models require.
> Bill Venables.

  Perhaps the original poster is confused about the difference between general (a la PROC GLM) and generalized (glm) linear models?

  The code is also a little puzzling because the same tests seem to be run whether p>0.05 or not. Perhaps the code will eventually be written to log-transform the data if it fails the normality test?

 [ hint: ?boxcox in the MASS package might be a better way to go ]

  Ben Bolker mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 07 May 2007 - 04:05:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 07 May 2007 - 08:31:38 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.