Chapter 11 - Lecture 1 Single Factor ANOVA

Similar documents
Chapter 11 - Lecture 1 Single Factor ANOVA

16.3 One-Way ANOVA: The Procedure

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

Chapter 10: Analysis of variance (ANOVA)

STATS Analysis of variance: ANOVA

Lecture notes 13: ANOVA (a.k.a. Analysis of Variance)

Chapter 12 - Lecture 2 Inferences about regression coefficient

Research Methods II MICHAEL BERNSTEIN CS 376

df=degrees of freedom = n - 1

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

Much of the material we will be covering for a while has to do with designing an experimental study that concerns some phenomenon of interest.

EX1. One way ANOVA: miles versus Plug. a) What are the hypotheses to be tested? b) What are df 1 and df 2? Verify by hand. , y 3

1 Introduction to One-way ANOVA

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

Theorem A: Expectations of Sums of Squares Under the two-way ANOVA model, E(X i X) 2 = (µ i µ) 2 + n 1 n σ2

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Week 14 Comparing k(> 2) Populations

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

STAT 705 Chapter 16: One-way ANOVA

ANOVA (Analysis of Variance) output RLS 11/20/2016

MAT3378 ANOVA Summary

4.1. Introduction: Comparing Means

Nested Designs & Random Effects

Statistics For Economics & Business

ANOVA: Comparing More Than Two Means

Chapter 7, continued: MANOVA

Model II (or random effects) one-way ANOVA:

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

Josh Engwer (TTU) 1-Factor ANOVA / 32

Ma 3/103: Lecture 25 Linear Regression II: Hypothesis Testing and ANOVA

Formal Statement of Simple Linear Regression Model

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

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

Comparing Several Means

Chapter 1 - Lecture 3 Measures of Location

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

Analysis of Variance and Design of Experiments-I

One-Way Analysis of Variance: A Guide to Testing Differences Between Multiple Groups

STAT 135 Lab 9 Multiple Testing, One-Way ANOVA and Kruskal-Wallis

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

10 One-way analysis of variance (ANOVA)

Lecture 28 Chi-Square Analysis

MSc / PhD Course Advanced Biostatistics. dr. P. Nazarov

STAT Final Practice Problems

Inferences for Regression

STAT763: Applied Regression Analysis. Multiple linear regression. 4.4 Hypothesis testing

Unit 7: Random Effects, Subsampling, Nested and Crossed Factor Designs

Unit 27 One-Way Analysis of Variance

x = , so that calculated

Statistiek II. John Nerbonne using reworkings by Hartmut Fitz and Wilbert Heeringa. February 13, Dept of Information Science

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

Nested 2-Way ANOVA as Linear Models - Unbalanced Example

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

22s:152 Applied Linear Regression. Take random samples from each of m populations.

Power & Sample Size Calculation

Linear regression. We have that the estimated mean in linear regression is. ˆµ Y X=x = ˆβ 0 + ˆβ 1 x. The standard error of ˆµ Y X=x is.

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

ANOVA Analysis of Variance

Unbalanced Data in Factorials Types I, II, III SS Part 1

22s:152 Applied Linear Regression. There are a couple commonly used models for a one-way ANOVA with m groups. Chapter 8: ANOVA

1-Way ANOVA MATH 143. Spring Department of Mathematics and Statistics Calvin College

Lecture 18 MA Applied Statistics II D 2004

Outline. Remedial Measures) Extra Sums of Squares Standardized Version of the Multiple Regression Model

Analysis of variance

Practice Final Exam. December 14, 2009

Statistics and Quantitative Analysis U4320

Lecture 15 - ANOVA cont.

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

Introduction. Chapter 8

Wolf River. Lecture 15 - ANOVA. Exploratory analysis. Wolf River - Data. Sta102 / BME102. October 22, 2014

PubH 7405: REGRESSION ANALYSIS. MLR: INFERENCES, Part I

Chapter 3. Diagnostics and Remedial Measures

PLS205 Lab 2 January 15, Laboratory Topic 3

Introduction to the Analysis of Variance (ANOVA)

Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z).

Announcements. Unit 4: Inference for numerical variables Lecture 4: ANOVA. Data. Statistics 104

Wolf River. Lecture 19 - ANOVA. Exploratory analysis. Wolf River - Data. Sta 111. June 11, 2014

STAT 263/363: Experimental Design Winter 2016/17. Lecture 1 January 9. Why perform Design of Experiments (DOE)? There are at least two reasons:

Lecture 10 Multiple Linear Regression

ANOVA - analysis of variance - used to compare the means of several populations.

Example - Alfalfa (11.6.1) Lecture 14 - ANOVA cont. Alfalfa Hypotheses. Treatment Effect

MANOVA is an extension of the univariate ANOVA as it involves more than one Dependent Variable (DV). The following are assumptions for using MANOVA:

3. Design Experiments and Variance Analysis

Wolf River. Lecture 15 - ANOVA. Exploratory analysis. Wolf River - Data. Sta102 / BME102. October 26, 2015

Tukey Complete Pairwise Post-Hoc Comparison

M A N O V A. Multivariate ANOVA. Data

Sociology 6Z03 Review II

SEVERAL μs AND MEDIANS: MORE ISSUES. Business Statistics

What If There Are More Than. Two Factor Levels?

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

Factorial ANOVA. Psychology 3256

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

ANOVA: Analysis of Variation

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

INTRODUCTION TO ANALYSIS OF VARIANCE

STAT Chapter 10: Analysis of Variance

Topic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model

W&M CSCI 688: Design of Experiments Homework 2. Megan Rose Bryant

One-Way Analysis of Variance (ANOVA)

Correlation Analysis

Transcription:

Chapter 11 - Lecture 1 Single Factor ANOVA April 7th, 2010

Means Variance Sum of Squares

Review In Chapter 9 we have seen how to make hypothesis testing for one population mean. In Chapter 10 we have seen how to make hypothesis testing for two samples mean. What comes next?

Analysis of Variance In this Chapter we will learn how to make tests when we have 3 or more populations and we want to test equality of their means. Let s assume we have I populations. We are testing H 0 : µ 1 = µ 2 =... = µ I vs H A : noth 0 There are two assumptions: The populations are normally distributed with mean µi. The variances are equal, that is σ 2 1 =... = σi 2 To verify equality of variances, there is a formal test called the Levene test, that we will see later. The problem with Levene test, is that you have to do the hypothesis test and then do the Levene test. A rule of thumb that one can use is that the largest standard deviation is not larger than two times the smaller.

Before writing down all the formulas, I will give you an example that we will follow to create the theory. I am teaching on four different sections of stat 200 and I am giving them a test. I want to test if the average on the test for all classes is equal. I am selecting a sample of 5 students from each class. Class 1: 70, 50, 100, 100, 70 Class 2: 60, 85, 65, 100, 30 Class 3: 80, 50, 90, 75, 85 Class 4: 100, 90, 50, 90, 70

Sample Mean and Grand Mean Means Variance Sum of Squares With X ij we denote the j th observation in the i th sample. J j=1 X ij Sample mean: X i. = J I J Grand mean: X.. = i=1 j=1 IJ X ij

Sample Variance Outline Means Variance Sum of Squares Sample variance: S 2 i = J (X ij X i. ) 2 j=1 J 1 Now that we have the sample variances we can check the condition of equality of variances.

Means Variance Sum of Squares Idea We are testing H 0 : µ 1 = µ 2 =... = µ I vs H A : noth 0 In order for the null hypothesis to be true, we need the sample observations x ij to be as close to the sample mean x i. as possible and at the same time the sample means x i. to be as close to the grand mean x.. as possible. So it is logical to assume that we will compare two measures of variation to see if they are close.

Error Sum of Square - SSE Means Variance Sum of Squares SSE = I J ( X ij X i. ) 2 = (J 1) I i=1 j=1 i=1 S 2 i Distribution of SSE: SSE σ 2 χ 2 I (J 1)

Means Variance Sum of Squares Sum of Square of Group (or Treatment) - SSG or SSTr I SSTr = J ( X i. X.. ) 2 i=1 Distribution of SSTr: (if H 0 is true) SSTr σ 2 χ 2 I 1

Means Variance Sum of Squares Mean Square Error (MSE) and Mean Square Treatment (MSTr) MSE = SSE I (J 1) MSTr = SSTr I 1

Important results Outline Means Variance Sum of Squares The distribution of SSE tell us that ( ) SSE E = E(MSE) = σ 2 I (J 1) The distribution of SSTr tell us that if H 0 is true: ( ) SSTr E = E(MSTr) = σ 2 I 1) What happens to E(MSTr) if H 0 is not true?

F - test So it is logical to say that a good way to make the test is to use the following test statistic. F = MSTr MSE What is the distribution of the test statistic above and why?

ANOVA Table All the previous results can be summarized in the following Table: Table: ANOVA TABLE Source of Sum of Mean variation df Squares Squares F Treatments I 1 SSTr MSTr MSTr/MSE Error I (J 1) SSE MSE Total IJ 1 SSTo

Fundamental ANOVA Identity SSTo = SSTr + SSE SSTo = I J (x ij x.. ) 2 i=1 j=1

Levene To test equality of variances using the Levene you need to calculate x ij x i.. The new values you get is your new dataset. Perform an ANOVA test on these new values.

Section 11.1 page 550 1, 2, 3, 4, 5, 6, 7, 8, 9, 10