Re: [R] aov - glm - lmer

From: Martin Henry H. Stevens <stevenmh_at_muohio.edu>
Date: Fri 05 Jan 2007 - 15:34:07 GMT

In R,
-- lm fits ordinary least squares linear models; this is likely to be what you want if you were using PROC GLM. -- glm fits generalized linear models (e.g. logit, Poisson, Gaussian, etc.).
-- lmer and lme fit mixed models, similar to PROC MIXED Cheers,
Hank
On Jan 5, 2007, at 10:05 AM, cressonim wrote:

> I am sorry to ask a trivial question but I am not a statistician.
> When I need to compare more than two groups in a unbalanced design
> with
> SAS system I use PROC GLM (like the example in data5.csv from Cody R.
> "Applied statistics and SAS programming language" p.223). R glm gives
> different results.
>
> Thanks
>
> Massimo Cressoni
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.

Dr. Martin Henry H. Stevens, Assistant Professor 338 Pearson Hall
Botany Department
Miami University
Oxford, OH 45056

Office: (513) 529-4206
Lab: (513) 529-4262
FAX: (513) 529-4243

http://www.cas.muohio.edu/~stevenmh/
http://www.muohio.edu/ecology/
http://www.muohio.edu/botany/

"E Pluribus Unum"

If you send an attachment, please try to send it in a format anyone can read, such as PDF, text, Open Document Format, HTML, or RTF. Please try not to send me MS Word or PowerPoint attachments- ? See: http://www.gnu.org/philosophy/no-word-attachments.html



R-help@stat.math.ethz.ch 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. Received on Sat Jan 06 11:13:36 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 06 Jan 2007 - 00:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.