s-news
[Top] [All Lists]

sum of squares

To: s-news@lists.biostat.wustl.edu
Subject: sum of squares
From: array chip <arrayprofile@yahoo.com>
Date: Fri, 25 Feb 2005 14:27:15 -0800 (PST)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=La4wP3b+UMAlZOwrTD2Xa9E97vFY9mnBOIZO0Miq2Cvj0878xqg9zzqzuCvwSSKQ1mUfqeuITDMVgtKM0ItTVMaSSbh188fXs7Y4mbaVB6IMQkTlCdBpFrCCVhs3BecHgJKEQMFNOVmjlkRdVIXlKopt9bBm1RUBGPJquwTcz48= ;
Hi, 

for balanced 2-way ANOVA, type I SS should be equal to
Type III SS, this can be seen in the help page for
summary.aov() as well. However, with the following
simple example, I get different type I and III SS. can
anyone advise?

y<-rnorm(16,10,3)
a<-c(rep(0,8),rep(1,8))
b<-c(rep(0,4),rep(1,4),rep(0,4),rep(1,4))
summary(aov(y~b*a),ssType=1)
summary(aov(y~b*a),ssType=3)

Thanks




                
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

<Prev in Thread] Current Thread [Next in Thread>