ebook img

Statistical Consulting Topics MANOVA: Multivariate ANOVA PDF

16 Pages·2013·0.89 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Statistical Consulting Topics MANOVA: Multivariate ANOVA

Statistical Consulting Topics MANOVA: Multivariate ANOVA • Suppose, a client was interested in testing if there was a significant difference between the sexes for blood pressure (1-way ANOVA or t- test). And they were interested in testing if there was a significant difference between the sexes for cholesterol (1-way ANOVA or t-test). • In biological studies, it wouldn’t be unrea- sonable to think we have more than one re- sponse variable measured on each individual. • It’s possible to gain some power for detecting differences between the sexes by considering both responses simultaneously in a MANOVA. 1 • A MANOVA is similar to an ANOVA be- cause predictors are still factors, but we have more than one continuous-variable response or outcome on each experimental unit. For example, y = (y , y ). i i1 i2 This semester examples: Danielle Nauman (4 outcomes): 1) BCP, 2) IOAP, 3) BCP duration, 4) IOAP duration Ben Miller: (4 outcomes) 1) DCI, 2) OSBD, 3) Oucher, 4) PRCD • One option is to perform a separate 1-way ANOVA analysis for each outcome, but an- other option is to unify the model using a MANOVA. 2 • 1-way ANOVA null hypothesis (1 factor with 2 levels): H : µ = µ o 1 2 • 1-way MANOVA null hypothesis (1 factor with 2 levels, and 2 responses): (cid:18) (cid:19) (cid:18) (cid:19) µ µ 11 21 H : µ = µ or H : = o 1 2 o µ µ 12 22 • 1-way MANOVA null hypothesis (1 factor with 2 levels, and 3 responses):     µ µ 11 21 H : µ = µ or H : µ = µ o 1 2 o  12   22  µ µ 13 23 • In a MANOVA, we test for the equality of mean vectors, not just means. Rejecting the null says there is a difference in at least one of the responses between the factor groups. 3 Some comments from others... • What can we gain by approaching this as a MANOVA? – It can protect against Type I errors that might occur if multiple ANOVAs were con- ducted independently. In MANOVA, we get one overall test to ask if any of the treatment groups were significant for any of the outcomes. – By measuring several dependent variables in a single experiment, there is a better chance of discovering which factor is truly important. – By looking at things in a higher dimen- sion, it can reveal differences not discov- ered by ANOVA tests. • MANOVA works well in situations where there are moderate correlations between DVs (very high correlation can cause estimation prob- lems, and very low correlation says you used degrees of freedom for no real gain). 4 ∗ • EXAMPLE : N = 33 subjects are randomly assigned to one of three groups. Group 1 receives technical dietary informa- tion interactively from an on-line website. Group 2 receives the same information in from a nurse practitioner. Group 3 receives the information from a video tape made by the same nurse practitioner. The researcher looks at three different ratings of the presentation recorded by each individ- ual: difficulty (y ), useful (y ) and impor- 1 2 tance (y ), to determine if there is a differ- 3 ence in the transfer of information. *UCLA Academic Technology Services on-line example. 5 In particular, the researcher is interested in whether the interactive website is superior because that is the most cost-effective way of delivering the information. The balanced data: The SAS System Obs GROUP USEFUL DIFFICULTY IMPORTANCE 1 1 19.6000 5.1500 9.5000 2 1 15.4000 5.7500 9.1000 3 1 22.3000 4.3500 3.3000 4 1 24.3000 7.5500 5.0000 5 1 22.5000 8.5000 6.0000 6 1 20.5000 10.2500 5.0000 7 1 14.1000 5.9500 18.8000 8 1 13.0000 6.3000 16.5000 9 1 14.1000 5.4500 8.9000 10 1 16.7000 3.7500 6.0000 11 1 16.8000 5.1000 7.4000 12 2 17.1000 9.0000 7.5000 13 2 15.7000 5.3000 8.5000 . . . 26 3 19.2000 4.8500 8.3000 27 3 12.0000 8.7500 9.0000 28 3 13.0000 5.2000 10.3000 29 3 11.9000 4.7500 8.5000 30 3 12.0000 5.8500 9.5000 31 3 19.8000 2.8500 2.3000 32 3 16.5000 6.5500 3.3000 33 3 17.4000 6.6000 1.9000 6 Individual one-way ANOVA plots: USEFUL DIFFICULTY 4 0 2 1 Group 1 Group 2 UL 20 Group 3 LTY 8 U F SE FIC 6 U 6 F 1 DI 4 2 1 1.0 1.5 2.0 2.5 3.0 1.0 1.5 2.0 2.5 3.0 GROUP GROUP IMPORTANCE 5 E 1 C N A 0 T 1 R O P M 5 I 0 1.0 1.5 2.0 2.5 3.0 GROUP Taken individually, we can see some sugges- tion of differences between the groups for each response, but there is a lot of overlap in the range of values. 7 Bivariate plots: DIFFICULTY/USEFUL by GROUP IMPORTANCE/USEFUL by GROUP 0 2 0 1 Group 1 5 Group 2 Y 8 CE 1 Group 3 LT N U A FIC 6 ORT 10 DIF MP I 5 4 2 0 10 15 20 25 10 15 20 25 USEFUL USEFUL DIFFICULTY/IMPORTANCE by GROUP 0 1 Y 8 T L U C FI 6 F DI 4 2 0 5 10 15 20 IMPORTANCE Sometimes, when we look at a response vec- tor rather than an individual response, like y = (y , y , y ), differences between groups i i1 i2 i3 can become more apparent (see top right pic- ture above for IMPORTANCE/USEFUL). 8 Drawing ellipsoids: 1. Using dataEllipse() from ‘car’ package: > library(car) > attach(manovaData) ## structure shown earlier in SAS. > col.vec=c(1,3,4) > pch.vec=c(1,7,17) # IMPORTANCE VS. DIFFICULTY > plot(IMPORTANCE,DIFFICULTY,xlim=c(10,26),ylim=c(2,11), col=col.vec[GROUP],pch=pch.vec[GROUP], main="DIFFICULTY/IMPORTANCE by GROUP") > dataEllipse(IMPORTANCE[GROUP==1],DIFFICULTY[GROUP==1], levels=c(.2,.4,.6),add=TRUE,plot.points=FALSE, col=1,center.pch=4,fill=TRUE, fill.alpha=0.2) > dataEllipse(IMPORTANCE[GROUP==2],DIFFICULTY[GROUP==2], levels=c(.2,.4,.6),add=TRUE,plot.points=FALSE, col=3,center.pch=4,fill=TRUE, fill.alpha=0.2) > dataEllipse(IMPORTANCE[GROUP==3],DIFFICULTY[GROUP==3], levels=c(.2,.4,.6),add=TRUE,plot.points=FALSE, col=4,center.pch=4,fill=TRUE, fill.alpha=0.2) > points(mean(IMPORTANCE),mean(DIFFICULTY),cex=2,pch=16) > legend(10,12,c("Group 1","Group 2","Group 3"), pch=pch.vec,col=col.vec) DIFFICULTY/USEFUL by GROUP 0 1 Y 8 T L U C FI 6 F DI 4 2 10 15 20 25 USEFUL 9 2. Using stat ellipse() from ‘ggplot2’ package: > library(ggplot2) > attach(manovaData) ## structure shown earlier in SAS. > manovaData$GROUP <- as.factor(manovaData$GROUP) > ggplot(manovaData, aes(USEFUL, DIFFICULTY,fill=GROUP)) + geom_point() + xlim(5, 30) + ylim(-2,15) + stat_ellipse(level=0.95) + stat_ellipse(geom = "polygon",level=0.95,alpha=0.3) 15 10 Y GROUP T UL 1 C FI 2 F DI 3 5 0 10 20 30 USEFUL 10

Description:
Statistical Consulting Topics MANOVA: Multivariate ANOVA Predictors are still factors, but we have more than one continuous-variable response on each
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.