1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 8 Analysis of Variance.

Slides:



Advertisements
Similar presentations
Multiple-choice question
Advertisements

1-Way Analysis of Variance
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 15 Analysis of Data from Fractional Factorials and Other Unbalanced.
Analysis of Variance (ANOVA) ANOVA methods are widely used for comparing 2 or more population means from populations that are approximately normal in distribution.
Hypothesis Testing Steps in Hypothesis Testing:
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture #19 Analysis of Designs with Random Factor Levels.
1 Chapter 4 Experiments with Blocking Factors The Randomized Complete Block Design Nuisance factor: a design factor that probably has an effect.
Chapter 4 Randomized Blocks, Latin Squares, and Related Designs
Analysis of Variance Outlines: Designing Engineering Experiments
Design of Experiments and Analysis of Variance
ANOVA: Analysis of Variation
Probability & Statistical Inference Lecture 8 MSc in Computing (Data Analytics)
Design of Engineering Experiments - Experiments with Random Factors
1-1 Regression Models  Population Deterministic Regression Model Y i =  0 +  1 X i u Y i only depends on the value of X i and no other factor can affect.
Stat Today: Will consider the one-way ANOVA model for comparing means of several treatments.
Experimental Design & Analysis
The Statistical Analysis Partitions the total variation in the data into components associated with sources of variation –For a Completely Randomized Design.
Lesson #23 Analysis of Variance. In Analysis of Variance (ANOVA), we have: H 0 :  1 =  2 =  3 = … =  k H 1 : at least one  i does not equal the others.
Chapter 3 Analysis of Variance
Correlation. Two variables: Which test? X Y Contingency analysis t-test Logistic regression Correlation Regression.
= == Critical Value = 1.64 X = 177  = 170 S = 16 N = 25 Z =
13-1 Designing Engineering Experiments Every experiment involves a sequence of activities: Conjecture – the original hypothesis that motivates the.
Analysis of Variance & Multivariate Analysis of Variance
Statistical Methods in Computer Science Hypothesis Testing II: Single-Factor Experiments Ido Dagan.
Outline Single-factor ANOVA Two-factor ANOVA Three-factor ANOVA
Analysis of Variance Introduction The Analysis of Variance is abbreviated as ANOVA The Analysis of Variance is abbreviated as ANOVA Used for hypothesis.
13 Design and Analysis of Single-Factor Experiments:
Biostatistics-Lecture 9 Experimental designs Ruibin Xi Peking University School of Mathematical Sciences.
Fundamentals of Data Analysis Lecture 7 ANOVA. Program for today F Analysis of variance; F One factor design; F Many factors design; F Latin square scheme.
One-Factor Experiments Andy Wang CIS 5930 Computer Systems Performance Analysis.
Analysis of Variance: Some Review and Some New Ideas
PROBABILITY & STATISTICAL INFERENCE LECTURE 6 MSc in Computing (Data Analytics)
One-Way Analysis of Variance Comparing means of more than 2 independent samples 1.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 6 Solving Normal Equations and Estimating Estimable Model Parameters.
Effect Size Estimation in Fixed Factors Between-Groups ANOVA
Experimental Design If a process is in statistical control but has poor capability it will often be necessary to reduce variability. Experimental design.
1 A nuisance factor is a factor that probably has some effect on the response, but it’s of no interest to the experimenter…however, the variability it.
DOX 6E Montgomery1 Design of Engineering Experiments Part 9 – Experiments with Random Factors Text reference, Chapter 13, Pg. 484 Previous chapters have.
© Copyright McGraw-Hill 2000
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
1 The Two-Factor Mixed Model Two factors, factorial experiment, factor A fixed, factor B random (Section 13-3, pg. 495) The model parameters are NID random.
ETM U 1 Analysis of Variance (ANOVA) Suppose we want to compare more than two means? For example, suppose a manufacturer of paper used for grocery.
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 18 Random Effects.
1 Experiments with Random Factors Previous chapters have considered fixed factors –A specific set of factor levels is chosen for the experiment –Inference.
Chapter 12 Introduction to Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Eighth Edition by Frederick.
Random samples of size n 1, n 2, …,n k are drawn from k populations with means  1,  2,…,  k and with common variance  2. Let x ij be the j-th measurement.
Chapter 13 Design of Experiments. Introduction “Listening” or passive statistical tools: control charts. “Conversational” or active tools: Experimental.
IE241: Introduction to Design of Experiments. Last term we talked about testing the difference between two independent means. For means from a normal.
The Mixed Effects Model - Introduction In many situations, one of the factors of interest will have its levels chosen because they are of specific interest.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 9 Review.
SMA 6304 / MIT / MIT Manufacturing Systems Lecture 10: Data and Regression Analysis Lecturer: Prof. Duane S. Boning Copyright 2003© Duans S.
1 G Lect 13b G Lecture 13b Mixed models Special case: one entry per cell Equal vs. unequal cell n's.
Two-Factor Study with Random Effects In some experiments the levels of both factors A & B are chosen at random from a larger set of possible factor levels.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture #10 Testing the Statistical Significance of Factor Effects.
F73DA2 INTRODUCTORY DATA ANALYSIS ANALYSIS OF VARIANCE.
1 Chapter 5.8 What if We Have More Than Two Samples?
ANOVA: Analysis of Variation
ANOVA: Analysis of Variation
Design Lecture: week3 HSTS212.
ANOVA: Analysis of Variation
ANOVA: Analysis of Variation
Analysis of Variance (ANOVA)
i) Two way ANOVA without replication
Statistical Analysis Professor Lynne Stokes
Chapter 11: The ANalysis Of Variance (ANOVA)
Analysis of Variance: Some Review and Some New Ideas
One way ANALYSIS OF VARIANCE (ANOVA)
Chapter 13 Group Differences
IE 355: Quality and Applied Statistics I Confidence Intervals
One-Factor Experiments
Presentation transcript:

1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 8 Analysis of Variance

2 Flow Rate Experiment MGH Fig 6.1

3 Flow Rate Experiment ABCD Average Flow Rate Filter Type 0.35 Assignable Cause (Factor Changes) UncontrolledError What is an appropriate statistical comparison of the filter means?

4

5 What is an appropriate statistical comparison of the diet means? Does not account for multiple comparisons

6 5 Comparisons, Some averages used more than once (e.g., N/R50)

7 Analysis of Variance for Single-Factor Experiments Total Sum of Squares Model y ij =  +  i + e ij i = 1,..., a; j = 1,..., r i Total Adjusted Sum of Squares Corrected Sum of Squares (Numerator of the Sample Variance)

8 Analysis of Variance for Single-Factor Experiments Total Sum of Squares Model y ij =  +  i + e ij i = 1,..., a; j = 1,..., r i Goal Partition TSS into Components Associated with Assignable Causes: Controllable Factors and Measured Covariates Experimental Error: Uncontrolled Variation, Measurement Error, Unknown Systematic Causes

9 Analysis of Variance for Single-Factor Experiments

10 Analysis of Variance for Single-Factor Experiments Show

11 Analysis of Variance for Single-Factor Experiments

12 Estimating Factor Effects Model y ij =  +  i + e ij i = 1,..., a; j = 1,..., r i Estimation Assumption E(e ij ) = 0 Parameter Constraint

13 Analysis of Variance for Single-Factor Experiments Main Effect Sum of Squares: SS A Main Effects: SS A : Sum of Squares attributable to variation in the effects of Factor A Sum of Squares attributable to variation in the effects of Factor A

14 Is a pooled estimate of the error variance correct, or just ad-hoc?

15 Analysis of Variance for Single-Factor Experiments Error Sum of Squares: SS E Residuals: SS E : Sum of Squares attributable to uncontrolled variation Sum of Squares attributable to uncontrolled variation

16 Analysis of Variance for Single-Factor Experiments Error Sum of Squares: SS E Factor Levels: i = 1, 2,..., a Sample Variances:

17 Analysis of Variance for Single-Factor Experiments Error Sum of Squares: SS E Factor Levels: i = 1, 2,..., a Sample Variances: Pooled Variance Estimate:

18 Degrees of Freedom Total Sum of Squares Constraint Degrees of Freedom n -1 = ar - 1 Show

19 Degrees of Freedom Main Effect Sum of Squares Constraint Degrees of Freedom a -1 Show

20 Degrees of Freedom Error Sum of Squares Constraints Degrees of Freedom n – a = a(r – 1) Show

21 Analysis of Variance Table

22 Analysis of Variance for the Flow Rate Data Assumptions ? Conclusions ? Assumptions ? Conclusions ?

23 Individual confidence intervals and tests are not appropriate unlessSIMULTANEOUSsignificance levels or confidence levels are used (Multiple Comparisons) (Multiple Comparisons)

24 Viscosity of a Chemical Process Replicate Two Factors

25 Viscosity of a Chemical Process Viscosity 15% 20 lb/hr 25% 20 lb/hr 15% 30 lb/hr 25% 30 lb/hr Reactant Concentration / Flow Rate Assignable causes: two factor main effects and their interaction Uncontrolledexperimentalerror

26 Viscosity of a Chemical Process Average Viscosity Main Effects Interaction

27 Viscosity of a Chemical Process : Main Effect for Concentration Viscosity 15% 20 lb/hr 25% 20 lb/hr 15% 30 lb/hr 25% 30 lb/hr Reactant Concentration / Flow Rate Main Effect

28 Viscosity of a Chemical Process : Main Effect for Flow Rate Viscosity 15% 20 lb/hr 25% 20 lb/hr 15% 30 lb/hr 25% 30 lb/hr Reactant Concentration / Flow Rate Main Effect

29 Viscosity of a Chemical Process : Flow Rate & Concentration Interaction Viscosity 15%25% Reactant Concentration 20 lb/hr 30 lb/hr Interaction ?

30 Analysis of Variance for Multi-Factor Experiments Total Sum of Squares Model Goal Partition TSS into components associated with Assignable Causes: main effects for Factors A &B, interaction between Factors A & B Experimental Error: uncontrolled variation, measurement error, unknown systematic causes y ijk =  +  i +  j + (  ) ij + e ijk Balanced Design Balanced Design

31 Analysis of Variance for Multi-Factor Experiments

32 Analysis of Variance for Multi-Factor Experiments

33 Analysis of Variance for Multi-Factor Experiments Show

34 Analysis of Variance for Multi-Factor Experiments Show

35 Analysis of Variance for Multi-Factor Experiments Show

36 Analysis of Variance for Multi-Factor Experiments Don’t memorize the formulas, understand what they measure Don’t memorize the formulas, understand what they measure

37 Analysis of Variance Table Understand the degrees of freedom Understand the degrees of freedom

38 Viscosity Data Conclusions ?

39 Sums of Squares: Connections to Model Parameters

40 Unbalanced Experiments (including r ij = 0) Calculation formulas are not correct “Sums of Squares” in computer-generated ANOVA Tables are NOT sums of squares (can be negative) usually are not additive; need not equal the usual calculation formula values “Sums of Squares” in computer-generated ANOVA Tables are NOT sums of squares (can be negative) usually are not additive; need not equal the usual calculation formula values