ANOVA: Analysis of Variance

Slides:



Advertisements
Similar presentations
BPS - 5th Ed. Chapter 241 One-Way Analysis of Variance: Comparing Several Means.
Advertisements

CHAPTER 25: One-Way Analysis of Variance Comparing Several Means
ANOVA (Analysis of Variance)
Design of Experiments and Analysis of Variance
ANOVA: Analysis of Variation
Nonparametric tests and ANOVAs: What you need to know.
© 2010 Pearson Prentice Hall. All rights reserved Single Factor ANOVA.
One-Way Between Subjects ANOVA. Overview Purpose How is the Variance Analyzed? Assumptions Effect Size.
1 1 Slide © 2009, Econ-2030 Applied Statistics-Dr Tadesse Chapter 10: Comparisons Involving Means n Introduction to Analysis of Variance n Analysis of.
Experimental Design & Analysis
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.
Chapter 12: Analysis of Variance
T Test for One Sample. Why use a t test? The sampling distribution of t represents the distribution that would be obtained if a value of t were calculated.
F-Test ( ANOVA ) & Two-Way ANOVA
PS 225 Lecture 15 Analysis of Variance ANOVA Tables.
11. Analysis of Variance (ANOVA). Analysis of Variance Review of T-Test ✔ The basic ANOVA situation How ANOVA works One factor ANOVA model ANCOVA and.
1 1 Slide © 2006 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
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.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 13 Experimental Design and Analysis of Variance nIntroduction to Experimental Design.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
 The idea of ANOVA  Comparing several means  The problem of multiple comparisons  The ANOVA F test 1.
ANOVA One Way Analysis of Variance. ANOVA Purpose: To assess whether there are differences between means of multiple groups. ANOVA provides evidence.
One-Factor Analysis of Variance A method to compare two or more (normal) population means.
ANOVA (Analysis of Variance) by Aziza Munir
1 Chapter 13 Analysis of Variance. 2 Chapter Outline  An introduction to experimental design and analysis of variance  Analysis of Variance and the.
Comparing Three or More Means ANOVA (One-Way Analysis of Variance)
ANOVA: Analysis of Variance. The basic ANOVA situation Two variables: 1 Nominal, 1 Quantitative Main Question: Do the (means of) the quantitative variables.
Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics ANalysis Of VAriance: ANOVA.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
Previous Lecture: Phylogenetics. Analysis of Variance This Lecture Judy Zhong Ph.D.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
AP Statistics: ANOVA Section 1. In section 13.1 A, we used a t-test to compare the means between two groups. An ANOVA (ANalysis Of VAriance) test is used.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
The basic ANOVA situation Two variables: 1 Categorical, other variable interval or ratio Main Question: Do the (means of) the quantitative variables depend.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
The 2 nd to last topic this year!!.  ANOVA Testing is similar to a “two sample t- test except” that it compares more than two samples to one another.
Lecture notes 13: ANOVA (a.k.a. Analysis of Variance)
ANOVA: Analysis of Variation
Chapter 11 Analysis of Variance
Chapter 11 Created by Bethany Stubbe and Stephan Kogitz.
Comparing Multiple Groups:
ANOVA: Analysis of Variation
ANOVA: Analysis of Variation
Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc.
Chapter 10 Two-Sample Tests and One-Way ANOVA.
ANOVA: Analysis of Variation
Analysis of Variance -ANOVA
i) Two way ANOVA without replication
Applied Business Statistics, 7th ed. by Ken Black
Comparing Three or More Means
CHAPTER 3 Analysis of Variance (ANOVA)
Basic Practice of Statistics - 5th Edition
Statistics for Business and Economics (13e)
Comparing Multiple Groups: Analysis of Variance ANOVA (1-way)
Econ 3790: Business and Economic Statistics
One-Way Analysis of Variance: Comparing Several Means
Comparing Three or More Means
Chapter 11 Analysis of Variance
Comparing Three or More Means ANOVA (One-Way Analysis of Variance)
Chapter 13 Group Differences
The Analysis of Variance
Chapter 15 Analysis of Variance
Chapter 10 – Part II Analysis of Variance
ANalysis Of VAriance Lecture 1 Sections: 12.1 – 12.2
Week ANOVA Four.
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

ANOVA: Analysis of Variance

An ANOVA situation Subjects: 25 patients with blisters Treatments: Treatment A, Treatment B, Placebo (randomly assigned) Measurement: # of days until blisters heal Data [and means]: A: 5,6,6,7,7,8,9,10 [7.25] B: 7,7,8,9,9,10,10,11 [8.875] P: 7,9,9,10,10,10,11,12,13 [10.11] Are these differences in the means significant?

H0: The means of all the groups are equal. What does ANOVA do? At its simplest (there are extensions) ANOVA tests the following hypotheses: H0: The means of all the groups are equal. Ha: Not all the means are equal Doesn’t say how or which ones differ. Can follow up with “multiple comparisons”

Standard deviations of each group are approximately equal Conditions of ANOVA Random Normal/Large Sample Standard deviations of each group are approximately equal Rule of thumb: ratio of largest to smallest sample st. dev. must be less than 2:1 (largest sd/ smallest sd < 2)

Normality Check

Standard Deviation Check Variable treatment N Mean Median StDev days A 8 7.250 7.000 1.669 B 8 8.875 9.000 1.458 P 9 10.111 10.000 1.764 Compare largest and smallest standard deviations: largest: 1.764 smallest: 1.458 1.764/1.458 = 1.21 < 2

How ANOVA works (outline) ANOVA measures two sources of variation in the data and compares their relative sizes variation BETWEEN groups for each data value look at the difference between its group mean and the overall mean variation WITHIN groups for each data value we look at the difference between that value and the mean of its group

The ANOVA F-statistic is a ratio of the Between Group Variation divided by the Within Group Variation: A large F is evidence against H0, since it indicates that there is more difference between groups than within groups.

Degrees of Freedom The between group df (numerator) is one less than the number of groups We have three groups, so df(numerator) = 3 – 1 = 2 The within group df is the sum of the individual df’s of each group or Total number of observations – number of groups The sample sizes are 8, 8, and 9 df(denominator) = 7 + 7 + 8 = 22 or 25 – 3 = 22

Our Data Variable treatment N Mean Median StDev days A 8 7.250 7.000 1.669 B 8 8.875 9.000 1.458 P 9 10.111 10.000 1.764

Calculations 1. Calculate the overall mean for our data. 2. Calculate MSG Calculate MSE 4. Calculate the F-statistic. F = MSG MSE

Minitab ANOVA Output Analysis of Variance for days Source DF SS MS F P treatment 2 34.74 17.37 6.45 0.006 Error 22 59.26 2.69 Total 24 94.00

So How big is F? Mean Square Between / Mean Square Within = MSG / MSE Since F is Mean Square Between / Mean Square Within = MSG / MSE A large value of F indicates relatively more difference between groups than within groups (evidence against H0) To get the P-value, we will need to use the F-distribution. Be thankful for technology!!!

Our Original Situation Subjects: 25 patients with blisters Treatments: Treatment A, Treatment B, Placebo (randomly assigned) Measurement: # of days until blisters heal Data [and means]: A: 5,6,6,7,7,8,9,10 B: 7,7,8,9,9,10,10,11 P: 7,9,9,10,10,10,11,12,13 Put each treatment into a list. Run an ANOVA test on your calculator.