MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)

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.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Variance Chapter 16.
Analysis of Variance 2-Way ANOVA MARE 250 Dr. Jason Turner.
Nonparametric tests and ANOVAs: What you need to know.
The Two Factor ANOVA © 2010 Pearson Prentice Hall. All rights reserved.
© 2010 Pearson Prentice Hall. All rights reserved The Complete Randomized Block Design.
© 2010 Pearson Prentice Hall. All rights reserved Single Factor ANOVA.
Independent Sample T-test Formula
Part I – MULTIVARIATE ANALYSIS
MARE 250 Dr. Jason Turner Hypothesis Testing II To ASSUME is to make an… Four assumptions for t-test hypothesis testing: 1. Random Samples 2. Independent.
MARE 250 Dr. Jason Turner Hypothesis Testing II. To ASSUME is to make an… Four assumptions for t-test hypothesis testing:
Statistics Are Fun! Analysis of Variance
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA) II.
PSY 307 – Statistics for the Behavioral Sciences
Final Review Session.
Analysis of Variance (ANOVA) MARE 250 Dr. Jason Turner.
Lecture 9: One Way ANOVA Between Subjects
Two Groups Too Many? Try Analysis of Variance (ANOVA)
MARE 250 Dr. Jason Turner Hypothesis Testing. This is not a Test… Hypothesis testing – used for making decisions or judgments Hypothesis – a statement.
One-way Between Groups Analysis of Variance
Lecture 12 One-way Analysis of Variance (Chapter 15.2)
Hypothesis Testing MARE 250 Dr. Jason Turner.
Statistical Methods in Computer Science Hypothesis Testing II: Single-Factor Experiments Ido Dagan.
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
Analysis of Variance. ANOVA Probably the most popular analysis in psychology Why? Ease of implementation Allows for analysis of several groups at once.
Psy B07 Chapter 1Slide 1 ANALYSIS OF VARIANCE. Psy B07 Chapter 1Slide 2 t-test refresher  In chapter 7 we talked about analyses that could be conducted.
QNT 531 Advanced Problems in Statistics and Research Methods
Intermediate Applied Statistics STAT 460
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Comparing Three or More Means 13.
Comparing Two Population Means
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.
January 31 and February 3,  Some formulae are presented in this lecture to provide the general mathematical background to the topic or to demonstrate.
Design and Analysis of Experiments Dr. Tai-Yue Wang Department of Industrial and Information Management National Cheng Kung University Tainan, TAIWAN,
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”.
Means Tests MARE 250 Dr. Jason Turner. Type of stats test called a means test Tests for differences in samples based upon their average (mean) and standard.
© Copyright McGraw-Hill CHAPTER 12 Analysis of Variance (ANOVA)
Introduction to Biostatistics, Harvard Extension School, Fall, 2005 © Scott Evans, Ph.D.1 Analysis of Variance (ANOVA)
Analysis of variance Petter Mostad Comparing more than two groups Up to now we have studied situations with –One observation per object One.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
ANOVA (Analysis of Variance) by Aziza Munir
Testing Multiple Means and the Analysis of Variance (§8.1, 8.2, 8.6) Situations where comparing more than two means is important. The approach to testing.
Between-Groups ANOVA Chapter 12. >When to use an F distribution Working with more than two samples >ANOVA Used with two or more nominal independent variables.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Chapter 19 Analysis of Variance (ANOVA). ANOVA How to test a null hypothesis that the means of more than two populations are equal. H 0 :  1 =  2 =
Chapter 15 – Analysis of Variance Math 22 Introductory Statistics.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
Chapter 8 1-Way Analysis of Variance - Completely Randomized Design.
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 13: One-way ANOVA Marshall University Genomics Core.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
DTC Quantitative Methods Bivariate Analysis: t-tests and Analysis of Variance (ANOVA) Thursday 14 th February 2013.
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)
Chapter 11: The ANalysis Of Variance (ANOVA)
One-way ANOVA Example Analysis of Variance Hypotheses Model & Assumptions Analysis of Variance Multiple Comparisons Checking Assumptions.
Introduction to ANOVA Research Designs for ANOVAs Type I Error and Multiple Hypothesis Tests The Logic of ANOVA ANOVA vocabulary, notation, and formulas.
Analysis of Variance STAT E-150 Statistical Methods.
Chapters Way Analysis of Variance - Completely Randomized Design.
Formula for Linear Regression y = bx + a Y variable plotted on vertical axis. X variable plotted on horizontal axis. Slope or the change in y for every.
Chapter 8 Analysis of METOC Variability. Contents 8.1. One-factor Analysis of Variance (ANOVA) 8.2. Partitioning of METOC Variability 8.3. Mathematical.
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)
 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.
Comparing Three or More Means
Chapter 11: The ANalysis Of Variance (ANOVA)
1-Way Analysis of Variance - Completely Randomized Design
1-Way Analysis of Variance - Completely Randomized Design
Presentation transcript:

MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)

First name: Mister, Last name: T Hypothesis Testing for Two Means Test for comparing the means of two populations One of the most common (and simple?) tests in statistics What is the procedure if there are more than two populations? “I pity myself that I got to be with these fools!”– Mr. T

Mr. T – Part 2: Electric Boogaloo Why not run multiple T-test? 1. Number of t-tests increases with # of groups becomes cognitively difficult 2. ↑ Number of analyses = ↑ probability of committing Type I error Probability of committing at least one type I error = experiment-wise error rate μ1μ1 μ2μ2 μ3μ3

Analysis of Variance (ANOVA) Method for comparing multiple sample means Compares the means of a variable for populations that result from a classification by one other variable – Factor Levels of the Factor – the possible values of the factor At this point dealing with: One-Way AVOVA

Analysis of Variance (ANOVA) Want to compare egg production in four populations of Roi in Hawaii Variable of interest = egg production Four populations result from classifying Roi in Hawaii by the Factor “Beach locations” whos Levels are Ka Lae, Kapoho, Richardson’s, Keauhou Bay

Assumptions for One-Way ANOVA Four assumptions for t-test hypothesis testing: 1. Random Samples 2. Independent Samples 3. Normal Populations (or large samples) 4. Variances (std. dev.) are equal One-Way ANOVA

Other similarities T & ANOVA A one-way analysis of variance (ANOVA) tests the hypothesis that the means of several populations are equal. The method is an extension of the two-sample t-test, specifically for the case where the population variances are assumed to be equal. “I pity the fools that think T and AVONA are similar!”– Mr. T

Other similarities T & ANOVA A one-way analysis of variance requires the following: Response - measurement taken from the units sampled. Factor - discrete variable that is altered systematically. The different values chosen for the factor variable are called levels of the factor. Each level of the factor in the analysis corresponds to a larger population with its own mean. The sample mean is an estimate of the level mean for the whole population. “That sucka stole my van!”– Mr. T

A one-way ANOVA can be used to tell you if there are statistically significant differences among the level means. The null hypothesis for the test is that all population means (level means) are the same. The alternative hypothesis is that one or more population means differ from the others. Other similarities T & ANOVA

Analysis of Variance (ANOVA) Method for comparing multiple sample means Compares the means of a variable for populations that result from a classification by one other variable – Factor Levels of the Factor – the possible values of the factor At this point dealing with: One-Way AVOVA

Mr. T Says… A one-way analysis of variance (ANOVA) tests the hypothesis that the means of several populations are equal The method is an extension of the two-sample t-test, specifically for the case where the population variances are assumed to be equal The null hypothesis for the test is that all population means (level means) are the same - H 0 : μ 1 = μ 2 = μ 3 = μ 4 The alternative hypothesis is that one or more population means differ from the others - Ha: Not all means are equal “I pity the fools that think T and ANOVA are similar!”– Mr. T also “Stay in School fool!” and the popular “Drugs are for Chumps!”

One-Way ANOVA : Analysis of Variance Table One-way ANOVA: Egg production versus Location Source DF SS MS F P Paint Error Total Degrees of Freedom Sum of Squares Mean Squares F statistic P value

F F is the statistic used to test the hypothesis that all the factor level means are equal It is calculated as the mean square for the factor divided by the mean squares for error F is used to determine the p-value Like the T statistic for a t-test, or an R-J value for a Ryan-Joiner

Analysis of Variance (ANOVA) ANOVA is a statistical test (like t-test, normality,etc) However, MINITAB has different programs we can use to run an ANOVA 1-way ANOVA - easy to use, formatted General Linear Model – (GLM) – less structured, more freedom

Four Sample Means, Only One Result? “I pity the fools that has only one result for 4 sample means!”– Mr. T A one-way analysis of variance (ANOVA) tests the hypothesis that the means of several populations are equal The null hypothesis for the test is that all population means (level means) are the same - H 0 : μ 1 = μ 2 = μ 3 = μ 4 The alternative hypothesis is that one or more population means differ from the others - Ha: Not all means are equal Source DF SS MS F P Pop Error Total We reject the null = all means not equal Is that all?

Multiple Comparisons Allow you to determine the relations among all the means Several methods: Tukey, Fisher’s LSD, Dunnett’s, Bonferroni, Scheffe, etc Most focus on Tukey 2 Ways to Assess: 1) Confidence intervals (for 1-way ANOVA only) 2) Tukey test (for all other ANOVAs)

95% confidence intervals for each level of the factor If the intervals do not overlap; suggests population means are different Interpret with caution; rate of type I error increases when making multiple comparisons Should use one of the four available methods for controlling the rate of type I error Intervals for Pop 2 and Pop 4 do not overlap; suggests population means for these levels are different Level N Mean StDev Pop (-----*------) Pop (------*------) Pop (------*------) Pop (------*------)

Tukey's method Tukey's method compares the means for each pair of factor levels using a family error rate to control the rate of type I error Results are presented as a set of confidence intervals for the difference between pairs of means Use the intervals to determine whether the means are different: If an interval does not contain zero, there is a statistically significant difference between the corresponding means If the interval does contain zero, the difference between the means is not statistically significant

Tukey 95% Simultaneous Confidence Intervals All Pairwise Comparisons among Levels of Ahi Individual confidence level = 98.89% Ahi = Pop1 subtracted from: Ahi Lower Center Upper Pop ( * ) Pop ( * ) Pop ( * ) Ahi = Pop 2 subtracted from: Ahi Lower Center Upper Pop ( * ) Pop ( * ) Ahi = Pop 3 subtracted from: Ahi Lower Center Upper Pop ( * )

Which multiple comparisons to use At this point, unless otherwise advised – Tukey’s is fine Bonferroni, Fisher’s LSD, Dunnett’s, Bonferroni, Scheffe all used heavily as well

Statistical versus practical significance Even if the level means are significantly different from a statistical standpoint, the difference may not be of any practical importance In the Ahi data, the smallest mean is and the largest is Is this 9.5-unit difference of any practical consequence? Only knowledge of the subject area, not statistics, can be used to answer this question

Assumptions for One-Way ANOVA Four assumptions for t-test hypothesis testing: 1. Random Samples 2. Independent Samples 3. Normal Populations (or large samples) 4. Variances (std. dev.) are equal One-Way ANOVA

Non-Parametric Version of ANOVA If samples are independent, similarly distributed data Use nonparamentric test regardless of normality or sample size Is based upon mean of ranks of the data – not the mean or variance (Like Mann-Whitney) If the variation in mean ranks is large – reject null Uses p-value like ANOVA Last Resort/Not Resort –low sample size, “bad” data Kruskal-Wallis

When Do I Do the What Now? If you are reasonably sure that the distributions are normal –use ANOVA Otherwise – use Kruskal-Wallis “Well, whenever I'm confused, I just check my underwear. It holds the answer to all the important questions.” – Grandpa Simpson