One-way ANOVA. Experimental Design. One-way ANOVA

Similar documents
One-way Analysis of Variance. Major Points. T-test. Ψ320 Ainsworth

The One-Way Repeated-Measures ANOVA. (For Within-Subjects Designs)

One-Way Analysis of Variance (ANOVA) Paul K. Strode, Ph.D.

CHAPTER 4 Analysis of Variance. One-way ANOVA Two-way ANOVA i) Two way ANOVA without replication ii) Two way ANOVA with replication

10/31/2012. One-Way ANOVA F-test

Comparing Several Means: ANOVA

A posteriori multiple comparison tests

CE3502. Environmental Measurements, Monitoring & Data Analysis. ANOVA: Analysis of. T-tests: Excel options

Analysis Of Variance Compiled by T.O. Antwi-Asare, U.G

Sampling distribution of t. 2. Sampling distribution of t. 3. Example: Gas mileage investigation. II. Inferential Statistics (8) t =

Summary of Chapter 7 (Sections ) and Chapter 8 (Section 8.1)

The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization.

The One-Way Independent-Samples ANOVA. (For Between-Subjects Designs)

What If There Are More Than. Two Factor Levels?

Analysis of Variance: Part 1

Hypothesis T e T sting w ith with O ne O One-Way - ANOV ANO A V Statistics Arlo Clark Foos -

Lecture 7: Hypothesis Testing and ANOVA

8/23/2018. One-Way ANOVA F-test. 1. Situation/hypotheses. 2. Test statistic. 3.Distribution. 4. Assumptions

SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY DEPARTMENT OF SCIENCE & HUMANITIES STATISTICS & NUMERICAL METHODS TWO MARKS

PLSC PRACTICE TEST ONE

Factorial Analysis of Variance

Econometrics. 4) Statistical inference

Department of Economics. Business Statistics. Chapter 12 Chi-square test of independence & Analysis of Variance ECON 509. Dr.

Variance Estimates and the F Ratio. ERSH 8310 Lecture 3 September 2, 2009

One-Way Analysis of Variance. With regression, we related two quantitative, typically continuous variables.

Lecture 6: Single-classification multivariate ANOVA (k-group( MANOVA)

Battery Life. Factory

Keppel, G. & Wickens, T.D. Design and Analysis Chapter 2: Sources of Variability and Sums of Squares

Introduction to the Analysis of Variance (ANOVA) Computing One-Way Independent Measures (Between Subjects) ANOVAs

Lec 1: An Introduction to ANOVA

Chapter 8 Student Lecture Notes 8-1. Department of Economics. Business Statistics. Chapter 12 Chi-square test of independence & Analysis of Variance

One-way between-subjects ANOVA. Comparing three or more independent means

Performance Evaluation and Comparison

Comparing the means of more than two groups

Review. One-way ANOVA, I. What s coming up. Multiple comparisons

CHAPTER 17 CHI-SQUARE AND OTHER NONPARAMETRIC TESTS FROM: PAGANO, R. R. (2007)

" M A #M B. Standard deviation of the population (Greek lowercase letter sigma) σ 2

One-way between-subjects ANOVA. Comparing three or more independent means

Introduction to the Analysis of Variance (ANOVA)

Repeated Measures Analysis of Variance

Chapter 10: Analysis of variance (ANOVA)

OHSU OGI Class ECE-580-DOE :Design of Experiments Steve Brainerd

Data Analysis and Statistical Methods Statistics 651

DESAIN EKSPERIMEN Analysis of Variances (ANOVA) Semester Genap 2017/2018 Jurusan Teknik Industri Universitas Brawijaya

Analysis of Variance. Read Chapter 14 and Sections to review one-way ANOVA.

Compare several group means: ANOVA

Aquatic Toxicology Lab 10 Pimephales promelas Larval Survival and Growth Test Data Analysis 1. Complete test initiated last week 1.

Inferences for Regression

Econ 3790: Business and Economic Statistics. Instructor: Yogesh Uppal

1 Overview. 2 Multiple Regression framework. Effect Coding. Hervé Abdi

Statistik för bioteknik sf2911 Föreläsning 15: Variansanalys

What is Experimental Design?

Factorial Analysis of Variance

Analysis of Variance

Notes for Week 13 Analysis of Variance (ANOVA) continued WEEK 13 page 1

2 and F Distributions. Barrow, Statistics for Economics, Accounting and Business Studies, 4 th edition Pearson Education Limited 2006

This gives us an upper and lower bound that capture our population mean.

In a one-way ANOVA, the total sums of squares among observations is partitioned into two components: Sums of squares represent:

LAB 2. HYPOTHESIS TESTING IN THE BIOLOGICAL SCIENCES- Part 2

QUEEN MARY, UNIVERSITY OF LONDON

16.3 One-Way ANOVA: The Procedure

Difference in two or more average scores in different groups

Analysis of Variance (ANOVA)

Analysis of Variance

PSYC 331 STATISTICS FOR PSYCHOLOGISTS

Lecture 18: Analysis of variance: ANOVA

Sampling Distributions: Central Limit Theorem

Calculating Fobt for all possible combinations of variances for each sample Calculating the probability of (F) for each different value of Fobt

Statistical methods for comparing multiple groups. Lecture 7: ANOVA. ANOVA: Definition. ANOVA: Concepts

Statistics for EES Factorial analysis of variance

ANOVA CIVL 7012/8012

Unit 27 One-Way Analysis of Variance

One-Way ANOVA Source Table J - 1 SS B / J - 1 MS B /MS W. Pairwise Post-Hoc Comparisons of Means

SMA 6304 / MIT / MIT Manufacturing Systems. Lecture 10: Data and Regression Analysis. Lecturer: Prof. Duane S. Boning

Analysis of variance

Advanced Experimental Design

DESAIN EKSPERIMEN BLOCKING FACTORS. Semester Genap 2017/2018 Jurusan Teknik Industri Universitas Brawijaya

IEOR165 Discussion Week 12

Multiple t Tests. Introduction to Analysis of Variance. Experiments with More than 2 Conditions

Elementary Statistics for the Biological and Life Sciences

Analysis of Variance. ภาว น ศ ร ประภาน ก ล คณะเศรษฐศาสตร มหาว ทยาล ยธรรมศาสตร

Data Skills 08: General Linear Model

Analysis of variance (ANOVA) ANOVA. Null hypothesis for simple ANOVA. H 0 : Variance among groups = 0

Lecture 3: Inference in SLR

Data Analysis: Agonistic Display in Betta splendens I. Betta splendens Research: Parametric or Non-parametric Data?

20.0 Experimental Design

Factorial designs. Experiments

Factorial BG ANOVA. Psy 420 Ainsworth

Introduction to Statistics

Question. Hypothesis testing. Example. Answer: hypothesis. Test: true or not? Question. Average is not the mean! μ average. Random deviation or not?

Chap The McGraw-Hill Companies, Inc. All rights reserved.

Analysis of Variance. One-way analysis of variance (anova) shows whether j groups have significantly different means. X=10 S=1.14 X=5.8 X=2.4 X=9.

Week 12 Hypothesis Testing, Part II Comparing Two Populations

Table 1: Fish Biomass data set on 26 streams

Agonistic Display in Betta splendens: Data Analysis I. Betta splendens Research: Parametric or Non-parametric Data?

An inferential procedure to use sample data to understand a population Procedures

HYPOTHESIS TESTING II TESTS ON MEANS. Sorana D. Bolboacă

Introduction. Chapter 8

STAT Chapter 10: Analysis of Variance

ANOVA Analysis of Variance

Transcription:

Method to compare more than two samples simultaneously without inflating Type I Error rate (α) Simplicity Few assumptions Adequate for highly complex hypothesis testing 09/30/12 1

Outline of this class Data organization and layout Repartitioning of variance Definition of a linear model Combine the linear model with the repatitioning of variances Definition of a statistic (F-test) 09/30/12 2

Data organization Suppose that we want to investigate the average length of a fish species in three different lakes because we suspect that there might be some form of local adaptation We sample 5 fish (replicates) at each lake 09/30/12 3

Data organization First we establish how to measure length Lenght This is an important part of experimental design! 09/30/12 4

Data organization Then we collect the data 09/30/12 5

Data organization Factor Lake has three levels: 1, 2 and 3 09/30/12 6

Data organization 09/30/12 7

Data organization We may represent it as Note that Lake is a classification criteria, that is, we can classify each fish according to the lake where it belongs 09/30/12 8

Repartitioning the variance Total variation = Ronald Aylmer Fisher (1890-1962) 09/30/12 9

Why this formula? Total variation = Sum of all the squared differences between each individual value and the grand mean (overall mean) But why squaring the differences? 09/30/12 10

Total variation = 09/30/12 11

= 0 Total variation Within treatments variation Among (between) treatments variation 09/30/12 12

Repartitioning the variance 09/30/12 13

Repartitioning the variance What do these quantities measure? 09/30/12 14

Repartitioning the variance Why use analysis of variance to test hypothesis about the means? 09/30/12 15

Defining a linear model Any single measurement can be predicted if we know the mean (μ) of the treatment or sample where it belongs (i) and the error (e) associated with that particular replicate (j) in the sample i 09/30/12 16

An interesting property Take sample 1 (Lake 1) 09/30/12 17

An interesting property 09/30/12 18

An interesting property 09/30/12 19

An interesting property We can represent any sample in terms of its errors We will make use of this property later on... 09/30/12 20

Back to the linear model If the null hypothesis is true, all samples (treatments or levels) came from the same population H 0 : μ 1 = μ 2 = μ 3 =... = μ i... = μ a = μ 09/30/12 21

Defining the linear model If the null hypothesis is false, some samples will deviate from the grand mean by an amount called A H 0 : A 1 = A 2 = A 3 =... = A i... = A a = 0 09/30/12 22

Defining the linear model 09/30/12 23

Defining the linear model 09/30/12 24

Defining the linear model 09/30/12 25

Joining the linear model and the repartitioning of variances 09/30/12 26

09/30/12 27

09/30/12 28

Where do we know this from? We know that a sample can also be represented by the deviations of each replicate to the sample mean (errors) 09/30/12 29

09/30/12 30

09/30/12 31

09/30/12 32

09/30/12 33

09/30/12 34

09/30/12 35

COVARIANCE 1 st Assumption: individual observations are independent from each other (that is, no particular observation influences any other observation in the same or other sample) INDEPENDENCE OF OBSERVATIONS 09/30/12 36

COVARIANCE If observations are independent, covariance is null (zero) INDEPENDENCE OF OBSERVATIONS 09/30/12 37

If observations are independent, covariance is null (zero) INDEPENDENCE OF OBSERVATIONS 09/30/12 38

Let s focus on this term... This is the deviation of sample means from the grand mean (Remember the Central Limit Theorem?) 09/30/12 39

The central limit theorem says 09/30/12 40

2 nd Assumption: sample variances are equal (homogeneous or homoscedastic) HOMOGENEITY OF VARIANCES 09/30/12 41

2 nd Assumption: sample variances are equal (homogeneous or homoscedastic) HOMOGENEITY OF VARIANCES 09/30/12 42

2 nd Assumption: sample variances are equal (homogeneous or homoscedastic) HOMOGENEITY OF VARIANCES 09/30/12 43

Using the same argument 2 nd Assumption: sample variances are equal (homogeneous or homoscedastic) HOMOGENEITY OF VARIANCES 09/30/12 44

09/30/12 45

Change the order of Between and Within samples since this is the most common layout for an ANOVA 09/30/12 46

Introducing degrees of freedom For a factor with a levels: a-1 For the within samples variation: a(n-1) For the Total variation: an-1 09/30/12 47

Introducing degrees of freedom 09/30/12 48

Introducing degrees of freedom and Mean Squares Mean Square (MS) = Sum of Squares / Degrees of Freedom (SS/DF) 09/30/12 49

Introducing degrees of freedom and Mean Squares Mean Square (MS) = Sum of Squares / Degrees of Freedom (SS/DF) 09/30/12 50

Revisiting the null hypothesis If the null hypothesis is true, sample means will be the same as the grand mean and deviations from the latter (A i ) will be zero H 0 : A 1 = A 2 = A 3 =... = A i... = A a = 0 09/30/12 51

If the null hypothesis is true 09/30/12 52

If the null hypothesis is true 09/30/12 53

Choosing a statistical test 09/30/12 54

The adequate statistical test 3 th Assumption: the variable being sampled follows a normal distribution (often stated as: the population being sampled follows a normal distribution) NORMALITY OF SAMPLED POPULATION If this is true, the ratio between two variances follows a F-distribution 09/30/12 55

The F distribution F 1: H 0 true F > 1: H 0 false 09/30/12 56

ANOVA in action Source of variation Lakes 48.933 Error 50.000 Total 98.933 SS DF MS F P 09/30/12 57

ANOVA in action Source of variation Lakes 48.933 2 Error 50.000 12 Total 98.933 14 SS DF MS F P 09/30/12 58

ANOVA in action Source of variation SS DF MS F P Lakes 48.933 2 24.467 Error 50.000 12 4.167 Total 98.933 14 09/30/12 59

ANOVA in action Source of variation SS DF MS F P Lakes 48.933 2 24.467 5.872 Error 50.000 12 4.167 Total 98.933 14 09/30/12 60

ANOVA in action Source of variation SS DF MS F P Lakes 48.933 2 24.467 5.872 Error 50.000 12 4.167 Total 98.933 14 0.017 F > F crit H0 rejected HA accepted Average length of fish species differs among lakes 09/30/12 61