Suppose we needed four batches of formaldehyde, and coulddoonly4runsperbatch. Thisisthena2 4 factorial in 2 2 blocks.

Similar documents
19. Blocking & confounding

23. Fractional factorials - introduction

ST3232: Design and Analysis of Experiments

Unreplicated 2 k Factorial Designs

Answer Keys to Homework#10

Assignment 9 Answer Keys

20g g g Analyze the residuals from this experiment and comment on the model adequacy.

Fractional Factorial Designs

CSCI 688 Homework 6. Megan Rose Bryant Department of Mathematics William and Mary

Reference: CHAPTER 7 of Montgomery(8e)

2 k, 2 k r and 2 k-p Factorial Designs

Chapter 11: Factorial Designs

Contents. TAMS38 - Lecture 8 2 k p fractional factorial design. Lecturer: Zhenxia Liu. Example 0 - continued 4. Example 0 - Glazing ceramic 3

Fractional Factorial Designs

Unit 9: Confounding and Fractional Factorial Designs

CS 5014: Research Methods in Computer Science

TWO-LEVEL FACTORIAL EXPERIMENTS: BLOCKING. Upper-case letters are associated with factors, or regressors of factorial effects, e.g.

The One-Quarter Fraction

The 2 k Factorial Design. Dr. Mohammad Abuhaiba 1

Advanced Digital Design with the Verilog HDL, Second Edition Michael D. Ciletti Prentice Hall, Pearson Education, 2011

2.830J / 6.780J / ESD.63J Control of Manufacturing Processes (SMA 6303) Spring 2008

Lecture 11: Blocking and Confounding in 2 k design

a) Prepare a normal probability plot of the effects. Which effects seem active?

Unit 6: Fractional Factorial Experiments at Three Levels

Experimental design (DOE) - Design

Institutionen för matematik och matematisk statistik Umeå universitet November 7, Inlämningsuppgift 3. Mariam Shirdel

Reference: Chapter 6 of Montgomery(8e) Maghsoodloo

CS 5014: Research Methods in Computer Science. Experimental Design. Potential Pitfalls. One-Factor (Again) Clifford A. Shaffer.

Written Exam (2 hours)

Confounding and fractional replication in 2 n factorial systems

R version ( ) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN

Math Treibergs. Peanut Oil Data: 2 5 Factorial design with 1/2 Replication. Name: Example April 22, Data File Used in this Analysis:

Strategy of Experimentation II

The hypergeometric distribution - theoretical basic for the deviation between replicates in one germination test?

Fractional Replications

Geometry Problem Solving Drill 08: Congruent Triangles

APPENDIX 1. Binodal Curve calculations

3.4. A computer ANOVA output is shown below. Fill in the blanks. You may give bounds on the P-value.

Soo King Lim Figure 1: Figure 2: Figure 3: Figure 4: Figure 5: Figure 6: Figure 7: Figure 8: Figure 9: Figure 10: Figure 11: Figure 12: Figure 13:

STAT451/551 Homework#11 Due: April 22, 2014

Chapter 30 Design and Analysis of

These are multifactor experiments that have

Stat 217 Final Exam. Name: May 1, 2002

Homework 04. , not a , not a 27 3 III III

MODELS WITHOUT AN INTERCEPT

Strategy of Experimentation III

Fractional designs and blocking.

CHAPTER 3 BOOLEAN ALGEBRA

Session 3 Fractional Factorial Designs 4

Higher Order Factorial Designs. Estimated Effects: Section 4.3. Main Effects: Definition 5 on page 166.

CHAPTER 5 KARNAUGH MAPS

TMA4267 Linear Statistical Models V2017 (L19)

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps

Karnaugh Maps Objectives

Chapter 13 Experiments with Random Factors Solutions

COM111 Introduction to Computer Engineering (Fall ) NOTES 6 -- page 1 of 12

Confounding and Fractional Replication in Factorial Design

Lecture 10: 2 k Factorial Design Montgomery: Chapter 6

TWO-LEVEL FACTORIAL EXPERIMENTS: REGULAR FRACTIONAL FACTORIALS

Solution to Final Exam

Design and Analysis of Experiments

Design theory for relational databases

Design and Analysis of

IE 361 Exam 3 (Form A)

STAT22200 Spring 2014 Chapter 14

Design of Experiments SUTD - 21/4/2015 1

Chapter 6 The 2 k Factorial Design Solutions

Mapping QTL to a phylogenetic tree

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

Reference: Chapter 8 of Montgomery (8e)

Nesting and Mixed Effects: Part I. Lukas Meier, Seminar für Statistik

MATH 556 Homework 13 Due: Nov 21, Wednesday

UNIT 3 BOOLEAN ALGEBRA (CONT D)

USE OF COMPUTER EXPERIMENTS TO STUDY THE QUALITATIVE BEHAVIOR OF SOLUTIONS OF SECOND ORDER NEUTRAL DIFFERENTIAL EQUATIONS

Statistics GIDP Ph.D. Qualifying Exam Methodology May 26 9:00am-1:00pm

Construction of Mixed-Level Orthogonal Arrays for Testing in Digital Marketing

Multiple Predictor Variables: ANOVA

Design and Analysis of Multi-Factored Experiments

Chapter 2. Digital Logic Basics

Statistics GIDP Ph.D. Qualifying Exam Methodology May 26 9:00am-1:00pm

Lecture 7: Karnaugh Map, Don t Cares

Statistics for EES Factorial analysis of variance

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits

Blocks are formed by grouping EUs in what way? How are experimental units randomized to treatments?

A Study on Factorial Designs with Blocks Influence and Inspection Plan for Radiated Emission Testing of Information Technology Equipment

Design and Analysis of Multi-Factored Experiments

Lecture 12: Feb 16, 2017

Multiple Regression: Example

R version ( ) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN

Chapter 10 Exercise 10.1

Probability Distribution

Amount of Weight Gained. Regained 5 lb or Less Regained More Than 5 lb Total. In Person Online Newsletter

FRACTIONAL FACTORIAL

Two-Level Fractional Factorial Design

Lecture 12: 2 k Factorial Design Montgomery: Chapter 6

Design & Analysis of Experiments 7E 2009 Montgomery

Statistical Design and Analysis of Experiments Part Two

Statistics 512: Solution to Homework#11. Problems 1-3 refer to the soybean sausage dataset of Problem 20.8 (ch21pr08.dat).

Solutions to Exercises


Transcription:

58 2. 2 factorials in 2 blocks Suppose we needed four batches of formaldehyde, and coulddoonly4runsperbatch. Thisisthena2 4 factorial in 2 2 blocks. Some more algebra: If two effects are confounded with blocks, then so is their product, which is defined by multiplication mod 2 : 0 = 2 = = E.g. = 2 =. Pick two effects to be confounded with blocks: and. Then also = is confounded. We wouldn t pick and, since =.

59 For the choices and we have = + 2 + 3 +0 4 = + 2 + 3 2 = + 2 + 3 + 4 = + 3 + 4 with () a b ab c ac bc abc 0 0 0 0 2 0 0 0 0 Block I IV II III IV I III II d ad bd abd cd acd bcd abcd 0 0 0 0 2 0 0 0 0 Block III II IV I II III I IV Block I : () Block II : Block III : Block IV :

A B C D blocks ABC ACD BD y - - - - - - 25 2 - - - 4 7 3 - - - 2 - - 48 4 - - 3 - - 45 5 - - - 4 68 6 - - - - 40 7 - - 3 - - 60 8-2 - - 65 9 - - - 3 - - 43 0 - - 2 - - 80 - - 4 25 2 - - - 4 3 - - 2 - - 55 4-3 - - 86 5 - - - 20 6 4 76 60

6 > g <- lm(y ~blocks + A + B + C + D + A*B + A*C + A*D + B*C + C*D + A*B*D + B*C*D + A*B*C*D) > anova(g) Analysis of Variance Table Response: y Df Sum Sq Mean Sq F value Pr(>F) blocks 3 3787.7 262.6 A 05.6 05.6 B 826.6 826.6 C 885. 885. D 33. 33. A:B 95. 95. A:C.6.6 A:D 540.6 540.6 B:C 27.6 27.6 C:D 60. 60. A:B:D 3. 3. B:C:D 22.6 22.6 A:B:C:D 5. 5. Residuals 0 0.0

62 Normal Q Q Plot Sample Quantiles 0 0 20 30 40 50 A:C A:B C:D D B:C:D A:B:D A:B:C:D B blocks3 blocks2 A:D B:C C A blocks4 0 Theoretical Quantiles Fig. 7.2. Half normal plot for 2 4 factorial in 2 2 blocks. Itlookslikewecandropthemaineffect of D if we keep some of its interactions.

63 R will, by default, estimate a main effect if an interaction is in the model. To fit blocks, A, B, C, AB, AD, BC, CD but not D, we can add the SS and df for D to those for Error. > h <- lm(y ~blocks + A + B + C + B*C + A*B + A*D + C*D) > anova(h) Df Sum Sq Mean Sq F value Pr(>F) blocks 3 3787.7 262.6 56.5969 0.000333 *** A 05.6 05.6 37.240 0.0003042 *** B 826.6 826.6 02.594 0.0005356 *** C 885. 885. 09.7752 0.0004690 *** D 33. 33. 4.008 0.28484 B:C 27.6 27.6 26.9845 0.006540 ** A:B 95. 95..7907 0.0264444 * A:D 540.6 540.6 67.0465 0.0027 ** C:D 60. 60. 7.4496 0.0524755. Residuals 4 32.3 8. This would change to (32 3+33 ) 5 =3 08 on 5 d.f. - not a helpful step (since was larger than ).

64 mean of y 40 45 50 55 60 65 70 B mean of y 35 40 45 50 55 60 65 D A A mean of y 35 40 45 50 55 60 C mean of y 40 45 50 55 60 D B C Fig. 7.3. Interaction plots. The best combination seemstobea,c,dhigh,blow.

65 22. Partial confounding To get an estimate of error, we have to either drop certain effects from the model, or replicate the design. If we replicate, we can either: Confoundthesameeffects with blocks in each replication - complete confounding, or Confound different effects with each replication - partial confounding. Partial confounding is often better, since we then get estimates of effects from the replications in which they are not confounded.

66 Example 7-3 from text. Two replicates of a 2 3 factorial are to be run, in 2 block each. Replicate : Confound ABC with blocks. So = + 2 + 3 =0for() and =for Replicate 2: Confound AB with blocks. So = + 2 =0for() and = for Rep Rep2 Block Block 2 Block 3 Block 4 () = 550 = 669 () = 604 =650 =642 = 633 = 052 = 60 =749 = 037 =635 =868 = 075 =729 =860 =063

67 A B C Rep Block ABC AB y - - - I - 550 2 - I - 642 3 - I - - 749 4 - I - - 075 5 - - I 2-669 6 - - I 2-633 7 - - I 2 037 8 I 2 729 9 - - - II 3-604 0 - - II 3 052 - II 3-635 2 II 3 860 3 - - II 4-650 4 - - II 4-60 5 - II 4 - - 868 6 - II 4 - - 063 When the levels of one factor (Blocks) make sense only within the levels of another factor (Replicates) we say that the first is nested within the second. A waytoindicatethisinrisas:

> h <- lm(y ~Rep + Block%in%Rep + A + B + C + A*B + A*C + B*C + A*B*C) > anova(h) Analysis of Variance Table 68 Response: y Df Sum Sq Mean Sq F value Pr(>F) Rep 3875 3875.59 0.27255 A 43 43 6.94 0.00079 * B 28 28 0.0853 0.78987 C 374850 374850 46.9446 6.75e-05 *** Rep:Block 2 458 229 0.0898 0.95560 A:B 3528 3528.3830 0.292529 A:C 94403 94403 37.0066 0.00736 ** B:C 8 8 0.007 0.936205 A:B:C 6 6 0.0024 0.96286 Residuals 5 2755 255 Through the partial confounding we are able to estimate all interactions. It looks like only A, C, and AC are significant.

69 resids 40 0 40 resids 40 0 40.0.2.4.6.8 2.0 c(a).0.2.4.6.8 2.0 c(c) resids 40 0 40 resids 40 0 40.0.2.4.6.8 2.0 c(b).0.5 2.0 2.5 3.0 3.5 4.0 c(block) Normal Q Q Plot resids 40 0 40 Sample Quantiles 40 0 40 600 700 800 900 000 00 fits 2 0 2 Theoretical Quantiles Fig. 7.4. Residuals for fit to A, C, and AC only.

70 mean of y 650 700 750 800 850 900 II I 4 3 2 A B C Block mean of y 600 700 800 900 000 A Factors C Fig. 7.5. Design and interactions. How is ( ) computed? One way is to compute in Rep I, where this effect is confounded with blocks, and similarly in

7 RepII,andaddthem: " # 2 (550 + + 075) +(669+ +729) = 8 = 338 = =20 25 ( ) = 338 + 20 25 = 458 25 in agreement with the ANOVA output. See the programme on the course web site to see how to do this calculation very easily. Another method goes back to general principles. We calculate a SS for blocks within each replicate (since blocks make sense only within the replicates): ( ) =4 X X ³ 2 =458 25 = 2 = 2 Here is the average in block of replicate, and is the overall average of that replicate, which is the only one in which that block makes sense. See the R calculation.