Three or More Factors: Latin Squares

Slides:



Advertisements
Similar presentations
Chapter 4Design & Analysis of Experiments 7E 2009 Montgomery 1 Experiments with Blocking Factors Text Reference, Chapter 4 Blocking and nuisance factors.
Advertisements

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
Design and Analysis of Experiments
Nested Designs Study vs Control Site. Nested Experiments In some two-factor experiments the level of one factor, say B, is not “cross” or “cross classified”
Design and Analysis of Experiments
Design of Engineering Experiments - Experiments with Random Factors
Chapter 5 Introduction to Factorial Designs
Statistics for Managers Using Microsoft® Excel 5th Edition
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.
Chapter 3 Analysis of Variance
Every achievement originates from the seed of determination. 1Random Effect.
1 Chapter 5 Introduction to Factorial Designs Basic Definitions and Principles Study the effects of two or more factors. Factorial designs Crossed:
Outline Single-factor ANOVA Two-factor ANOVA Three-factor ANOVA
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 11 Multifactor Analysis of Variance.
Biostatistics-Lecture 9 Experimental designs Ruibin Xi Peking University School of Mathematical Sciences.
Factorial Experiments
Analysis of Variance Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
Latin Square Designs. Selected Latin Squares 3 x 34 x 4 A B CA B C DA B C DA B C DA B C D B C AB A D CB C D AB D A CB A D C C A BC D B AC D A BC A D BC.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Comparing Three or More Means 13.
The Randomized Block Design. Suppose a researcher is interested in how several treatments affect a continuous response variable (Y). The treatments may.
Factorial Experiments Analysis of Variance (ANOVA) Experimental Design.
Chapter 10 Analysis of Variance.
Repeated Measures Designs. In a Repeated Measures Design We have experimental units that may be grouped according to one or several factors (the grouping.
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.
Psych 5500/6500 Other ANOVA’s Fall, Factorial Designs Factorial Designs have one dependent variable and more than one independent variable (i.e.
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.
DOX 6E Montgomery1 Design of Engineering Experiments Part 9 – Experiments with Random Factors Text reference, Chapter 13, Pg. 484 Previous chapters have.
Design Of Experiments With Several Factors
1 Nested (Hierarchical) Designs In certain experiments the levels of one factor (eg. Factor B) are similar but not identical for different levels of another.
1 Every achievement originates from the seed of determination.
1 Always be mindful of the kindness and not the faults of others.
Lack of Fit (LOF) Test A formal F test for checking whether a specific type of regression function adequately fits the data.
1 Analysis of Variance & One Factor Designs Y= DEPENDENT VARIABLE (“yield”) (“response variable”) (“quality indicator”) X = INDEPENDENT VARIABLE (A possibly.
1 Always be contented, be grateful, be understanding and be compassionate.
Solutions. 1.The tensile strength of concrete produced by 4 mixer levels is being studied with 4 replications. The data are: Compute the MS due to mixers.
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.
1 Orthogonality One way to delve further into the impact a factor has on the yield is to break the Sum of Squares (SSQ) into “orthogonal” components. If.
Latin Square Designs KNNL – Sections Description Experiment with r treatments, and 2 blocking factors: rows (r levels) and columns (r levels)
Chapter 13 Complete Block Designs. Randomized Block Design (RBD) g > 2 Treatments (groups) to be compared r Blocks of homogeneous units are sampled. Blocks.
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 18 Random Effects.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
ONE WAY ANALYSIS OF VARIANCE ANOVA o It is used to investigate the effect of one factor which occurs at h levels (≥3). Example: Suppose that we wish to.
Chapter 13 Design of Experiments. Introduction “Listening” or passive statistical tools: control charts. “Conversational” or active tools: Experimental.
McGraw-Hill, Bluman, 7th ed., Chapter 12
Analysis of Variance Analysis of Variance (AOV) was originally devised within the realm of agricultural statistics for testing the yields of various crops.
IE241: Introduction to Design of Experiments. Last term we talked about testing the difference between two independent means. For means from a normal.
Copyright © Cengage Learning. All rights reserved. 11 Multifactor Analysis of Variance.
Copyright © Cengage Learning. All rights reserved. 11 Multifactor Analysis of Variance.
Chapter 9 More Complicated Experimental Designs. Randomized Block Design (RBD) t > 2 Treatments (groups) to be compared b Blocks of homogeneous units.
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
1 Mixed and Random Effects Models 1-way ANOVA - Random Effects Model 1-way ANOVA - Random Effects Model 2-way ANOVA - Mixed Effects Model 2-way ANOVA -
1 Love does not come by demanding from others, but it is a self initiation.
Joyful mood is a meritorious deed that cheers up people around you like the showering of cool spring breeze.
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.
General Full Factorial Design
Two Factor ANOVA Copyright (c) 2008 by The McGraw-Hill Companies. This material is intended solely for educational purposes by licensed users of LearningStats.
The greatest blessing in life is in giving and not taking.
Comparing Three or More Means
Nested Designs Study vs Control Site.
Topics Randomized complete block design (RCBD) Latin square designs
Chapter 5 Introduction to Factorial Designs
Chapter 11 Analysis of Variance
An overview of the design and analysis of experiments
More Complicated Experimental Designs
Latin Square Designs KNNL – Sections
The Analysis of Variance
A Bestiary of ANOVA tables
Chapter 15 Analysis of Variance
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

Three or More Factors: Latin Squares Example: Three factors, A (block factor), B (block factor), and C (treatment factor), each at three levels. A possible arrangement: B B B 1 2 3 C C C A 1 1 1 1 A C C C 2 2 2 2 A C C C 3 3 3 3

Notice, first, that these designs are squares; all factors are at the same number of levels, though there is no restriction on the nature of the levels themselves. Notice, that these squares are balanced: each letter (level) appears the same number of times; this insures unbiased estimates of main effects. How to do it in a square? Each treatment appears once in every column and row. Notice, that these designs are incomplete; of the 27 possible combinations of three factors each at three levels, we use only 9.

Example: Three factors, A (block factor), B (block factor), and C (treatment factor), each at three levels, in a Latin Square design; nine combinations. B B B 1 2 3 C C C A 1 2 3 1 A C C C 2 2 3 1 A C C C 3 3 1 2

Example with 4 Levels per Factor FACTORS VARIABLE Automobiles A four levels Tire positions B four levels Tire treatments C four levels Lifetime of a tire (days) A 1 2 3 4 B C 8 5 7 9 6

The Model for (Unreplicated) Latin Squares Example: Three factors r , t and g each at m levels  i = 1,... m y      = + + + + j = 1, ... , m ijk j k ijk i Y = A + B + C + e k ... , = 1, m AB, AC, BC, ABC Note that interaction is not present in the model. Same three assumptions: normality, constant variances, and randomness.

Putting in Estimates: y = y + ( y – y ) + ( y – y ) + ( y – y ) + R y ijk ... i .. ... . j . ... .. k ... or bringing y••• to the left – hand side , ( y – y ) = ( y – y ) + ( y – y ) + ( y – y ) + R , ijk ... i .. ... . j . ... .. k ... Variability among yields associated with Rows Variability among yields associated with Columns Variability among yields associated with Inside Factor Total variability among yields = + + y – y – y – y + 2 y where R = ijk i .. . j . .. k ...

An “interaction-like” term. (After all, there’s no replication!) Actually, R = y - y - y - y + 2 y ijk i .. . j . .. k ... = ( y - y ) ( y - y ) - ijk ... i .. ... y y ) - ( - . j . ... - ( y - y ), .. k ... An “interaction-like” term. (After all, there’s no replication!)

The analysis of variance (omitting the mean squares, which are the ratios of second to third entries), and expectations of mean squares: S o u r c e o f S u m o f D e g r e e s o f E x p e c t e d v a r i a t i o n s q u a r e s f r e e d o m v a l u e o f m e a n s q u a r e   R o w s m  m – 1  2 + V m ( y – y ) 2 Rows i .. ...  i = 1  C o l u m n s m  m – 1  2 + V m ( y – y ) 2 Col . j . ...  j = 1  I n s i d e m  m – 1  2 + V m ( y – y ) 2 Inside factor f a c t o r .. k ... k = 1  b y s u b t r a c t i o n ( m – 1)( m – 2)  2 Error  T o t a l    ( y – y ) 2 m 2 – 1 ijk ... i j k

The expected values of the mean squares immediately suggest the F ratios appropriate for testing null hypotheses on rows, columns and inside factor.

(Inside factor = Tire Treatment) Our Example: (Inside factor = Tire Treatment) Tire Position Auto.

General Linear Model: Lifetime versus Auto, Postn, Trtmnt Factor Type Levels Values Auto fixed 4 1 2 3 4 Postn fixed 4 1 2 3 4 Trtmnt fixed 4 1 2 3 4 Analysis of Variance for Lifetime, using Adjusted SS for Tests Source DF Seq SS Adj SS Adj MS F P Auto 3 17567 17567 5856 2.17 0.192 Postn 3 4679 4679 1560 0.58 0.650 Trtmnt 3 26722 26722 8907 3.31 0.099 Error 6 16165 16165 2694 Total 15 65132 Unusual Observations for Lifetime Obs Lifetime Fit SE Fit Residual St Resid 11 784.000 851.250 41.034 -67.250 -2.12R

SPSS/Minitab DATA ENTRY VAR1. VAR2. VAR3. VAR4 855. 1. 1. 4 962. 2. 1

Latin Square with REPLICATION Case One: using the same rows and columns for all Latin squares. Case Two: using different rows and columns for different Latin squares. Case Three: using the same rows but different columns for different Latin squares.

Treatment Assignments for n Replications Case One: repeat the same Latin square n times. Case Two: randomly select one Latin square for each replication. Case Three: randomly select one Latin square for each replication.

Example: n = 2, m = 4, trtmnt = A,B,C,D Case One: column row 1 2 3 4 A B C D column row 1 2 3 4 A B C D Row = 4 tire positions; column = 4 cars

Row = clinics; column = patients; letter = drugs for flu Case Two column row 1 2 3 4 A B C D column row 5 6 7 8 B C D A Row = clinics; column = patients; letter = drugs for flu

Row = 4 tire positions; column = 8 cars Case Three column row 1 2 3 4 A B C D 5 6 7 8 B C D A Row = 4 tire positions; column = 8 cars

ANOVA for Case 1 SSBR, SSBC, SSBIF are computed the same way as before, except that the multiplier of (say for rows) m (Yi..-Y…)2 becomes mn (Yi..-Y…)2 and degrees of freedom for error becomes (nm2 - 1) - 3(m - 1) = nm2 - 3m + 2  

ANOVA for other cases: SS: please refer to the book, Statistical Principles of research Design and Analysis by R. Kuehl. DF: # of levels – 1 for all terms except error. DF of error = total DF – the sum of the rest DF’s. Using Minitab in the same way can give Anova tables for all cases.

Graeco-Latin Squares m – 1 = m + 1 m – 1 In an unreplicated m x m Latin square there are m2 yields and m2 - 1 degrees of freedom for the total sum of squares around the grand mean. As each studied factor has m levels and, therefore, m-1 degrees of freedom, the maximum number of factors which can be accommodated, allowing no degree of freedom for factors not studied, is A design accommodating the maximum number of factors is called a complete Graeco-Latin square: m – 1 2 = m + 1 m – 1

Example 1: m=3; four factors can be accommodated

Example 2: m = 5; six factors can be accommodated

In an unreplicated complete Graeco-Latin square all degrees of freedom are used up by factors studied. Thus, no estimate of the effect of factors not studied is possible, and analysis of variance cannot be completed.

But, consider incomplete Graeco-Latin Squares: b1 b2 b3 b4 b5 a1 c1d1 c2d2 c3d3 c4d4 c5d5 a2 c2d3 c3d4 c4d5 c5d1 c1d2 a3 c3d5 c4d1 c5d2 c1d3 c2d4 a4 c4d2 c5d3 c1d4 c2d5 c3d1 a5 c5d4 c1d5 c2d1 c3d2 c4d3

We test 4 different Hypotheses. ANOVA TABLE SOURCE SSQ df A B C D Error SSBA SSBB SSBC SSBD SSW 4 8 • by Subtraction TSS 24