1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture #10 Testing the Statistical Significance of Factor Effects.

Slides:



Advertisements
Similar presentations
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 15 Analysis of Data from Fractional Factorials and Other Unbalanced.
Advertisements

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
Multiple comparisons - multiple pairwise tests - orthogonal contrasts - independent tests - labelling conventions.
Model Adequacy Checking in the ANOVA Text reference, Section 3-4, pg
Design of Experiments and Analysis of Variance
1 G Lect 14b G Lecture 14b Within subjects contrasts Types of Within-subject contrasts Individual vs pooled contrasts Example Between subject.
Generalized Linear Models (GLM)
Nonparametric tests and ANOVAs: What you need to know.
N-way ANOVA. Two-factor ANOVA with equal replications Experimental design: 2  2 (or 2 2 ) factorial with n = 5 replicate Total number of observations:
Chapter 5 Introduction to Factorial Designs
14-1 Introduction An experiment is a test or series of tests. The design of an experiment plays a major role in the eventual solution of the problem.
1 Multifactor ANOVA. 2 What We Will Learn Two-factor ANOVA K ij =1 Two-factor ANOVA K ij =1 –Interaction –Tukey’s with multiple comparisons –Concept of.
Part I – MULTIVARIATE ANALYSIS
1 Chapter 3 Multiple Linear Regression Ray-Bing Chen Institute of Statistics National University of Kaohsiung.
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.
Multi-Factor Studies Stat 701 Lecture E. Pena.
Final Review Session.
Lecture 24: Thurs. Dec. 4 Extra sum of squares F-tests (10.3) R-squared statistic (10.4.1) Residual plots (11.2) Influential observations (11.3,
1 Chapter 5 Introduction to Factorial Designs Basic Definitions and Principles Study the effects of two or more factors. Factorial designs Crossed:
8. ANALYSIS OF VARIANCE 8.1 Elements of a Designed Experiment
13-1 Designing Engineering Experiments Every experiment involves a sequence of activities: Conjecture – the original hypothesis that motivates the.
Analysis of variance (2) Lecture 10. Normality Check Frequency histogram (Skewness & Kurtosis) Probability plot, K-S test Normality Check Frequency histogram.
Chapter 2 Simple Comparative Experiments
Statistical Methods in Computer Science Hypothesis Testing II: Single-Factor Experiments Ido Dagan.
Outline Single-factor ANOVA Two-factor ANOVA Three-factor ANOVA
13 Design and Analysis of Single-Factor Experiments:
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 5 Complete Factorial Experiments, Completely Randomized Designs,
1 14 Design of Experiments with Several Factors 14-1 Introduction 14-2 Factorial Experiments 14-3 Two-Factor Factorial Experiments Statistical analysis.
Regression and Correlation Methods Judy Zhong Ph.D.
PS 225 Lecture 15 Analysis of Variance ANOVA Tables.
One-Factor Experiments Andy Wang CIS 5930 Computer Systems Performance Analysis.
MANOVA Multivariate Analysis of Variance. One way Analysis of Variance (ANOVA) Comparing k Populations.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 6 Solving Normal Equations and Estimating Estimable Model Parameters.
Design and Analysis of Experiments Dr. Tai-Yue Wang Department of Industrial and Information Management National Cheng Kung University Tainan, TAIWAN,
Chapter 11 Multifactor Analysis of Variance.
1 Chapter 3 Multiple Linear Regression Multiple Regression Models Suppose that the yield in pounds of conversion in a chemical process depends.
Statistical Analysis Professor Lynne Stokes
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
MANOVA Multivariate Analysis of Variance. One way Analysis of Variance (ANOVA) Comparing k Populations.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
IE341 Midterm. 1. The effects of a 2 x 2 fixed effects factorial design are: A effect = 20 B effect = 10 AB effect = 16 = 35 (a) Write the fitted regression.
Diploma in Statistics Design and Analysis of Experiments Lecture 2.11 Design and Analysis of Experiments Lecture Review of Lecture Randomised.
Analysis of Variance 1 Dr. Mohammed Alahmed Ph.D. in BioStatistics (011)
Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics ANalysis Of VAriance: ANOVA.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 8 Analysis of Variance.
Analysis of Variance.
DOX 6E Montgomery1 Design of Engineering Experiments Part 2 – Basic Statistical Concepts Simple comparative experiments –The hypothesis testing framework.
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 15 Review.
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 18 Random Effects.
Chapter 13 Design of Experiments. Introduction “Listening” or passive statistical tools: control charts. “Conversational” or active tools: Experimental.
Doc.Ing. Zlata Sojková,CSc.1 Analysis of Variance.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 9 Review.
Chapters Way Analysis of Variance - Completely Randomized Design.
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 11 Multiple Comparisons & Class Exercises.
Biostatistics Regression and Correlation Methods Class #10 April 4, 2000.
Designs for Experiments with More Than One Factor When the experimenter is interested in the effect of multiple factors on a response a factorial design.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
Université d’Ottawa / University of Ottawa 2001 Bio 4118 Applied Biostatistics L12.1 Lecture 12: Generalized Linear Models (GLM) What are they? When do.
Factorial Experiments
Statistical Quality Control, 7th Edition by Douglas C. Montgomery.
Statistical Analysis Professor Lynne Stokes
Two-way ANOVA problems
Comparing Three or More Means
Chapter 5 Introduction to Factorial Designs
Statistical Analysis Professor Lynne Stokes
14 Design of Experiments with Several Factors CHAPTER OUTLINE
Two-way ANOVA problems
Presentation transcript:

1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture #10 Testing the Statistical Significance of Factor Effects

2 Fixed Effects Analysis of Variance Assumptions Levels of the factors are preselected and the only ones for which inferences are desired Levels of the factors are preselected and the only ones for which inferences are desired The ANOVA model contains parameters for all main effects and interactions that might change the mean response The ANOVA model contains parameters for all main effects and interactions that might change the mean response Experimental errors are statistically independent Experimental errors are statistically independent Experimental errors are normally distributed, with mean 0 and constant standard deviation Experimental errors are normally distributed, with mean 0 and constant standard deviation

3 Flow Rate Experiment MGH Fig 6.1

4 Flow Rate Experiment ABCD Average Flow Rate Constant Standard Deviation Reasonable Constant Standard Deviation Reasonable Filter Type 0.35

Flowrate Residual Standard Normal Quantile Normal Quantile Plot of Flowrate Residuals Normality Reasonable

6 Statistical Tests for (Fixed) Main Effects and Interactions : Balanced Complete Factorials Distributional Properties SS A & SS E are statistically independent lecture8QF.ppt

7 Statistical Tests for (Fixed) Main Effects and Interactions : Balanced Complete Factorials iff  1 =... =  a = 0 lecture8QF.ppt

8 Testing Factor Effects Simultaneous Test for Main Effects y ij =  +  i + e ij i = 1,..., a; j = 1,..., r Single-Factor Model H 0 :  1 =  2 =... =  a vs. H a :  i  j for some (i,j) Equivalent lecture8QF.ppt

9 Analysis of Variance for the Flow Rate Data MGH Table 6.5 Conclusion ?

10 Extra Sum of Squares Hierarchy Principle An interaction is included only if ALL main effects and lower-order interactions involving the interaction factors are included in the model and analysis Full Model All hierarchical model terms Reduced Model One or more model terms deleted All remaining model terms are hierarchical

11 Hierarchical Models

12 Extra Sum of Squares F-Test for Hierarchical Models For balanced designs, F Tests for fixed effects derived from QF, mean squares, and ESS are identical

13 Where Are We? Multifactor Experiments Complete Factorial Experiments Completely Randomized Designs Check Model Assumptions – Carefully! Constant variance: scatterplots, boxplots, standard deviations vs. averages Normal Distribution: maybe quantile plots if r > 2 If r = 2, residuals are equal and opposite in sign Analysis of Variance to assess overall main effects and interactions Next: Comparison of factor level effects

14 Mean Comparisons Which filter flowrate averages are significantly different from one another ? Which filter flowrate averages are significantly different from one another ? Which filter flowrate means are different from one another ? Which filter flowrate means are different from one another ?

15 Mean Comparisons Which temperature and catalyst averages are significantly different from one another ? Which temperature and catalyst averages are significantly different from one another ? Which temperature and catalyst means are different from one another ? Which temperature and catalyst means are different from one another ?

16 Flow Rate Data Pairwise Comparisons Problem 6 Tests, Each at  = 0.05 Problem 6 Tests, Each at  = 0.05

17 General Method for Quantifying Factor Main Effects and Interactions Main Effects for Factor A Main Effects for Factor B Interaction Effects for Factors A & B Change in average response due to changes in the levels of Factor A Change in average response due to changes in the levels of Factor B Change in average response due joint changes in Factors A & B in excess of changes in the main effects

18 Normal Distribution Theory Multivariate Normal Distribution lecture8QF.ppt

19 Normal Distribution Theory Marginal Distributions P n - p Linear Transformations

20 General Result

21 Individual Prespecified Comparisons (Single-factor Model Used for Illustration) Ho:  =  0 vs Ha:   0 Reject Ho if | t | > t  /2 Very general result MGH Sec 6.2.2

22 Pairwise Comparisons Specific application Specific application Ho:  i  i’ vs Ha:  i  i’ Reject Ho if | t | > t  /2 Ordinary t-Test

23 Algebraic Main Effects Representation Two Factors, Two Levels (No Repeats for Simplicity)

24 Algebraic Main Effects Representation y = (y 11 y 12 y 21 y 22 ) m A = ( ) Contrast Two Factors, Two Levels (No Repeats for Simplicity) MGH Sec 5.3

25 Algebraic Main Effects Representation y = (y 11 y 12 y 21 y 22 ) m A = ( ) M(B) = m B ’y /2 m B = ( ) Two Factors, Two Levels (No Repeats for Simplicity)

26 Algebraic Interaction Effects Representation y = (y 11 y 12 y 21 y 22 ) m AB = ( ) Two Factors, Two Levels (No Repeats for Simplicity)

27 Effects Representation : Two-Level, Two-Factor Factorial Factor Levels: Lower = - 1 Upper = +1 Factor Levels Effects Representation Factor AFactor B A B AB Lower Upper Lower Upper Lower Upper Note: AB = A x B MGH Table 5.6 Mutually Orthogonal Contrasts Mutually Orthogonal Contrasts

28 Two-Level Complete Factorial Effects Representation Designate one factor level as -1, the other as +1 Lay out a table with column headings for each factor (e.g., A, B,...) n = 2 k (k = # factors) Lay out the main effects representation A: first n/2 values equal -1, last n/2 values equal +1 B: first n/4 values equal -1, next n/4 equal +1, next n/4 equal -1, last n/4 equal K: alternate -1 and +1 values Interaction effects representation Multiply the corresponding main effects column values MGH Exhibit 5.5

29 Pilot Plant Chemical-Yield Study MGH Table 5.7

30 Calculated Effects y = Vector of averages across repeats (response vector if r = 1) m = Effects representation vector Effect = m’ y / 2 k-1

31 Pilot Plant Chemical-Yield Study s e = SE EFFECT = s e (8/[2 x {2 (3-1) } 2 ]) 1/2 = 2.8/2 = MGH Table 5.7 Mutually Orthogonal Contrasts Mutually Orthogonal Contrasts

32 Pilot Plant Chemical-Yield Study MGH Table 6.4 Conclusion ?

33

34 Note: 6 Treatments x 8 Blocks x ( 2 – 1 ) = 48 df for Error from Repeats

35 Note: Block Averages and Block Variability Increase Together

36 Note: Perfect Symmetry Since r = 2

37 Note: Averages Change but Variability is RelativelyConstant

38 Conclusions ?

39 Should only the statistically significant effects be kept in the model ?

40