Multiple Comparisons.

Slides:



Advertisements
Similar presentations
Analysis of Variance (ANOVA)
Advertisements

Ch 14 實習(2).
Lesson #24 Multiple Comparisons. When doing ANOVA, suppose we reject H 0 :  1 =  2 =  3 = … =  k Next, we want to know which means differ. This does.
1-Way Analysis of Variance
Analysis of Variance (ANOVA) ANOVA methods are widely used for comparing 2 or more population means from populations that are approximately normal in distribution.
Chapter 14: One-Way Analysis of Variance (ANOVA)
Analysis of Variance Compares means to determine if the population distributions are not similar Uses means and confidence intervals much like a t-test.
Chapter 10 Analysis of Variance (ANOVA) Part III: Additional Hypothesis Tests Renee R. Ha, Ph.D. James C. Ha, Ph.D Integrative Statistics for the Social.
© 2010 Pearson Prentice Hall. All rights reserved The Complete Randomized Block Design.
Chapter 9: The Analysis of Variance (ANOVA)
POST HOC COMPARISONS A significant F in ANOVA tells you only that there is a difference among the groups, not which groups are different. Post hoc tests.
ANOVA notes NR 245 Austin Troy
Lecture 10 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Part I – MULTIVARIATE ANALYSIS
Comparing Means.
Lesson #23 Analysis of Variance. In Analysis of Variance (ANOVA), we have: H 0 :  1 =  2 =  3 = … =  k H 1 : at least one  i does not equal the others.
Chapter 14 Conducting & Reading Research Baumgartner et al Chapter 14 Inferential Data Analysis.
Analysis of Variance Chapter 15 - continued Two-Factor Analysis of Variance - Example 15.3 –Suppose in Example 15.1, two factors are to be examined:
Mean Comparison With More Than Two Groups
Two Groups Too Many? Try Analysis of Variance (ANOVA)
1 Experimental design and statistical analyses of data Lesson 5: Mixed models Nested anovas Split-plot designs.
One-way Between Groups Analysis of Variance
Lecture 12 One-way Analysis of Variance (Chapter 15.2)
Chapter 12: One-Way ANalysis Of Variance (ANOVA) 1.
Comparing Several Means: One-way ANOVA Lesson 14.
Introduction to Analysis of Variance (ANOVA)
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Chapter 12: Analysis of Variance
Introduction to SAS Essentials Mastering SAS for Data Analytics
1 1 Slide © 2005 Thomson/South-Western Chapter 13, Part A Analysis of Variance and Experimental Design n Introduction to Analysis of Variance n Analysis.
Statistics for the Behavioral Sciences Second Edition Chapter 12: Between-Groups ANOVA iClicker Questions Copyright © 2012 by Worth Publishers Susan A.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
t(ea) for Two: Test between the Means of Different Groups When you want to know if there is a ‘difference’ between the two groups in the mean Use “t-test”.
© Copyright McGraw-Hill CHAPTER 12 Analysis of Variance (ANOVA)
5-5 Inference on the Ratio of Variances of Two Normal Populations The F Distribution We wish to test the hypotheses: The development of a test procedure.
1 Analysis of Variance Chapter 14 2 Introduction Analysis of variance helps compare two or more populations of quantitative data. Specifically, we are.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
1 Experimental Statistics - week 14 Multiple Regression – miscellaneous topics.
Chapter 8 1-Way Analysis of Variance - Completely Randomized Design.
ANOVA: Graphical. Cereal Example: nknw677.sas Y = number of cases of cereal sold (CASES) X = design of the cereal package (PKGDES) r = 4 (there were 4.
Chapter 11: The ANalysis Of Variance (ANOVA) 1.
Chapter 11: The ANalysis Of Variance (ANOVA) 1.
Chapter 12 Introduction to Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Eighth Edition by Frederick.
1 Experimental Statistics - week 9 Chapter 17: Models with Random Effects Chapter 18: Repeated Measures.
Random samples of size n 1, n 2, …,n k are drawn from k populations with means  1,  2,…,  k and with common variance  2. Let x ij be the j-th measurement.
Psy 230 Jeopardy Related Samples t-test ANOVA shorthand ANOVA concepts Post hoc testsSurprise $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
1 Experimental Statistics Spring week 6 Chapter 15: Factorial Models (15.5)
7-2 Factorial Experiments A significant interaction mask the significance of main effects. Consequently, when interaction is present, the main effects.
McGraw-Hill, Bluman, 7th ed., Chapter 12
One-Way Analysis of Variance Recapitulation Recapitulation 1. Comparing differences among three or more subsamples requires a different statistical test.
Chapter 11: The ANalysis Of Variance (ANOVA)
Introduction to ANOVA Research Designs for ANOVAs Type I Error and Multiple Hypothesis Tests The Logic of ANOVA ANOVA vocabulary, notation, and formulas.
1 An example of a more complex design (a four level nested anova) 0 %, 20% and 40% of a tree’s roots were cut with the purpose to study the influence.
Experimental Statistics - week 9
Topic 22: Inference. Outline Review One-way ANOVA Inference for means Differences in cell means Contrasts.
Chapters Way Analysis of Variance - Completely Randomized Design.
1 Experimental Statistics - week 8 Chapter 17: Mixed Models Chapter 18: Repeated Measures.
Stats/Methods II JEOPARDY. Jeopardy Estimation ANOVA shorthand ANOVA concepts Post hoc testsSurprise $100 $200$200 $300 $500 $400 $300 $400 $300 $400.
Chapter 12 Introduction to Analysis of Variance
1 Experimental Statistics - week 5 Chapter 9: Multiple Comparisons Chapter 15: Randomized Complete Block Design (15.3)
Multiple comparisons
i) Two way ANOVA without replication
Comparing Three or More Means
Analysis of Treatment Means
After ANOVA If your F < F critical: Null not rejected, stop right now!! If your F > F critical: Null rejected, now figure out which of the multiple means.
Chapter 11: The ANalysis Of Variance (ANOVA)
Experimental Statistics - Week 4 (Lab)
Analysis of Treatment Means
ANOVA Analysis of Variance.
1-Way Analysis of Variance - Completely Randomized Design
Presentation transcript:

Multiple Comparisons

Overall Risk of Type I Error in Using Repeated t Tests at  = 0.05

ANOVA: Graphical

Example: ANOVA terms Treatment 1 Treatment 2 Treatment 3 1 y11 = 48 Overall n1 = 4 n2 = 3 n3 = 4 11 ȳ1 = 43 ȳ2 = 44 ȳ3 = 34 40 s1 = 3.74 s2 = 4 s3 = 3.92

ANOVA Table Source df SS MS Between 2 228 114 Within 8 120 15 Total 10 348

ANOVA Table: Formulas Source df SS (Sum of Squares) MS (Mean Square) Between I – 1 SS/df Within n• – I Total n• – 1

F distribution http://www.vosesoftware.com/ModelRiskHelp/index.htm#Distributions/Continuous_distributions/F_distribution.htm

F Table

Scientific Conclusion for F test This study (does not) provide(s) evidence [(P = )] at the  significance level that there is a difference in ____ among the ____ groups.

Example: ANOVA A random sample of 15 healthy young men are split randomly into 3 groups of 5. They receive 0, 20, and 40 mg of the drug Paxil for one week. Then their serotonin levels are measured to determine whether Paxil affects serotonin levels.

Example: ANOVA (cont). Dose 0 mg 20 mg 40 mg 48.62 58.60 68.59 49.85 72.52 78.28 64.22 66.72 82.77 62.81 80.12 76.53 62.51 68.44 72.33 overall ni 5 15 ȳi 57.60 69.28 75.70 67.53 si 7.678 7.895 5.460 (ni-1)si2 235.78 249.32 119.24 604.34 ni(ȳi - y̅̅)2 492.56 15.36 333.96 841.88

Example: ANOVA (cont) Source df SS MS Between 2 841.88 420.94 Within 12 604.34 50.36 Total 14 1446.23

Example: ANOVA (cont) Does Paxil affect serotonin levels in healthy young men? Let 1 be the mean serotonin level for men receiving 0 mg of Paxil. Let 2 be the mean serotonin level for men receiving 20 mg of Paxil. Let 3 be the mean serotonin level for men receiving 40 mg of Paxil.

Example: ANOVA (cont) H0: 1 = 2 = 3; mean serotonin levels are the same at all 3 dosage levels [or, mean serotonin levels are unaffected by Paxil dose] HA: The mean serotonin levels of the three groups are not all equal. [or, serotonin levels are affected by Paxil does]

Example: ANOVA (cont) Source df SS MS Between 2 841.88 420.94 Within 12 604.34 50.36 Total 14 1446.23

Example: ANOVA (cont) Source df SS MS F-Ratio P-Value Between 2 841.88 420.94 8.36 0.0053 Within 12 604.34 50.36 Total 14 1446.23 This study provides evidence (P = 0.0053) at the 0.05 significance level that there is a difference in serotonin levels among the groups of men taking 0, 20, and 40 mg of Paxil. This study provides evidence (P = 0.0053) at the 0.05 significance level that Paxil intake affects serotonin levels in young men.

Verification of Conditions

Example 11.6.1: Randomized Block Procedure Researchers are interested in the effect that acid has on growth rate of alfalfa plants. To control sunlight, the randomized block procedure is used.

Example 11.6.9: F test

Example 11.7.3: Two-Way ANOVA

Example 11.7.4: Two-Way ANOVA

Bonferroni t Table

Example: ANOVA A random sample of 15 healthy young men are split randomly into 3 groups of 5. They receive 0, 20, and 40 mg of the drug Paxil for one week. Then their serotonin levels are measured to determine whether Paxil affects serotonin levels.

Example: Bonferroni Adjustment Dose 0 mg 20 mg 40 mg overall ni 5 15 y̅i 57.60 69.28 75.70 67.53 SSi 235.78 249.32 119.24 604.34 Source df SS MS F-Ratio P-Value Between 2 841.88 420.94 8.36 0.0053 Within 12 604.34 50.36 Total 14 1446.23

Example: Paxil, Graphical Representation 0 mg 20 mg 40 mg

Exercise 11.4.1 (MultComp.sas) data MAO; infile ‘H:\Ex.11.4.1.dat'; input MAO diagnosis $; *I: Chronic, II: UndParanoid, III: ParanoidShiz; run; proc print data=MAO; run; Title 'Example of mulitple comparisons'; proc glm data=MAO alpha=0.05; class diagnosis; model MAO = diagnosis; means diagnosis / bon cldiff lines;  Bonferroni means diagnosis / tukey cldiff lines;  Tukey quit; X

Exercise 11.4.1 (Bonferroni cldiff) Bonferroni (Dunn) t Tests for MAO NOTE: This test controls the Type I experimentwise error rate, but it generally has a higher Type II error rate than Tukey's for all pairwise comparisons. Alpha 0.05 Error Degrees of Freedom 39 Error Mean Square 10.72442 Critical Value of t 2.50166 Comparisons significant at the 0.05 level are indicated by ***. Difference Simultaneous diagnosis Between 95% Confidence Comparison Means Limits Chronic - UndParan 3.524 0.709 6.339 *** Chronic - ParnoidS 3.843 0.362 7.324 *** UndParan - Chronic -3.524 -6.339 -0.709 *** UndParan - ParnoidS 0.319 -3.229 3.866 ParnoidS - Chronic -3.843 -7.324 -0.362 *** ParnoidS - UndParan -0.319 -3.866 3.229 X

Exercise 11.4.1 (Bonferroni lines) The GLM Procedure Bonferroni (Dunn) t Tests for MAO NOTE: This test controls the Type I experimentwise error rate, but it generally has a higher Type II error rate than REGWQ. Alpha 0.05 Error Degrees of Freedom 39 Error Mean Square 10.72442 Critical Value of t 2.50166 Minimum Significant Difference 3.2978 Harmonic Mean of Cell Sizes 12.34286 NOTE: Cell sizes are not equal. Means with the same letter are not significantly different. Bon Grouping Mean N diagnosis A 9.806 18 Chronic B 6.281 16 UndParan B B 5.963 8 ParnoidS X

Exercise 11.4.1 (Tukey cldiff) The GLM Procedure Tukey's Studentized Range (HSD) Test for MAO NOTE: This test controls the Type I experimentwise error rate. Alpha 0.05 Error Degrees of Freedom 39 Error Mean Square 10.72442 Critical Value of Studentized Range 3.44546 Comparisons significant at the 0.05 level are indicated by ***. Difference Simultaneous diagnosis Between 95% Confidence Comparison Means Limits Chronic - UndParan 3.524 0.783 6.266 *** Chronic - ParnoidS 3.843 0.453 7.233 *** UndParan - Chronic -3.524 -6.266 -0.783 *** UndParan - ParnoidS 0.319 -3.136 3.774 ParnoidS - Chronic -3.843 -7.233 -0.453 *** ParnoidS - UndParan -0.319 -3.774 3.136 X

Exercise 11.4.1 (Tukey lines) The GLM Procedure Tukey's Studentized Range (HSD) Test for MAO NOTE: This test controls the Type I experimentwise error rate, but it generally has a higher Type II error rate than REGWQ. Alpha 0.05 Error Degrees of Freedom 39 Error Mean Square 10.72442 Critical Value of Studentized Range 3.44546 Minimum Significant Difference 3.2116 Harmonic Mean of Cell Sizes 12.34286 NOTE: Cell sizes are not equal. Means with the same letter are not significantly different. Tukey Grouping Mean N diagnosis A 9.806 18 Chronic B 6.281 16 UndParan B B 5.963 8 ParnoidS X