Lecture 11 One-way analysis of variance (Chapter 15.2)

Slides:



Advertisements
Similar presentations
Introductory Mathematics & Statistics for Business
Advertisements

Overview of Lecture Partitioning Evaluating the Null Hypothesis ANOVA
Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 10 The Analysis of Variance.
Department of Engineering Management, Information and Systems
Elementary Statistics
Hypothesis Tests: Two Independent Samples
Multiple Regression. Introduction In this chapter, we extend the simple linear regression model. Any number of independent variables is now allowed. We.
Lecture Unit Multiple Regression.
Chapter 15 ANOVA.
Putting Statistics to Work
Statistical Inferences Based on Two Samples
Test of (µ 1 – µ 2 ),  1 =  2, Populations Normal Test Statistic and df = n 1 + n 2 – 2 2– )1– 2 ( 2 1 )1– 1 ( 2 where ] 2 – 1 [–
Chapter Thirteen The One-Way Analysis of Variance.
Chapter 14 ANOVA 1.
Ch 14 實習(2).
Experimental Design and Analysis of Variance
1 Chapter 20: Statistical Tests for Ordinal Data.
Simple Linear Regression Analysis
ANalysis Of VAriance can be used to test for the equality of three or more population means. H 0 :  1  =  2  =  3  = ... =  k H a : Not all population.
Multiple Regression and Model Building
Inference about the Difference Between the
© 2010 Pearson Prentice Hall. All rights reserved Single Factor ANOVA.
1 1 Slide © 2009, Econ-2030 Applied Statistics-Dr Tadesse Chapter 10: Comparisons Involving Means n Introduction to Analysis of Variance n Analysis of.
Part I – MULTIVARIATE ANALYSIS
Analysis of Variance Chapter Introduction Analysis of variance compares two or more populations of interval data. Specifically, we are interested.
Analysis of Variance Chapter Introduction Analysis of variance compares two or more populations of interval data. Specifically, we are interested.
Lecture 10 Inference about the difference between population proportions (Chapter 13.6) One-way analysis of variance (Chapter 15.2)
Lecture 12 One-way Analysis of Variance (Chapter 15.2)
Inferences About Process Quality
Lecture 13: Tues., Feb. 24 Comparisons Among Several Groups – Introduction (Case Study 5.1.1) Comparing Any Two of the Several Means (Chapter 5.2) The.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
Chapter 12: Analysis of Variance
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 14 Analysis.
QNT 531 Advanced Problems in Statistics and Research Methods
12-1 Chapter Twelve McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
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 Analysis of Variance Chapter 13 BA 303.
Analysis of Variance Chapter 12 Introduction Analysis of variance compares two or more populations of interval data. Specifically, we are interested.
More About Significance Tests
Analysis of Variance ( ANOVA )
12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
Analysis of Variance ST 511 Introduction n Analysis of variance compares two or more populations of quantitative data. n Specifically, we are interested.
Economics 173 Business Statistics Lectures 9 & 10 Summer, 2001 Professor J. Petry.
1 1 Slide Simple Linear Regression Coefficient of Determination Chapter 14 BA 303 – Spring 2011.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 Chapter 13 Analysis of Variance. 2 Chapter Outline  An introduction to experimental design and analysis of variance  Analysis of Variance and the.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 12 Analysis of Variance 12.2 One-Way ANOVA.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
1 Analysis of Variance Chapter 14 2 Introduction Analysis of variance helps compare two or more populations of quantitative data. Specifically, we are.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
1/54 Statistics Analysis of Variance. 2/54 Statistics in practice Introduction to Analysis of Variance Analysis of Variance: Testing for the Equality.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
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.
DSCI 346 Yamasaki Lecture 4 ANalysis Of Variance.
Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc.
CHAPTER 13 Design and Analysis of Single-Factor Experiments:
Comparing Three or More Means
CHAPTER 3 Analysis of Variance (ANOVA)
Statistics Analysis of Variance.
Statistics for Business and Economics (13e)
Econ 3790: Business and Economic Statistics
Comparing Three or More Means
Chapter 14: Analysis of Variance One-way ANOVA Lecture 8
Chapter 10 – Part II Analysis of Variance
Presentation transcript:

Lecture 11 One-way analysis of variance (Chapter 15.2)

Review: Relat. between One- Sided Hypothesis Tests and CIs Suppose we are given a CI for For the one-sided hypothesis test versus at significance level, we can conclude –We reject the null hypothesis if and does not belong to the confidence interval –We do not reject the null hypothesis if either or belongs to the confidence interval.

Review: CIs for Monotonic Functions of Parameters A function f(x) is monotonic if it moves in one direction as its argument increases. Suppose that we have a CI for a parameter and that we want to find a CI for the parameter. If f is monotonically increasing, the CI is. If f is monotonically decreasing, the CI is

Review of one-way ANOVA Objective: Compare the means of K populations of interval data based on independent random samples from each. H 0 : H 1 : At least two means differ Notation: x ij – ith observation of jth sample; - mean of the jth sample; n j – number of observations in jth sample; - grand mean of all observations

The marketing manager for an apple juice manufacturer needs to decide how to market a new product. Three strategies are considered, which emphasize the convenience, quality and low price of product respectively. An experiment was conducted as follows: In three cities an advertisement campaign was launched. In each city only one of the three characteristics (convenience, quality, and price) was emphasized. The weekly sales were recorded for twenty weeks following the beginning of the campaigns. Example 15.1

Rationale Behind Test Statistic Two types of variability are employed when testing for the equality of population means –Variability of the sample means –Variability within samples Test statistic is essentially (Variability of the sample means)/(Variability within samples)

The rationale behind the test statistic – I If the null hypothesis is true, we would expect all the sample means to be close to one another (and as a result, close to the grand mean). If the alternative hypothesis is true, at least some of the sample means would differ. Thus, we measure variability between sample means.

The variability between the sample means is measured as the sum of squared distances between each mean and the grand mean. This sum is called the Sum of Squares for Treatments SST In our example treatments are represented by the different advertising strategies. Variability between sample means

There are k treatments The size of sample j The mean of sample j Sum of squares for treatments (SST) Note: When the sample means are close to one another, their distance from the grand mean is small, leading to a small SST. Thus, large SST indicates large variation between sample means, which supports H 1.

Solution – continued Calculate SST = 20( ) ( ) ( ) 2 = = 57, The grand mean is calculated by Sum of squares for treatments (SST)

Is SST = 57, large enough to reject H 0 in favor of H 1 ? Large compared to what? Sum of squares for treatments (SST)

Treatment 1Treatment 2 Treatment Treatment 1Treatment 2Treatment The sample means are the same as before, but the larger within-sample variability makes it harder to draw a conclusion about the population means. A small variability within the samples makes it easier to draw a conclusion about the population means.

Large variability within the samples weakens the “ability” of the sample means to represent their corresponding population means. Therefore, even though sample means may markedly differ from one another, SST must be judged relative to the “within samples variability”. The rationale behind test statistic – II

The variability within samples is measured by adding all the squared distances between observations and their sample means. This sum is called the Sum of Squares for Error SSE In our example this is the sum of all squared differences between sales in city j and the sample mean of city j (over all the three cities). Within samples variability

Solution – continued Calculate SSE Sum of squares for errors (SSE)  (n 1 - 1)s (n 2 -1)s (n 3 -1)s 3 2 = (20 -1)10, (20 -1)7, (20-1)8, = 506,983.50

Is SST = 57, large enough relative to SSE = 506, to reject the null hypothesis that specifies that all the means are equal? Sum of squares for errors (SSE)

mean squares To perform the test we need to calculate the mean squares as follows: The mean sum of squares Calculation of MST - M ean S quare for T reatments Calculation of MSE M ean S quare for E rror

And finally the hypothesis test: H 0 :  1 =  2 = …=  k H 1 : At least two means differ Test statistic: R.R: F>F ,k-1,n-k The F test rejection region

The F test H o :  1 =  2 =  3 H 1 : At least two means differ Test statistic F= MST  MSE= 3.23 Since 3.23 > 3.15, there is sufficient evidence to reject H o in favor of H 1, and argue that at least one of the mean sales is different than the others.

Required Conditions for Test Independent simple random samples from each population The populations are normally distributed (look for extreme skewness and outliers, probably okay regardless if each ). The variances of all the populations are equal (Rule of thumb: Check if largest sample standard deviation is less than twice the smallest standard deviation)

ANOVA Table – Example 15.1 Analysis of Variance SourceDFSum of Squares Mean Square F RatioProb > F City Error C. Total

Model for ANOVA = ith observation of jth sample is the overall mean level, is the differential effect of the jth treatment and is the random error in the ith observation under the jth treatment. The errors are assumed to be independent, normally distributed with mean zero and variance The are normalized:

Model for ANOVA Cont. The expected response to the jth treatment is Thus, if all treatments have the same expected response (i.e., H 0 : all populations have same mean),. In general, is the difference between the means of population j and j’. Sums of squares decomposition: SS(Total)=SST+SSE

Relationship between F-test and t-test for two samples For comparing two samples, the F-statistic equals the square of the t-statistic with equal variances. For two samples, the ANOVA F-test is equivalent to testing versus.

Practice Problems 15.16, 15.22, Next Time: Chapter 15.7 (we will return to Chapters after completing Chapter 15.7).