[R] SAS Type 1 / Type 3 Analysis Equivalent.
John Fox
jfox at mcmaster.ca
Thu Jan 28 05:49:35 CET 2010
Dear Kim,
The standard R function anova() produces sequential ("type I") tests; the
Anova() function in the car package can produce "type-III" tests (it
performs "type-II" tests by default), but you must be careful with contrast
coding if there are terms in the model related by marginality.
I hope this helps,
John
--------------------------------
John Fox
Senator William McMaster
Professor of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
web: socserv.mcmaster.ca/jfox
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On
> Behalf Of Kim Jung Hwa
> Sent: January-27-10 10:44 PM
> To: r-help at r-project.org
> Subject: [R] SAS Type 1 / Type 3 Analysis Equivalent.
>
> Hi All,
>
> I'm using glm() in R to perform Poisson regression, I'm wondering if its
> possible to get equivalent Type 1 / Type 3 Analysis (similar to one in
PROC
> GENMOD).
>
> Thanks,
> Kim
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org 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.
More information about the R-help
mailing list