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.

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
CHAPTER 25: One-Way Analysis of Variance: Comparing Several Means ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner.
ANOVA: Analysis of Variation
© 2010 Pearson Prentice Hall. All rights reserved Single Factor ANOVA.
Copyright ©2011 Brooks/Cole, Cengage Learning Analysis of Variance Chapter 16 1.
Statistics 303 Chapter 12 ANalysis Of VAriance. ANOVA: Comparing Several Means The statistical methodology for comparing several means is called analysis.
Statistics Are Fun! Analysis of Variance
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Are the Means of Several Groups Equal? Ho:Ha: Consider the following.
Lecture 12 One-way Analysis of Variance (Chapter 15.2)
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Anthony J Greene1 ANOVA: Analysis of Variance 1-way ANOVA.
Chapter 9 Hypothesis Testing.
Chapter 9: Introduction to the t statistic
ANOVA 3/19/12 Mini Review of simulation versus formulas and theoretical distributions Analysis of Variance (ANOVA) to compare means: testing for a difference.
Chapter 12: Analysis of Variance
F-Test ( ANOVA ) & Two-Way ANOVA
Chapter 13: Inference in Regression
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 14 Analysis.
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.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Review of Statistics Group Results. Which type of statistics? When comparing two group scores-Use the t-test. When comparing more than two scores: Use.
Comparing Two Population Means
One-Way Analysis of Variance Comparing means of more than 2 independent samples 1.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
 The idea of ANOVA  Comparing several means  The problem of multiple comparisons  The ANOVA F test 1.
Statistics: Unlocking the Power of Data Lock 5 STAT 101 Dr. Kari Lock Morgan 11/1/12 ANOVA SECTION 8.1 Testing for a difference in means across multiple.
ANOVA One Way Analysis of Variance. ANOVA Purpose: To assess whether there are differences between means of multiple groups. ANOVA provides evidence.
1 1 Slide Simple Linear Regression Coefficient of Determination Chapter 14 BA 303 – Spring 2011.
One-Factor Analysis of Variance A method to compare two or more (normal) population means.
One-way ANOVA: - Inference for one-way ANOVA IPS chapter 12.1 © 2006 W.H. Freeman and Company.
ANOVA (Analysis of Variance) by Aziza Munir
Basic concept Measures of central tendency Measures of central tendency Measures of dispersion & variability.
AP Statistics: ANOVA Section 2
Testing Hypotheses about Differences among Several Means.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 12 Analysis of Variance 12.2 One-Way ANOVA.
Comparing Three or More Means ANOVA (One-Way Analysis of Variance)
Section 8-5 Testing a Claim about a Mean: σ Not Known.
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.
Chapter 12: Analysis of Variance. Chapter Goals Test a hypothesis about several means. Consider the analysis of variance technique (ANOVA). Restrict the.
Understanding Your Data Set Statistics are used to describe data sets Gives us a metric in place of a graph What are some types of statistics used to describe.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.1 One-Way ANOVA: Comparing.
1 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
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
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Section 6.4 Inferences for Variances. Chi-square probability densities.
The p-value approach to Hypothesis Testing
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Analysis of Variance. The F Distribution Uses of the F Distribution – test whether two samples are from populations having equal variances – to compare.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
DSCI 346 Yamasaki Lecture 4 ANalysis Of Variance.
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.
ANOVA: Analysis of Variation
ANOVA: Analysis of Variation
ANOVA: Analysis of Variation
ANOVA: Analysis of Variation
AP Statistics FINAL EXAM ANALYSIS OF VARIANCE.
Basic Practice of Statistics - 5th Edition
Econ 3790: Business and Economic Statistics
Comparing Three or More Means
One-Way Analysis of Variance
ANOVA: Analysis of Variance
Quantitative Methods ANOVA.
Presentation transcript:

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 to test for a difference in means among several groups.

EXAMPLE: As a young student in Australia, Dominic Kelly enjoyed watching ants gather on pieces of sandwich. Later, as a university student he decided to conduct a formal experiment. He chose three types of sandwich filling: vegemite, peanut butter and ham & pickles. To conduct the experiment he randomly chose a sandwich, broke off a piece and left it on the ground near an anthill. After several minutes, he placed a jar over the sandwich bit and counted the number of ants. He repeated this process until he had 8 samples for each of the eight sandwich fillings.

We wish to determine if the differences in the means are statistically significant. Hypotheses:

The means and the standard deviations for the data above are given at the right. We can see that the sample means are different and that the mean of ham & pickles is quite a bit larger than the others. BUT, is the difference statistically significant.

An assessment of the difference in means between several groups depends upon two kinds of variability: how different the means are from each other AND the amount of variability within each sample.

The basic idea of ANOVA is to split the total variability into these two parts TOTAL variability of all data values(SST) = Variability BETWEEN groups (SSG) + Variability WITHIN groups (SSE) SST: sum of squares total SSG: sum of squares group SSE: sum of squares error

The variability between the groups (SSG) is a good measure of how much the group means vary, but we need to balance that against the background variation within the groups (SSE).

We cannot compare these two pieces of variation directly, however. In our particular example, SSG is computed using only the 3 group means while SSE is computed using all 24 data values (remember, if we assume the H 0 is true, these 24 values are from a population with the same mean).

To put them on comparable scales, we involve degrees of freedom. Degrees of freedom for groups = k – 1 Degrees of freedom for error = n – k Note: df for groups + df for error = Total df

We can now compute the mean square for groups (MSG) and the mean square for error (MSE)

An ANOVA test compares variability within groups to variability between groups. If the ratio of variability between groups to variability within groups is higher than we would expect just by random chance, we have evidence of a difference in means. This ratio is called the F-statistic.

The table at the right is called an analysis of variance table. The information for the sums of squares for the example above is given. Fill in the missing parts of the table.

Note that our test statistic is F =, thus we will need to use the F-distribution to find our p-value. Like the -distribution, the F-distribution is right skewed. When referencing the F distribution, the numerator degrees of freedom are always given first, and the denominator degrees of freedom are given second

We can use the F-distribution to find the p-value when the following conditions are true. 1. The data from each population should follow a Normal distribution. (Watch for clear skewness or outliers if the sample size is small) 2. The variability should be roughly the same within each group. (General Rule: Largest sd not more than twice the smallest sd)

Conditions:

Calculations: TI-83/84: 2 nd VARS (DISTR) 9:Fcdf(lower limit, upper limit, df-numerator, df-denominator)

Conclusion:

Example: Two sets of sample data, A and B, are given. Without doing any calculations, indicate in which set of sample data there is likely to be stronger evidence of a difference in the two population means. Dataset ADataset B Group 1Group 2Group 1Group

Dataset ADataset B Group 1Group 2Group 1Group An ANOVA test compares variability within groups to variability between groups. If the ratio of variability between groups to variability within groups is higher than we would expect just by random chance, we have evidence of a difference in means.

Dataset ADataset B Group 1Group 2Group 1Group