[R] SAS Type 1 / Type 3 Analysis Equivalent.

Bill.Venables at csiro.au Bill.Venables at csiro.au
Thu Jan 28 04:57:22 CET 2010


Why do you think we speak SAS here?

anova(fm, test = "Chisq")

will get you a sequential analysis of variance table.

library(MASS)
dropterm(fm, test = "Chisq")

will show you the effect of removing the *non-marginal* terms one at a time.

What more does anyone need?

Bill Venables
CSIRO/CMIS Cleveland Laboratories


-----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: Thursday, 28 January 2010 1: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