Lecture 9: Factorial Design Montgomery: chapter 5
|
|
- Myra Crawford
- 5 years ago
- Views:
Transcription
1 Lecture 9: Factorial Design Montgomery: chapter 5 Page 1
2 Examples Example I. Two factors (A, B) each with two levels (, +) Page 2
3 Three Data for Example I Ex.I-Data 1 A B ,33 51,51 18,22 39,41 EX.I-Data 2 A B ,42 10,14 19,21 53,47 EX.I-Data 3 A B ,33 62,68 21,21 38,42 Page 3
4 Example II: Battery life experiment An engineer is studying the effective life of a certain type of battery. Two factors, plate material and temperature, are involved. There are three types of plate materials (1, 2, 3) and three temperature levels (15, 70, 125). Four batteries are tested at each combination of plate material and temperature, and all 36 tests are run in random order. The experiment and the resulting observed battery life data are given below. temperature material ,155,74,180 34,40,80,75 20,70,82, ,188,159, ,122,106,115 25,70,58, ,110,168, ,120,150,139 96,104,82,60 Page 4
5 Example III: Bottling Experiment A soft drink bottler is interested in obtaining more uniform fill heights in the bottles produced by his manufacturing process. An experiment is conducted to study three factors of the process, which are the percent carbonation (A): the operating pressure (B): the line speed (C): 10, 12, 14 percent 25, 30 psi 200, 250 bpm The response is the deviation from the target fill height. Each combination of the three factors has two replicates and all 24 runs are performed in a random order. The experiment and data are shown below. Page 5
6 pressure(b) 25 psi 30 psi LineSpeed(C) LineSpeed(C) Carbonation(A) ,-1-1,0-1,0 1, , 1 2,1 2,3 6,5 14 5,4 7,6 7,9 10,11 Page 6
7 Factorial Design a number of factors: F 1,F 2,...,F r. each with a number of levels: l 1, l 2,..., l r number of all possible level combinations (treatments): l 1 l 2... l r interested in (main) effects, 2-factor interactions (2fi), 3-factor interactions (3fi), etc. One-factor-a-time design as the opposite of factorial design. Advantages of factorial over one-factor-a-time more efficient (runsize and estimation precision) able to accommodate interactions results are valid over a wider range of experimental conditions Page 7
8 Statistical Model (Two Factors: A and B) Statistical model is y ijk = µ + τ i + β j +(τβ) ij + ɛ ijk µ - grand mean i =1, 2,...,a j =1, 2,...,b k =1, 2,...,n τ i - ith level effect of factor A (ignores B) (main effects of A) β j - jth level effect of factor B (ignores A) (main effects of B) (τβ) ij - interaction effect of combination ij (Explain variation not explained by main effects) ɛ ijk N(0,σ 2 ) Over-parameterized model: must include certain parameter constraints. Typically i τ i =0 j β j =0 i (τβ) ij =0 j (τβ) ij =0 Page 8
9 Estimates Rewrite observation as: y ijk = y... +(y i.. y... )+(y.j. y... )+(y ij. y i.. y.j. + y... )+(y ijk y ij. ) result in estimates µ = y... τ i = y i.. y... β j = y.j. y... (τβ) ij = y ij. y i.. y.j. + y... predicted value at level combination ij is ŷ ijk = y ij. Residuals are ˆɛ ijk = y ijk y ij. Page 9
10 Partitioning the Sum of Squares Based on y ijk = y... +(y i.. y... )+(y.j. y... )+(y ij. y i.. y.j. + y... )+(y ijk y ij. ) Calculate SS T = (y ijk y... ) 2 Right hand side simplifies to SS A : bn i (y i.. y... )2 + df = a 1 SS B : an j (y.j. y... )2 + df = b 1 SS AB : n i j (y ij. y i. y.j + y.. )2 + df =(a 1)(b 1) SS E : i j k (y ijk y ij. ) 2 df = ab(n 1) SS T =SS A +SS B +SS AB +SS E Using SS/df leads to MS A,MS B, MS AB and MS E. Page 10
11 Testing Hypotheses 1 Main effects of A: H 0 : τ 1 =...= τ a =0vs H 1 : at least one τ i 0. 2 Main effects of B: H 0 : β 1 =...= β b =0vs H 1 : at least one β j 0. 3 Interaction effects of AB: E(MS E )=σ 2 H 0 :(αβ) ij =0for all i, j vs H 1 : at least one (τβ) ij 0. E(MS A )=σ 2 + bn τ 2 i /(a 1) E(MS B )=σ 2 + an βj 2 /(b 1) E(MS AB )=σ 2 + n (τβ) 2 ij /(a 1)(b 1) Use F-statistics for testing the hypotheses above: 1: F 0 = SS A/(a 1) SS E /(ab(n 1)) 2: F 0 = SS B/(b 1) SS E /(ab(n 1)) 3: F 0 = SS AB/(a 1)(b 1) SS E /(ab(n 1)) Page 11
12 Analysis of Variance Table Source of Sum of Degrees of Mean F 0 Variation Squares Freedom Square Factor A SS A a 1 MS A F 0 Factor B SS B b 1 MS B F 0 Interaction SS AB (a 1)(b 1) MS AB F 0 Error SS E ab(n 1) MS E Total SS T abn 1 SS T = y 2 ijk y2.../abn; SS A = 1 bn y 2 i.. y 2.../abn SS B = 1 an y 2.j. y 2.../abn; SS subtotal = 1 n y 2 ij. y 2.../abn SS AB =SS subtotal SS A SS B ; SS E =Subtraction df E > 0 only if n>1. When n =1,noSS E is available so we cannot test the effects. If we can assume that the interactions are negligible ((τβ) ij =0), MS AB becomes a good estimate of σ 2 and it can be used as MS E. Caution: if the assumption is wrong, then error and interaction are confounded and testing results can go wrong. Page 12
13 Battery Life Example data battery; input mat temp life; datalines; : : : : : : ; proc glm; class mat temp; model life=mat temp mat*temp; output out=batnew r=res p=pred; run; Page 13
14 Dependent Variable: life Sum of Source DF Squares Mean Square F Value Pr > F Model <.0001 Error Cor Total R-Square Coeff Var Root MSE life Mean Source DF Type I SS Mean Square F Value Pr > F mat temp <.0001 mat*temp Page 14
15 Checking Assumptions 1 Errors are normally distributed Histogram or QQplot of residuals 2 Constant variance Residuals vs ŷ ij. plot, Residuals vs factor A plot and Residuals vs factor B 3 If n=1, no interaction. Tukey s Test of Nonadditivity Assume (τβ) ij = γτ i β j. H 0 : γ =0. SS N = [ y ij y i. y.j y.. (SS A +SS B + y 2../ab)] 2 abss A SS B F 0 = SS N /1 (SS E SS N )/((a 1)(b 1) 1) F 1,(a 1)(b a) 1 the convenient procedure used for RCBD can be employed. Page 15
16 Page 16
17 Page 17
18 Effects Estimation (Battery Experiment) 0. ˆµ=ȳ... = Treatment mean response, or cell mean, or predicted value, ŷ ij =ˆµ ij =ȳ ij. =ˆµ +ˆτ i + ˆβ j + ˆ (τβ) ij temperature material Factor level means row means ȳ i.. for A; column means ȳ.j. for B. material : ȳ 1.. =83.166, ȳ 2.. = , ȳ 3.. = temperature : ȳ.1. = , ȳ.2. = , ȳ.3. = Page 18
19 3. Main effects estimates ˆτ 1 = , ˆτ 2 =2.8055, ˆτ 3 = ˆβ 1 = , ˆβ 2 =2.0555, ˆβ 3 = Interactions ( ˆ (τβ) ij ) temperature material Page 19
20 Understanding Interactions Example I Data 1: A B resp; Dependent Variable: resp Sum of Source DF Squares Mean Square F Value Pr > F A B A*B Error Cor Total Page 20
21 Interaction plot for A and B (No Interaction) mean of y B A Difference between level means of B (with A fixed at a level) does not depend on the level of A; demonstrated by two parallel lines. Page 21
22 Example I Data 2 A B resp Sum of Source DF Squares Mean Square F Value Pr > F A B A*B Error Cor Total Page 22
23 Interaction Plot for A and B (Antagonistic Interaction from B to A) mean of y B A Difference between level means of B (with A fixed at a level) depends on the level of A. If the trend of mean response over A reverses itself when B changes from one level to another, the interaction is said to be antagonistic from B to A. Demonstrated by two unparallel lines with slopes of opposite signs. Page 23
24 Example I Data 3 A B resp Sum of Source DF Squares Mean Square F Value Pr > F A B A*B Error Co Total Page 24
25 Interaction Plot for A and B (Synergistic Interaction from B to A) B mean of y A Difference between level means of B (with A fixed at a level) depends on the level of A. If the trend of mean response over A do not change when B changes from one level to another, the interaction is said to be synergistic; demonstrated by two unparallel lines with slopes of the same sign. Page 25
26 Interaction Plot: Battery Experiment data battery; input mat temp life; datalines; ; proc means noprint; var life; by mat temp; output out=batterymean mean=mn; symbol1 v=circle i=join; symbol2 v=square i=join; symbol3 v=triangle i=join; proc gplot; plot mn*temp=mat; run; Page 26
27 Interaction Plot for Material and Temperature Page 27
28 Multiple comparison when factors dont interact When factors dont interact, i.e., the F test for interaction is not significant in the ANOVA, factor level means can be compared to draw conclusions regarding their effects on response. Var(ȳ i.. )= σ2 nb,var(ȳ.j.) = σ2 na For A or rows : Var(ȳ i.. ȳ i..) = 2σ2 nb ; For B or columns : Var(ȳ.j. ȳ.j.)= 2σ2 na Tukey s method For rows: CD = q α(a,ab(n 1)) 2 MSE 2 nb For columns: CD = q α(b,ab(n 1)) 2 MSE 2 na Bonferroni method: CD = t α/2m,ab(n 1) S.E., where S.E. depends on whether for rows or columns. Page 28
29 Level mean comparison when A and B interact: An Example B A ,21 38, ,47 10,14 Compare factor level means of A: ȳ 1.. = ( )/4 =25 ȳ 2.. = ( )/4 =25=ȳ 1.. Does Factor A have effect on the response? Page 29
30 mean of y B A When interactions are present, be careful interpreting factor level means (row or column) comparisons because it can be misleading. Usually, we will directly compare treatment means (or cell means) instead. Page 30
31 Multiple comparisons when factors interact: treatment (cell) mean comparison When factors interact, multiple comparison is usually directly applied to treatment means µ ij = µ + τ i + β j +(τβ) ij vs µ i j = µ + τ i + β j +(τβ) i j ˆµ ij =ȳ ij. and ˆµ ij =ȳ i j. Var(ȳ ij. ȳ i j.)= 2σ2 n there are ab treatment means and m 0 = ab(ab 1) 2 pairs. Tukey s method: CD = q α(ab, ab(n 1)) 2 MSE 2 n Bonferroni s method. CD = t α/2m,ab(n 1) MSE 2 n Page 31
32 SAS Code and Output proc glm data=battery; class mat temp; model life=mat temp mat*temp; means mat temp /tukey lines; lsmeans mat temp/tdiff adjust=tukey; run; ============================================================ The GLM Procedure Least Squares Means Adjustment for Multiple Comparisons: Tukey LSMEAN mat life LSMEAN Number Page 32
33 Least Squares Means for Effect mat t for H0: LSMean(i)=LSMean(j) / Pr > t Dependent Variable: life i/j Page 33
34 Output (continued) Least Squares Means Adjustment for Multiple Comparisons: Tukey LSMEAN temp life LSMEAN Number Least Squares Means for Effect temp t for H0: LSMean(i)=LSMean(j) / Pr > t Dependent Variable: life i/j < < Page 34
35 Output (continued) The GLM Procedure Least Squares Means Adjustment for Multiple Comparisons: Tukey LSMEAN mat temp life LSMEAN Number Page 35
36 Output i/j Page 36
37 Output (continued) i/j Page 37
38 Fitting Response Curves or Surfaces Battery Experiment: Goal: Model the functional relationship between lifetime and temperature at every material level. Page 38
39 Material is qualitative while temperature is quantitative Want to fit the response using effects of material, temperature and their interactions Temperature has quadratic effect. Could use orthogonal polynomials as before. Here we will simply t and t 2. Levels of material need to be converted to dummy variables denoted by x 1 and x 2 as follows. mat x 1 x For convenience, convert temperature to -1,0 and 1 using t = temperature Page 39
40 Fitting Response Curve: Model matrix mat temp ==> x1 x2 t tˆ2 x1*t x2*t x1*tˆ2 x2*tˆ The following model is used: y ijk = β 0 + β 1 x 1 + β 2 x 2 + β 3 t + β 4 x 1 t + β 5 x 2 t + β 6 t 2 + β 7 x 1 t 2 + β 8 x 2 t 2 + ɛ ijk Want to estimate the coefficients: β 0, β 1, β 2,..., β 8 using regression Page 40
41 SAS Code: Battery Life Experiment data life; input mat temp if mat=1 then x1=1; if mat=1 then x2=0; if mat=2 then x1=0; if mat=2 then x2=1; if mat=3 then x1=-1; if mat=3 then x2=-1; t=(temp-70)/55; t2=t*t; x1t=x1*t; x2t=x2*t; x1t2=x1*t2; x2t2=x2*t2; datalines; ; proc reg; model y=x1 x2 t x1t x2t t2 x1t2 x2t2; run; Page 41
42 SAS output Analysis of Variance Sum of Mean Source DF Squares Square F Value Pr > F Model <.0001 Error CorrectedTotal Parameter Estimates Parameter Standard Variable DF Estimate Error t Value Pr > t Intercept <.0001 x <.0001 x t <.0001 x1t x2t t x1t x2t Page 42
43 Results From the SAS output, the fitted model is ŷ = x x t +1.71x 1 t 12.79x 2 t 3.08t x 1 t x 2 t 2 Note that terms with insignificant coefficients are still kept in the fitted model here. In practice, model selection may be employed to remove unimportant terms and choose the best fitted model. But we will not pursue it in this course. The model above are in terms of both x 1, x 2 and t. We can specify the level of material, that is, the values of dummy variable x 1 and x 2, to derive fitted response curves for material at different levels. Page 43
44 Fitted Response Curves Three response curves: Material at level 1 (x 1 =1,x 2 =0) E(y 1t )= t t 2 Material at level 2 (x 1 =0,x 2 =1) E(y 2t ) = t 17.12t 2 Material at level 3 (x 1 = 1,x 2 = 1) Where t = temperature E(y 3t ) = t 31t 2 These curves can be used to predict lifetime of battery at any temperature between 15 and 125 degree. But one needs to be careful about extrapolation. For example, the fitted curve at Material level 1 suggests that lifetime of a battery can be infinity when temperature goes to infinity, which is clearly false. Page 44
45 General Factorial Design and Model Factorial Design - including all possible level combinations a levels of Factor A, b levels of Factor B,... (Straightforward ANOVA if all fixed effects) In 3 factor model nabc observations Need n>1to test for all possible interactions Statistical Model (3 factor) y ijkl = µ + τ i + β j + γ k +(τβ) ij +(βγ) jk +(τγ) ik +(τβγ) ijk + ɛ ijkl i =1, 2,...,a j =1, 2,...,b k =1, 2,...,c l =1, 2,...,n Page 45
46 Analysis of Variance Table Source of Sum of Degrees of Mean F 0 Variation Squares Freedom Square Factor A SS A a 1 MS A F 0 Factor B SS B b 1 MS B F 0 Factor C SS C c 1 MS C F 0 AB SS AB (a 1)(b 1) MS AB F 0 AC SS AC (a 1)(c 1) MS AC F 0 BC SS BC (b 1)(c 1) MS BC F 0 ABC SS ABC (a 1)(b 1)(c 1) MS ABC F 0 Error SS E abc(n 1) MS E Total SS T abcn 1 Page 46
47 option nocenter data bottling; input carb pres spee devi; datalines; : : : : ; proc glm; class carb pres spee; model devi=carb pres spee; run; Bottling Experiment: SAS Code Page 47
48 Bottling Experiment: SAS Output Dependent Variable: devi Sum of Source DF Squares Mean Square F Value Pr > F Model <.0001 Error Co Total R-Square Coeff Var Root MSE devi Mean Source DF Type I SS Mean Square F Value Pr > F carb <.0001 pres <.0001 carb*pres spee carb*spee pres*spee carb*pres*spee Page 48
49 Interaction Plot for Carb and Pressure Page 49
50 General Factorial Model Usual assumptions and diagnostics Multiple comparisons: simple extensions of the two-factor case Often higher order interactions are negligible. Beyond three-way interactions difficult to picture. Pooled together with error (increase df E ) Page 50
51 Battery Life Experiment: Blocking in Factorial Design: Example An engineer is studying the effective lifetime of some battery. Two factors, plate material and temperature, are involved. There are three types of plate materials (1, 2, 3) and three temperature levels (15, 70, 125). Four batteries are tested at each combination of plate material and temperature, and all 36 tests are run in random order. The experiment and the resulting observed battery life data are given below. Page 51
52 temperature material ,155,74,180 34,40,80,75 20,70,82, ,188,159, ,122,106,115 25,70,58, ,110,168, ,120,150,139 96,104,82,60 If we assume further that four operators (1,2,3,4) were hired to conduct the experiment. It is known that different operators can cause systematic difference in battery lifetime. Hence operators should be treated as blocks The blocking scheme is every operator conduct a single replicate of the full factorial design For each treatment (treatment combination), the observations were in the order of the operators 1, 2, 3, and 4. This is a blocked factorial design Page 52
53 Statistical Model for Blocked Factorial Experiment y ijk = µ + τ i + β j +(τβ) ij + δ k + ɛ ijk i =1, 2,...,a, j =1, 2,...,band k =1, 2,...,n, δ k is the effect of the kth block. randomization restriction is imposed. (complete block factorial design). interactions between blocks and treatment effects are assumed to be negligible. The previous ANOVA table for the experiment should be modified as follows: Add: Block Sum of Square SS Blocks = 1 ab Modify: Error Sum of Squares: k y 2..k y2... abn D.F. n 1 (new)ss E = (old)ss E SS Blocks D.F. (ab 1)(n 1) other inferences should be modified accordingly. Page 53
54 data battery; input mat temp oper life; dataline; ; proc glm; class mat temp oper; model life=oper mat temp; output out=new1 r=resi p=pred; SAS Code and Output Page 54
55 ==================================================== Dependent Variable: life Sum of Source DF Squares Mean Square F Value Pr > F Model <.0001 Error CorTotal Source DF Type I SS Mean Square F Value Pr > F oper mat temp <.0001 mat*temp Page 55
56 Factorial Experiment with Two blocking factors Use Latin square as blocking scheme 1. Suppose the experimental factors are F1 and F2. A has three levels (1,2, 3) and B has 2 levels. There are 3*2=6 treatment combinations. These treatments can be represented by Latin letters F1 F2 Treatment 1 1 A 1 2 B 2 1 C 2 2 D 3 1 E 3 2 F Page 56
57 Two blocking factors are Block1 and Block2, each with 6 blocks. 2. A 6 6 Latin square can be used as the blocking scheme: Block1 Block A B C D E F 2 B C D E F A 3 C D E F A B 4 D E F A B C 5 E F A B C D 6 F A B C D E 3. Statistical Model y ijkl = µ + α i + τ j + β k +(τβ) jk + θ l + ɛ ijkl where, α i and θ l are blocking effects, τ j, β k and (τβ) jk are the treatment main effects and interactions Page 57
Lec 5: Factorial Experiment
November 21, 2011 Example Study of the battery life vs the factors temperatures and types of material. A: Types of material, 3 levels. B: Temperatures, 3 levels. Example Study of the battery life vs the
More informationLecture 7: Latin Square and Related Design
Lecture 7: Latin Square and Related Design Montgomery: Section 4.2-4.3 Page 1 Automobile Emission Experiment Four cars and four drivers are employed in a study for possible differences between four gasoline
More informationLecture 10: 2 k Factorial Design Montgomery: Chapter 6
Lecture 10: 2 k Factorial Design Montgomery: Chapter 6 Page 1 2 k Factorial Design Involving k factors Each factor has two levels (often labeled + and ) Factor screening experiment (preliminary study)
More informationSAS Commands. General Plan. Output. Construct scatterplot / interaction plot. Run full model
Topic 23 - Unequal Replication Data Model Outline - Fall 2013 Parameter Estimates Inference Topic 23 2 Example Page 954 Data for Two Factor ANOVA Y is the response variable Factor A has levels i = 1, 2,...,
More informationTwo-factor studies. STAT 525 Chapter 19 and 20. Professor Olga Vitek
Two-factor studies STAT 525 Chapter 19 and 20 Professor Olga Vitek December 2, 2010 19 Overview Now have two factors (A and B) Suppose each factor has two levels Could analyze as one factor with 4 levels
More informationLecture 7: Latin Squares and Related Designs
Lecture 7: Latin Squares and Related Designs Montgomery: Section 4.2 and 4.3 1 Lecture 7 Page 1 Automobile Emission Experiment Four cars and four drivers are employed in a study of four gasoline additives(a,b,c,
More informationLecture 12: 2 k Factorial Design Montgomery: Chapter 6
Lecture 12: 2 k Factorial Design Montgomery: Chapter 6 1 Lecture 12 Page 1 2 k Factorial Design Involvingk factors: each has two levels (often labeled+and ) Very useful design for preliminary study Can
More informationLecture 10: Experiments with Random Effects
Lecture 10: Experiments with Random Effects Montgomery, Chapter 13 1 Lecture 10 Page 1 Example 1 A textile company weaves a fabric on a large number of looms. It would like the looms to be homogeneous
More informationAnalysis of Covariance
Analysis of Covariance (ANCOVA) Bruce A Craig Department of Statistics Purdue University STAT 514 Topic 10 1 When to Use ANCOVA In experiment, there is a nuisance factor x that is 1 Correlated with y 2
More informationOutline Topic 21 - Two Factor ANOVA
Outline Topic 21 - Two Factor ANOVA Data Model Parameter Estimates - Fall 2013 Equal Sample Size One replicate per cell Unequal Sample size Topic 21 2 Overview Now have two factors (A and B) Suppose each
More informationContents. TAMS38 - Lecture 6 Factorial design, Latin Square Design. Lecturer: Zhenxia Liu. Factorial design 3. Complete three factor design 4
Contents Factorial design TAMS38 - Lecture 6 Factorial design, Latin Square Design Lecturer: Zhenxia Liu Department of Mathematics - Mathematical Statistics 28 November, 2017 Complete three factor design
More informationLecture 3. Experiments with a Single Factor: ANOVA Montgomery 3-1 through 3-3
Lecture 3. Experiments with a Single Factor: ANOVA Montgomery 3-1 through 3-3 Page 1 Tensile Strength Experiment Investigate the tensile strength of a new synthetic fiber. The factor is the weight percent
More informationStat 217 Final Exam. Name: May 1, 2002
Stat 217 Final Exam Name: May 1, 2002 Problem 1. Three brands of batteries are under study. It is suspected that the lives (in weeks) of the three brands are different. Five batteries of each brand are
More informationLecture 11: Nested and Split-Plot Designs
Lecture 11: Nested and Split-Plot Designs Montgomery, Chapter 14 1 Lecture 11 Page 1 Crossed vs Nested Factors Factors A (a levels)and B (b levels) are considered crossed if Every combinations of A and
More informationLecture 3. Experiments with a Single Factor: ANOVA Montgomery 3.1 through 3.3
Lecture 3. Experiments with a Single Factor: ANOVA Montgomery 3.1 through 3.3 Fall, 2013 Page 1 Tensile Strength Experiment Investigate the tensile strength of a new synthetic fiber. The factor is the
More informationOutline. Topic 22 - Interaction in Two Factor ANOVA. Interaction Not Significant. General Plan
Topic 22 - Interaction in Two Factor ANOVA - Fall 2013 Outline Strategies for Analysis when interaction not present when interaction present when n ij = 1 when factor(s) quantitative Topic 22 2 General
More informationTopic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model
Topic 17 - Single Factor Analysis of Variance - Fall 2013 One way ANOVA Cell means model Factor effects model Outline Topic 17 2 One-way ANOVA Response variable Y is continuous Explanatory variable is
More informationTopic 29: Three-Way ANOVA
Topic 29: Three-Way ANOVA Outline Three-way ANOVA Data Model Inference Data for three-way ANOVA Y, the response variable Factor A with levels i = 1 to a Factor B with levels j = 1 to b Factor C with levels
More informationLecture 10. Factorial experiments (2-way ANOVA etc)
Lecture 10. Factorial experiments (2-way ANOVA etc) Jesper Rydén Matematiska institutionen, Uppsala universitet jesper@math.uu.se Regression and Analysis of Variance autumn 2014 A factorial experiment
More informationChapter 5 Introduction to Factorial Designs
Chapter 5 Introduction to Factorial Designs 5. Basic Definitions and Principles Stud the effects of two or more factors. Factorial designs Crossed: factors are arranged in a factorial design Main effect:
More informationComparison of a Population Means
Analysis of Variance Interested in comparing Several treatments Several levels of one treatment Comparison of a Population Means Could do numerous two-sample t-tests but... ANOVA provides method of joint
More informationTopic 28: Unequal Replication in Two-Way ANOVA
Topic 28: Unequal Replication in Two-Way ANOVA Outline Two-way ANOVA with unequal numbers of observations in the cells Data and model Regression approach Parameter estimates Previous analyses with constant
More informationTopic 20: Single Factor Analysis of Variance
Topic 20: Single Factor Analysis of Variance Outline Single factor Analysis of Variance One set of treatments Cell means model Factor effects model Link to linear regression using indicator explanatory
More informationSTAT 705 Chapter 19: Two-way ANOVA
STAT 705 Chapter 19: Two-way ANOVA Timothy Hanson Department of Statistics, University of South Carolina Stat 705: Data Analysis II 1 / 38 Two-way ANOVA Material covered in Sections 19.2 19.4, but a bit
More informationLecture 5: Comparing Treatment Means Montgomery: Section 3-5
Lecture 5: Comparing Treatment Means Montgomery: Section 3-5 Page 1 Linear Combination of Means ANOVA: y ij = µ + τ i + ɛ ij = µ i + ɛ ij Linear combination: L = c 1 µ 1 + c 1 µ 2 +...+ c a µ a = a i=1
More informationT-test: means of Spock's judge versus all other judges 1 12:10 Wednesday, January 5, judge1 N Mean Std Dev Std Err Minimum Maximum
T-test: means of Spock's judge versus all other judges 1 The TTEST Procedure Variable: pcwomen judge1 N Mean Std Dev Std Err Minimum Maximum OTHER 37 29.4919 7.4308 1.2216 16.5000 48.9000 SPOCKS 9 14.6222
More informationSTAT 705 Chapter 19: Two-way ANOVA
STAT 705 Chapter 19: Two-way ANOVA Adapted from Timothy Hanson Department of Statistics, University of South Carolina Stat 705: Data Analysis II 1 / 41 Two-way ANOVA This material is covered in Sections
More informationAssignment 6 Answer Keys
ssignment 6 nswer Keys Problem 1 (a) The treatment sum of squares can be calculated by SS Treatment = b a ȳi 2 Nȳ 2 i=1 = 5 (5.40 2 + 5.80 2 + 10 2 + 9.80 2 ) 20 7.75 2 = 92.95 Then the F statistic for
More informationLecture 4. Checking Model Adequacy
Lecture 4. Checking Model Adequacy Montgomery: 3-4, 15-1.1 Page 1 Model Checking and Diagnostics Model Assumptions 1 Model is correct 2 Independent observations 3 Errors normally distributed 4 Constant
More informationTopic 32: Two-Way Mixed Effects Model
Topic 3: Two-Way Mixed Effects Model Outline Two-way mixed models Three-way mixed models Data for two-way design Y is the response variable Factor A with levels i = 1 to a Factor B with levels j = 1 to
More informationLecture 10: Factorial Designs with Random Factors
Lecture 10: Factorial Designs with Random Factors Montgomery, Section 13.2 and 13.3 1 Lecture 10 Page 1 Factorial Experiments with Random Effects Lecture 9 has focused on fixed effects Always use MSE in
More informationDesign and Analysis of Experiments
Design and Analysis of Experiments Part VIII: Plackett-Burman, 3 k, Mixed Level, Nested, and Split-Plot Designs Prof. Dr. Anselmo E de Oliveira anselmo.quimica.ufg.br anselmo.disciplinas@gmail.com Plackett-Burman
More informationDesign & Analysis of Experiments 7E 2009 Montgomery
Chapter 5 1 Introduction to Factorial Design Study the effects of 2 or more factors All possible combinations of factor levels are investigated For example, if there are a levels of factor A and b levels
More informationSingle Factor Experiments
Single Factor Experiments Bruce A Craig Department of Statistics Purdue University STAT 514 Topic 4 1 Analysis of Variance Suppose you are interested in comparing either a different treatments a levels
More informationFactorial designs. Experiments
Chapter 5: Factorial designs Petter Mostad mostad@chalmers.se Experiments Actively making changes and observing the result, to find causal relationships. Many types of experimental plans Measuring response
More informationLecture 12: 2 k p Fractional Factorial Design
Lecture 12: 2 k p Fractional Factorial Design Montgomery: Chapter 8 Page 1 Fundamental Principles Regarding Factorial Effects Suppose there are k factors (A,B,...,J,K) in an experiment. All possible factorial
More informationSAS Procedures Inference about the Line ffl model statement in proc reg has many options ffl To construct confidence intervals use alpha=, clm, cli, c
Inference About the Slope ffl As with all estimates, ^fi1 subject to sampling var ffl Because Y jx _ Normal, the estimate ^fi1 _ Normal A linear combination of indep Normals is Normal Simple Linear Regression
More informationContents. TAMS38 - Lecture 8 2 k p fractional factorial design. Lecturer: Zhenxia Liu. Example 0 - continued 4. Example 0 - Glazing ceramic 3
Contents TAMS38 - Lecture 8 2 k p fractional factorial design Lecturer: Zhenxia Liu Department of Mathematics - Mathematical Statistics Example 0 2 k factorial design with blocking Example 1 2 k p fractional
More informationFactorial Treatment Structure: Part I. Lukas Meier, Seminar für Statistik
Factorial Treatment Structure: Part I Lukas Meier, Seminar für Statistik Factorial Treatment Structure So far (in CRD), the treatments had no structure. So called factorial treatment structure exists if
More informationFactorial and Unbalanced Analysis of Variance
Factorial and Unbalanced Analysis of Variance Nathaniel E. Helwig Assistant Professor of Psychology and Statistics University of Minnesota (Twin Cities) Updated 04-Jan-2017 Nathaniel E. Helwig (U of Minnesota)
More informationLecture 2: Basic Concepts and Simple Comparative Experiments Montgomery: Chapter 2
Lecture 2: Basic Concepts and Simple Comparative Experiments Montgomery: Chapter 2 Fall, 2013 Page 1 Random Variable and Probability Distribution Discrete random variable Y : Finite possible values {y
More informationAnalysis of Variance
Analysis of Variance Blood coagulation time T avg A 62 60 63 59 61 B 63 67 71 64 65 66 66 C 68 66 71 67 68 68 68 D 56 62 60 61 63 64 63 59 61 64 Blood coagulation time A B C D Combined 56 57 58 59 60 61
More informationIntroduction to Design and Analysis of Experiments with the SAS System (Stat 7010 Lecture Notes)
Introduction to Design and Analysis of Experiments with the SAS System (Stat 7010 Lecture Notes) Asheber Abebe Discrete and Statistical Sciences Auburn University Contents 1 Completely Randomized Design
More informationSTAT 705 Chapter 16: One-way ANOVA
STAT 705 Chapter 16: One-way ANOVA Timothy Hanson Department of Statistics, University of South Carolina Stat 705: Data Analysis II 1 / 21 What is ANOVA? Analysis of variance (ANOVA) models are regression
More informationLecture 27 Two-Way ANOVA: Interaction
Lecture 27 Two-Way ANOVA: Interaction STAT 512 Spring 2011 Background Reading KNNL: Chapter 19 27-1 Topic Overview Review: Two-way ANOVA Models Basic Strategy for Analysis Studying Interactions 27-2 Two-way
More informationDesign of Engineering Experiments Chapter 5 Introduction to Factorials
Design of Engineering Experiments Chapter 5 Introduction to Factorials Text reference, Chapter 5 page 170 General principles of factorial experiments The two-factor factorial with fixed effects The ANOVA
More informationSTAT 705 Chapters 23 and 24: Two factors, unequal sample sizes; multi-factor ANOVA
STAT 705 Chapters 23 and 24: Two factors, unequal sample sizes; multi-factor ANOVA Timothy Hanson Department of Statistics, University of South Carolina Stat 705: Data Analysis II 1 / 22 Balanced vs. unbalanced
More informationTopic 25 - One-Way Random Effects Models. Outline. Random Effects vs Fixed Effects. Data for One-way Random Effects Model. One-way Random effects
Topic 5 - One-Way Random Effects Models One-way Random effects Outline Model Variance component estimation - Fall 013 Confidence intervals Topic 5 Random Effects vs Fixed Effects Consider factor with numerous
More informationSAS Program Part 1: proc import datafile="y:\iowa_classes\stat_5201_design\examples\2-23_drillspeed_feed\mont_5-7.csv" out=ds dbms=csv replace; run;
STAT:5201 Applied Statistic II (two-way ANOVA with contrasts Two-Factor experiment Drill Speed: 125 and 200 Feed Rate: 0.02, 0.03, 0.05, 0.06 Response: Force All 16 runs were done in random order. This
More informationAnswer Keys to Homework#10
Answer Keys to Homework#10 Problem 1 Use either restricted or unrestricted mixed models. Problem 2 (a) First, the respective means for the 8 level combinations are listed in the following table A B C Mean
More informationAssignment 9 Answer Keys
Assignment 9 Answer Keys Problem 1 (a) First, the respective means for the 8 level combinations are listed in the following table A B C Mean 26.00 + 34.67 + 39.67 + + 49.33 + 42.33 + + 37.67 + + 54.67
More informationLecture 11: Simple Linear Regression
Lecture 11: Simple Linear Regression Readings: Sections 3.1-3.3, 11.1-11.3 Apr 17, 2009 In linear regression, we examine the association between two quantitative variables. Number of beers that you drink
More informationLecture 4. Random Effects in Completely Randomized Design
Lecture 4. Random Effects in Completely Randomized Design Montgomery: 3.9, 13.1 and 13.7 1 Lecture 4 Page 1 Random Effects vs Fixed Effects Consider factor with numerous possible levels Want to draw inference
More informationSplit-plot Designs. Bruce A Craig. Department of Statistics Purdue University. STAT 514 Topic 21 1
Split-plot Designs Bruce A Craig Department of Statistics Purdue University STAT 514 Topic 21 1 Randomization Defines the Design Want to study the effect of oven temp (3 levels) and amount of baking soda
More informationChapter 20 : Two factor studies one case per treatment Chapter 21: Randomized complete block designs
Chapter 20 : Two factor studies one case per treatment Chapter 21: Randomized complete block designs Adapted from Timothy Hanson Department of Statistics, University of South Carolina Stat 705: Data Analysis
More information20.1. Balanced One-Way Classification Cell means parametrization: ε 1. ε I. + ˆɛ 2 ij =
20. ONE-WAY ANALYSIS OF VARIANCE 1 20.1. Balanced One-Way Classification Cell means parametrization: Y ij = µ i + ε ij, i = 1,..., I; j = 1,..., J, ε ij N(0, σ 2 ), In matrix form, Y = Xβ + ε, or 1 Y J
More informationThe legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization.
1 Chapter 1: Research Design Principles The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization. 2 Chapter 2: Completely Randomized Design
More informationStatistics 512: Applied Linear Models. Topic 9
Topic Overview Statistics 51: Applied Linear Models Topic 9 This topic will cover Random vs. Fixed Effects Using E(MS) to obtain appropriate tests in a Random or Mixed Effects Model. Chapter 5: One-way
More informationAnalysis of Variance
Statistical Techniques II EXST7015 Analysis of Variance 15a_ANOVA_Introduction 1 Design The simplest model for Analysis of Variance (ANOVA) is the CRD, the Completely Randomized Design This model is also
More informationTwo-Way Factorial Designs
81-86 Two-Way Factorial Designs Yibi Huang 81-86 Two-Way Factorial Designs Chapter 8A - 1 Problem 81 Sprouting Barley (p166 in Oehlert) Brewer s malt is produced from germinating barley, so brewers like
More informationOutline. Topic 19 - Inference. The Cell Means Model. Estimates. Inference for Means Differences in cell means Contrasts. STAT Fall 2013
Topic 19 - Inference - Fall 2013 Outline Inference for Means Differences in cell means Contrasts Multiplicity Topic 19 2 The Cell Means Model Expressed numerically Y ij = µ i + ε ij where µ i is the theoretical
More informationOne-Way Analysis of Variance (ANOVA) There are two key differences regarding the explanatory variable X.
One-Way Analysis of Variance (ANOVA) Also called single factor ANOVA. The response variable Y is continuous (same as in regression). There are two key differences regarding the explanatory variable X.
More informationChapter 13 Experiments with Random Factors Solutions
Solutions from Montgomery, D. C. (01) Design and Analysis of Experiments, Wiley, NY Chapter 13 Experiments with Random Factors Solutions 13.. An article by Hoof and Berman ( Statistical Analysis of Power
More informationReference: Chapter 6 of Montgomery(8e) Maghsoodloo
Reference: Chapter 6 of Montgomery(8e) Maghsoodloo 51 DOE (or DOX) FOR BASE BALANCED FACTORIALS The notation k is used to denote a factorial experiment involving k factors (A, B, C, D,..., K) each at levels.
More informationStatistics 512: Solution to Homework#11. Problems 1-3 refer to the soybean sausage dataset of Problem 20.8 (ch21pr08.dat).
Statistics 512: Solution to Homework#11 Problems 1-3 refer to the soybean sausage dataset of Problem 20.8 (ch21pr08.dat). 1. Perform the two-way ANOVA without interaction for this model. Use the results
More information3. Factorial Experiments (Ch.5. Factorial Experiments)
3. Factorial Experiments (Ch.5. Factorial Experiments) Hae-Jin Choi School of Mechanical Engineering, Chung-Ang University DOE and Optimization 1 Introduction to Factorials Most experiments for process
More informationCh 2: Simple Linear Regression
Ch 2: Simple Linear Regression 1. Simple Linear Regression Model A simple regression model with a single regressor x is y = β 0 + β 1 x + ɛ, where we assume that the error ɛ is independent random component
More informationSTAT 430 (Fall 2017): Tutorial 8
STAT 430 (Fall 2017): Tutorial 8 Balanced Incomplete Block Design Luyao Lin November 7th/9th, 2017 Department Statistics and Actuarial Science, Simon Fraser University Block Design Complete Random Complete
More informationPLS205!! Lab 9!! March 6, Topic 13: Covariance Analysis
PLS205!! Lab 9!! March 6, 2014 Topic 13: Covariance Analysis Covariable as a tool for increasing precision Carrying out a full ANCOVA Testing ANOVA assumptions Happiness! Covariable as a Tool for Increasing
More informationSociology 6Z03 Review II
Sociology 6Z03 Review II John Fox McMaster University Fall 2016 John Fox (McMaster University) Sociology 6Z03 Review II Fall 2016 1 / 35 Outline: Review II Probability Part I Sampling Distributions Probability
More information6 Designs with Split Plots
6 Designs with Split Plots Many factorial experimental designs are incorrectly analyzed because the assumption of complete randomization is not true. Many factorial experiments have one or more restrictions
More informationChapter 19. More Complex ANOVA Designs Three-way ANOVA
Chapter 19 More Complex ANOVA Designs This chapter examines three designs that incorporate more factors and introduce some new elements of experimental design. They are three-way ANOVA, one-way nested
More informationFractional Factorial Designs
k-p Fractional Factorial Designs Fractional Factorial Designs If we have 7 factors, a 7 factorial design will require 8 experiments How much information can we obtain from fewer experiments, e.g. 7-4 =
More informationTwo-Way ANOVA (Two-Factor CRD)
Two-Way ANOVA (Two-Factor CRD) STAT:5201 Week 5: Lecture 1 1 / 29 Factorial Treatment Structure A factorial treatment structure is simply the case where treatments are created by combining factors. We
More informationLecture 2. The Simple Linear Regression Model: Matrix Approach
Lecture 2 The Simple Linear Regression Model: Matrix Approach Matrix algebra Matrix representation of simple linear regression model 1 Vectors and Matrices Where it is necessary to consider a distribution
More informationSTAT 525 Fall Final exam. Tuesday December 14, 2010
STAT 525 Fall 2010 Final exam Tuesday December 14, 2010 Time: 2 hours Name (please print): Show all your work and calculations. Partial credit will be given for work that is partially correct. Points will
More informationChapter 11. Analysis of Variance (One-Way)
Chapter 11 Analysis of Variance (One-Way) We now develop a statistical procedure for comparing the means of two or more groups, known as analysis of variance or ANOVA. These groups might be the result
More informationLecture 1 Linear Regression with One Predictor Variable.p2
Lecture Linear Regression with One Predictor Variablep - Basics - Meaning of regression parameters p - β - the slope of the regression line -it indicates the change in mean of the probability distn of
More informationPLS205 Lab 6 February 13, Laboratory Topic 9
PLS205 Lab 6 February 13, 2014 Laboratory Topic 9 A word about factorials Specifying interactions among factorial effects in SAS The relationship between factors and treatment Interpreting results of an
More informationSTAT22200 Spring 2014 Chapter 8A
STAT22200 Spring 2014 Chapter 8A Yibi Huang May 13, 2014 81-86 Two-Way Factorial Designs Chapter 8A - 1 Problem 81 Sprouting Barley (p166 in Oehlert) Brewer s malt is produced from germinating barley,
More information2.830J / 6.780J / ESD.63J Control of Manufacturing Processes (SMA 6303) Spring 2008
MIT OpenCourseWare http://ocw.mit.edu 2.830J / 6.780J / ESD.63J Control of Processes (SMA 6303) Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.
More informationOverview Scatter Plot Example
Overview Topic 22 - Linear Regression and Correlation STAT 5 Professor Bruce Craig Consider one population but two variables For each sampling unit observe X and Y Assume linear relationship between variables
More information22s:152 Applied Linear Regression. Take random samples from each of m populations.
22s:152 Applied Linear Regression Chapter 8: ANOVA NOTE: We will meet in the lab on Monday October 10. One-way ANOVA Focuses on testing for differences among group means. Take random samples from each
More information4.8 Alternate Analysis as a Oneway ANOVA
4.8 Alternate Analysis as a Oneway ANOVA Suppose we have data from a two-factor factorial design. The following method can be used to perform a multiple comparison test to compare treatment means as well
More informationChapter 5 Introduction to Factorial Designs Solutions
Solutions from Montgomery, D. C. (1) Design and Analysis of Experiments, Wiley, NY Chapter 5 Introduction to Factorial Designs Solutions 5.1. The following output was obtained from a computer program that
More informationUnbalanced Designs Mechanics. Estimate of σ 2 becomes weighted average of treatment combination sample variances.
Unbalanced Designs Mechanics Estimate of σ 2 becomes weighted average of treatment combination sample variances. Types of SS Difference depends on what hypotheses are tested and how differing sample sizes
More information1. (Rao example 11.15) A study measures oxygen demand (y) (on a log scale) and five explanatory variables (see below). Data are available as
ST 51, Summer, Dr. Jason A. Osborne Homework assignment # - Solutions 1. (Rao example 11.15) A study measures oxygen demand (y) (on a log scale) and five explanatory variables (see below). Data are available
More informationLecture 11: Blocking and Confounding in 2 k design
Lecture 11: Blocking and Confounding in 2 k design Montgomery: Chapter 7 Page 1 There are n blocks Randomized Complete Block 2 k Design Within each block, all treatments (level combinations) are conducted.
More informationChapter 4 Experiments with Blocking Factors
Chapter 4 Experiments with Blocking Factors 許湘伶 Design and Analysis of Experiments (Douglas C. Montgomery) hsuhl (NUK) DAE Chap. 4 1 / 54 The Randomized Complete Block Design (RCBD; 隨機化完全集區設計 ) 1 Variability
More informationSolution to Final Exam
Stat 660 Solution to Final Exam. (5 points) A large pharmaceutical company is interested in testing the uniformity (a continuous measurement that can be taken by a measurement instrument) of their film-coated
More informationST 512-Practice Exam I - Osborne Directions: Answer questions as directed. For true/false questions, circle either true or false.
ST 512-Practice Exam I - Osborne Directions: Answer questions as directed. For true/false questions, circle either true or false. 1. A study was carried out to examine the relationship between the number
More informationChapter 8 Quantitative and Qualitative Predictors
STAT 525 FALL 2017 Chapter 8 Quantitative and Qualitative Predictors Professor Dabao Zhang Polynomial Regression Multiple regression using X 2 i, X3 i, etc as additional predictors Generates quadratic,
More informationLinear Combinations. Comparison of treatment means. Bruce A Craig. Department of Statistics Purdue University. STAT 514 Topic 6 1
Linear Combinations Comparison of treatment means Bruce A Craig Department of Statistics Purdue University STAT 514 Topic 6 1 Linear Combinations of Means y ij = µ + τ i + ǫ ij = µ i + ǫ ij Often study
More informationTwo-Way Analysis of Variance - no interaction
1 Two-Way Analysis of Variance - no interaction Example: Tests were conducted to assess the effects of two factors, engine type, and propellant type, on propellant burn rate in fired missiles. Three engine
More informationUnit 8: 2 k Factorial Designs, Single or Unequal Replications in Factorial Designs, and Incomplete Block Designs
Unit 8: 2 k Factorial Designs, Single or Unequal Replications in Factorial Designs, and Incomplete Block Designs STA 643: Advanced Experimental Design Derek S. Young 1 Learning Objectives Revisit your
More informationStatistics 512: Applied Linear Models. Topic 7
Topic Overview This topic will cover Statistics 512: Applied Linear Models Topic 7 Two-way Analysis of Variance (ANOVA) Interactions Chapter 19: Two-way ANOVA The response variable Y is continuous. There
More informationTWO-LEVEL FACTORIAL EXPERIMENTS: BLOCKING. Upper-case letters are associated with factors, or regressors of factorial effects, e.g.
STAT 512 2-Level Factorial Experiments: Blocking 1 TWO-LEVEL FACTORIAL EXPERIMENTS: BLOCKING Some Traditional Notation: Upper-case letters are associated with factors, or regressors of factorial effects,
More informationStat 6640 Solution to Midterm #2
Stat 6640 Solution to Midterm #2 1. A study was conducted to examine how three statistical software packages used in a statistical course affect the statistical competence a student achieves. At the end
More informationChapter 1 Linear Regression with One Predictor
STAT 525 FALL 2018 Chapter 1 Linear Regression with One Predictor Professor Min Zhang Goals of Regression Analysis Serve three purposes Describes an association between X and Y In some applications, the
More informationLongitudinal data: simple univariate methods of analysis
Longitudinal data: simple univariate methods of analysis Danish version by Henrik Stryhn, June 1996 Department of Mathematcis and Physics, KVL Translation (and rewriting) by Ib Skovgaard, March 1998 (the
More information