PLS205 Lab 6 February 13, Laboratory Topic 9

Size: px
Start display at page:

Download "PLS205 Lab 6 February 13, Laboratory Topic 9"

Transcription

1 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 experiment with a factorial treatment structure Visualizing simple and main effects Visualizing three-way interactions APPENDIX: The Almost Practically Complete Analysis of Example 6.1 APPENDIX 2: Graphing in Excel A word about factorials A factorial is not an experimental design. Why? Because the term "factorial" merely describes the structure of the treatment effects (i.e. the factors), not how they are randomized. Specifically, a factorial treatment structure is one in which all levels of every factor are present in all possible combinations with all the levels of every other factor in the experiment (i.e. the crossing of factors is complete and orthogonal). It is this complete, orthogonal structure that allows an experimenter to gain insight into interactions among factors. Seen in this way, it becomes clear that any of the true experimental designs (i.e. randomization strategies) we have discussed so far (CRD, RCBD, Latin Square) can be factorials, provided the treatments are structured correctly. A factorial is a complete, orthogonal structure of treatment effects intended to provide insight into their interactions. Specifying Interactions Among Factorial Effects in SAS Specifications about designs with factorial treatment structures are entered through the Model statement of the Proc GLM, and this syntax can assume one of two forms: Stars (*) or bars ( ). Stars are used to partition out specific interactions from the Treatment SS and are useful when certain interactions must be used as error terms in custom F tests. Examples: Model Resp = a b a*b Model Resp = a a*b a*b*c specifies partitioning of SST into main effect A, me B and interaction AxB specifies me A and interactions AxB and AxBxC Bars are used as a nice shortcut to partition the Treatment SS into all possible combinations of the included factors. On a standard PC keyboard, the bar symbol ( ) is typed as Shift-\. Examples: Model Resp = a b Model Resp = a b c is equivalent to Model Resp = a b a*b is equivalent to Model Resp = a b c a*b a*c b*c a*b*c An additional nice trick to know is the use of "@" in factorial model statements. The "@" symbol in conjunction with bars ( ) allows you to specify all possible combinations of model factors up to a certain level (e.g. two-way effects), saving you lots of typing. An example: Model Resp = Block a b c@2 is equivalent to Model Resp = Block a b c a*b a*c b*c notice this excludes the three-way effect a*b*c PLS Lab 6 (Topic 9)

2 The Relationship Between Factors and Treatment Until now, we have had only a single 'treatment' (the effect of which we are trying to understand) with zero (CRD), one (RCBD), or two (LS) blocking variables (the effects of which we are trying to account for but not really investigate). With factorials, we now have two or more 'factors' that are experimentally equivalent to the single 'treatment' variable from the first half of the course. To illustrate this equivalence, reconsider Example 1 from Lab 3 (Topics 4-5): An experiment with 6 treatments (L08, L12, L16, H08, H12, H16), where L/H refers to Low/High temperatures and 8/12/16 refers to hours of light. This is exactly equivalent to having temperature as one factor and light as another, organized as a factorial: Model Growth = Treatment; df Treatment = 5 Model Growth = Temp Light Temp*Light; df Temp = 1 df Light = 2 df Temp*Light = 2 Sum = 5 What this is meant to show is that the old classification variable Treatment is simply a combination of two factors (light and temperature). Rewriting the model in terms of the factors does not affect the Model df at all; it simply expands the class variable Treatment into Temp Light Temp*Light. Before, we accomplished this opening up of the treatment through orthogonal contrasts. The insights gained through each approach are equivalent. Example 6.1 Two-Way ANOVA with interactions [Lab6ex1.sas] In a study comparing the relative growth of five varieties of turfgrass (VARIETY) in three experimental soil mixtures (SOIL), six pots were prepared with each VARIETY-SOIL combination. The 90 pots were randomly allocated to six growth chambers (BLOCKS) and the dry matter yields were measured by clipping the plants at the end of four weeks. In this experiment, the researchers are interested only in these five varieties and three soil mixtures; so VARIETY and SOIL can be regarded as fixed factors. Data RCBDFactorial; Do Soil = 1 to 3; Do Variety = 1 to 5; Do Block = 1 to 6; Input Output; Cards; PLS Lab 6 (Topic 9)

3 ; Proc GLM Data = RCBDFactorial; Class Soil Variety Block; Model Yield = Soil Variety Block; Proc GLM Data = RCBDFactorial; Class Soil Variety Block; Model Yield = Soil Variety Block@2; Run; Quit; * This Model includes all main effects as well as the Method*Variety interaction; * Exploratory model to examine the one-way block interactions (see discussion below); NOTE: This initial analysis enables us to see if the interaction is significant and decide: Main or simple effects? Take a look at the resultant ANOVA table: Sum of Source DF Squares Mean Square F Value Pr > F Model <.0001 Error Corrected Total R-Square Coeff Var Root MSE Yield Mean Source DF Type III SS Mean Square F Value Pr > F Soil <.0001 Variety Soil*Variety Block This is an RCBD with 6 blocks. Even though there are six replications per Method-Variety combination (which allows us to include their interaction in the model), there is only one replication per Method- Variety-Block combination. The upshot of this is that the Block*Factor interactions are inside the experimental error for this ANOVA. In other words, if the model statement had been: Model Yield = Soil Variety Block; there would have been no variation left to estimate the error (df e = 0), because: Block * Soil = Block * Variety = Block * Soil * Variety = 10 df 20 df 40 df 70 df = df e PLS Lab 6 (Topic 9)

4 We exclude the one-way Block interactions from the model because, in general, we don't care about them (remember, we block to reduce the error term, not to gain understanding of the effect of blocking). In other words, this is a choice we make. Excluding the two-way Block interaction is not a choice, however; it cannot be a part of the model because it is the only term we have for our error. Of course, we still want to check these Block*Treatment interactions to see if they are significant. It they are not significant it is justifiable to relegate these interactions to the error term. If they are significant, you can attempt a transformation or be aware that they will contribute to a larger MSE when taken out of the model.. To test the Block*Treatment interactions they can simply be placed into an exploratory model (the second Proc GLM above): Sum of Source DF Squares Mean Square F Value Pr > F Model Error Corrected Total R-Square Coeff Var Root MSE Yield Mean Source DF Type III SS Mean Square F Value Pr > F Soil <.0001 Variety Soil*Variety Block Soil*Block NS Variety*Block NS A little side note about what interactions to include in your model Although one can do exploratory work with different interactions in the model and then merge the Block*Treatment into the error, you should always keep the treatment interactions in the model, whether significant or not. This makes it very clear to the reader the status of the interaction and saves you from having to do a lot of explaining. Sometimes in higher order factorials (e.g. four factors) the higher order interactions (e.g. 4-way interactions) are excluded from the model if they are not significant to simplify the model. Interpreting Results of an Experiment with a Factorial Treatment Structure The above ANOVA results indicate that there are significant differences among soil mixtures but not among varieties. More importantly, however, it shows that the interaction between these two factors is significant (i.e. the effects of soil are different for the different varieties, and vice versa). Because the interaction is significant, it is not appropriate to analyze the main effects. One must compare the soil means separately for each variety (simple effects). Example 6.1b Proc Sort Data = RCBDFactorial; By Variety; Proc GLM Data = RCBDFactorial; [Lab6ex1b.sas] To analyze simple effects, you must first sort by one of the factors (in this case, Variety) and then run an ANOVA for each level of that factor PLS Lab 6 (Topic 9)

5 Class Soil Block; Model Yield = Soil Block; Means Soil / Tukey; By Variety; Run; Quit; The above code tells SAS to generate five different ANOVAs, one for each variety. The results: Variety Treatment Block MSD Tukey NS NS = 3 3 = NS NS = 3 = ** NS = 3 3 = *** NS = ** NS = 2 2 = 3 By investigating the simple effects, we see that only some varieties are significantly affected by the seed treatment. The MSE and means separation tests vary across varieties. Visualizing Simple and Main Effects Example 6.1c proc gplot data=rcbdfactorial ; ** Main effect plots **; axis1 offset=(5 pct,5 pct); axis2 offset = (5 pct,5 pct); symbol1 i=std1mtj v=none color=blue; plot Yield * Soil = 1 / description="means plot of Yield by Soil"; run; axis1 offset=(5 pct,5 pct); axis2 offset = (5 pct,5 pct); symbol1 i=std1mtj v=none color=red; plot Yield * Variety = 1 / description="means plot of Yield by Variety"; run; ** Two-way Plots **; axis1 offset=(5 pct,5 pct); axis2 offset = (5 pct,5 pct); symbol1 i=std1mtj v=none color=blue; symbol2 i=std1mtj v=none color=black; symbol3 i=std1mtj v=none color=green; symbol4 i=std1mtj v=none color=orange; symbol5 i=std1mtj v=none color=red; plot Yield * Soil = Variety / description="means plot of Yield by Soil and Variety"; run; axis1 offset=(5 pct,5 pct); axis2 offset = (5 pct,5 pct); symbol1 i=std1mtj v=none color=blue; symbol2 i=std1mtj v=none color=black; symbol3 i=std1mtj v=none color=green; PLS Lab 6 (Topic 9)

6 plot Yield * Variety = Soil / description="means plot of Yield by Variety and Soil"; run; quit; The symbol statement `i=std1mtj' determine various details in the plot: For each mean, an interval of length 1 standard error (std1) to either side of the mean (m) is shown. Each interval has a top and bottom line (t), and the means are joined (j). `color' is for color (the options include black, red, blue, green, cyan, gold). `v' determines the symbol used for the individual observations, in this example (v=none) the individual observations are not shown in the figure. Don t get too worried about the code! It is simply connecting the data points and giving standard errors. Remember that standard error bars give you an idea of the distribution of observations about each mean. Plots of the main effects PLS Lab 6 (Topic 9)

7 These plots show the main effects of soil and variety on yield. In the case of having a NS interaction, the implication is that each factor affects the response variable independent of the other; so consideration of the main effects alone would be sufficient. [NOTE: Of course, this is not the case in this example.] The interaction plots PLS Lab 6 (Topic 9)

8 The non-parallel nature of the lines in this interaction plot demonstrates visually the significant interaction we found in the ANOVA. DON T FORGET: As always, we need to test assumptions in these tests. In this particular example, there are eight different ANOVAs (one for variety for each of the three soil mixtures and one for each soil mixture for each of the five varieties), the assumptions of each of which must be met. See the appendix at the end of this lab for the full, un-cut procedure. Example 6.2 Three-Way ANOVA with one replication [Lab6ex2.sas] The following is the code for a generic CRD with a 3x5x2 factorial treatment structure: Data ThreeFact; Input a b c Cards; ; Proc GLM Data = ThreeFact; Class a b c; Model Resp = a b c; Run; Quit; Running the program like this will make you sad because there are zero degrees of freedom for the error term and thus no estimation of the error SS. The result? A bunch of dots. The solution to this problem is to assume that there is no three-way interaction, allowing us to then use the three-way interaction as an estimate of the experimental error. To do this, modify the model statement above as follows: Model Resp = a b c@2; PLS Lab 6 (Topic 9)

9 and re-run the program. The results: Source DF Type III SS Mean Square F Value Pr > F a <.0001 *** b <.0001 *** c <.0001 *** a*b <.0001 *** a*c <.0001 *** b*c <.0001 *** You should also be able to determine which assumptions to test here and how to do them. Visualizing Three-Way Interactions Can't we do better than just assume a three-way interaction to be NS? What is a three-way interaction anyway? Though words may only confuse the issue here, one way to think about it might be: A three-way interaction exists if the character of the interaction between two factors differs among the different levels of a third factor. Difficult to articulate but easy to visualize. Walk through the following steps to see how one can cleverly visualize three-way interactions in a two-dimensional plot: 1. Open the Word file ThreeWayInteraction.doc. Familiarize yourself as to how the new dependent variable C1-C2 was created: A B C C1-C2 Resp The new variable (C1-C2) is simply the effect of C1 relative to C2 for any given combination of levels of Factors A and B. [Side note: If C had three levels (C1, C2, C3) instead of just two, the procedure outlined here would have to be carried out for three new variables (C1-C2, C1-C3, and C2-C3) instead of just one.] 2. Set up your graph with C1-C2 as the DEPENDENT variable (Y-axis) and A and B as the CLASS variables (A on the X-axis, and B as the group variable). See the example below. The C1-C2 variable replaces the response variable as the dependent variable. a1 a2 a3 b b b b b The output (it s like seeing in four dimensions!) PLS Lab 6 (Topic 9)

10 C1-C b1 b1 b3 b4 b a1 a2 a3 One way to think about this: Each line represents one level of B, and the average of each line represents the effect of C for each level of B. While these averages differ among lines (i.e. B*C is significant), their differences are fairly constant across all levels of A. In other words, the roughly parallel nature of the lines in this interaction plot shows us that the difference in the effects of C at the different levels of B do not vary significantly across the levels of A. [Translation: No significant three-way interaction, so we are justified in using A*B*C as our error term.] phew! APPENDIX: The Almost Practically Complete Analysis for Example 6.1 Step 1: Decide if you need to analyze simple effects Data RCBDFactorial; Do Soil = 1 to 3; Do Variety = 1 to 5; Do Block = 1 to 6; Input Output; Cards; PLS Lab 6 (Topic 9)

11 ; Proc GLM Data = RCBDFactorial; Class Soil Variety Block; Model Yield = Soil Variety Block; Proc GLM Data = RCBDFactorial; Class Soil Variety Block; Model Yield = Soil Variety Block@2; Run; Quit; Notice there are 2 Proc GLM's in this code. The first features the model we're interested in, and we run it to see if there is a significant Soil*Variety interaction (i.e. to see if we should analyze main or simple effects). The second is what we call an "exploratory model" to check the significance of the two-way block interactions. The output: First Proc GLM Source DF Type III SS Mean Square F Value Pr > F Soil <.0001 *** Variety Soil*Variety * Block There is a significant Soil*Variety interaction, so we must look at simple effects. Second and third Proc GLM results Source DF Type III SS Mean Square F Value Pr > F Method*Block NS Variety*Block NS Neither 2-way block interaction is significant, so we're justified in merging them into the error (and gaining 30 df by doing so). Step 2: Analyze the simple effect of Soil (i.e. for each Variety separately) Data RCBDFactorial; Do Soil = 1 to 3; Do Variety = 1 to 5; Do Block = 1 to 6; Input Output; Cards; PLS Lab 6 (Topic 9)

12 ; Proc Sort Data = RCBDFactorial; By Variety; Proc GLM Data = RCBDFactorial; Class Soil Block; Model Yield = Soil Block; Means Soil / Tukey; By Variety; Output Out = PR r = res p = pred; Proc Print Data = PR; Proc Univariate normal data = PR; Var res; By Variety; Proc GLM data = RCBDFactorial; Class Soil; Model Yield = Soil; Means Soil / hovtest = Levene; By Variety; Proc GLM Data = PR; Class Soil Block; Model Yield = Soil Block pred*pred; By Variety; Proc Plot Data = PR; Plot res*pred; By Variety; Run; Quit; The first Proc GLM carries out five separate ANOVA's, one for each Variety; it also generates predicted and residual values. The Proc Univariate tests for normality of residuals within each ANOVA. The second Proc GLM conducts Levene's Tests for Soil within each level of variety. And the last Proc GLM tests for nonadditivity within each of the five models. The output is extensive but can be organized as shown on the next page: Normality of residuals (Variety 1 Variety 5) Test --Statistic p Value Shapiro-Wilk W Pr < W Shapiro-Wilk W Pr < W Shapiro-Wilk W Pr < W Shapiro-Wilk W Pr < W Shapiro-Wilk W Pr < W Homogeneity of variances (Variety 1 Variety 5) Levene's Test for Homogeneity of Yield Variance ANOVA of Squared Deviations from Group Means PLS Lab 6 (Topic 9)

13 Sum of Mean Source DF Squares Square F Value Pr > F Method Method Method Method Method Nonadditivity (Variety 1 Variety 5) Source DF Type I SS Mean Square F Value Pr > F pred*pred pred*pred pred*pred pred*pred pred*pred The only assumption we violate is Nonadditivity within Variety 4 (though a few others are close). At this point, you could try to transform the data for Variety 4 to bring that subset of your data into alignment with the ANOVA assumptions. But since you're already able to detect differences among soils within Variety 4 (see summary of Tukey separations below), you may decide that transforming is not worth it. Variety Treatment Block MSD Tukey NS NS = 3 3 = NS NS = 3 = ** NS = 3 3 = *** NS = ** NS = 2 2 = 3 To be truly comprehensive in our analysis, we should also analyze the differences among varieties for each of the soils. To do this, simply sort by Soil instead of Variety and replace all the "by Variety" commands with "by Soil" commands in the code; other changes are necessary in the class and model statements, resulting in a final code like the one below: Data RCBDFactorial; Do Soil = 1 to 3; Do Variety = 1 to 5; Do Block = 1 to 6; Input Output; Cards; PLS Lab 6 (Topic 9)

14 ; Proc Sort Data = RCBDFactorial; By Soil; Proc GLM Data = RCBDFactorial; Class Variety Block; Model Yield = Variety Block; Means Variety / Tukey; By Soil; Output Out = PR r = res p = pred; Proc Univariate normal data = PR; Var res; By Soil; Proc GLM data = RCBDFactorial; Class Variety; Model Yield = Variety; Means Variety / hovtest = Levene; By Soil; Proc GLM Data = PR; Class Variety Block; Model Yield = Variety Block pred*pred; By Soil; Proc Plot data = PR; Plot res*pred; By Soil; Run; Quit; And the results: Normality of residuals (Method 1 Method 3) Test --Statistic p Value Shapiro-Wilk W Pr < W Shapiro-Wilk W Pr < W Shapiro-Wilk W Pr < W Homogeneity of variances (Method 1 Method 3) Levene's Test for Homogeneity of Yield Variance ANOVA of Squared Deviations from Group Means Sum of Mean Source DF Squares Square F Value Pr > F Variety Variety Variety Nonadditivity (Method 1 Method 3) Source DF Type I SS Mean Square F Value Pr > F pred*pred pred*pred pred*pred All assumptions are nicely met, so we can report the ANOVA results for Variety without reservations: Method Treatment Block MSD Tukey NS NS =3=5=2=1 PLS Lab 6 (Topic 9)

15 NS NS =3=2=1= * NS =1=3=4 1=3=4=5 Interesting. While for the overall ANOVA no differences among Varieties was detected, here we see that within Method 3, differences are in fact present. This is an "almost practically complete analysis" because a complete analysis would require commentary (i.e. interpretation) of all the results generated above, a discussion as to which variety-method combinations are recommended or not recommended, etc. One should also make efforts to visualize the data using bar charts or interaction plots. The things to realize is that, even for a simple example like this, the necessary analysis can be substantial. An added thorn: This analysis of simple effects involves an enormous number of independent questions: 8 Shapiro-Wilk tests, 8 Levene s tests, 8 non-additivity tests, 45 Tukey pairwise comparisons! This has major implications in terms of the experimentwise error rate, so be aware! APPENDIX 2: Graphing in Excel The same results can be easily obtained in excel by organizing the data into series (rows) as below: Var1 Var2 Var3 Var4 Var5 Soil Soil Soil and then selecting insert->line->2d-line PLS Lab 6 (Topic 9)

16 Var1 Var2 Var3 Var4 Var5 Soil1 Soil2 Soil3 Errors can be added by selecting Chart tools->layout ->error bars -> custom ->specify value and selecting rows for each series from a Table organized as above with SE. SE Var1 Var2 Var3 Var4 Var5 Soil Soil Soil The non-parallel nature of the lines in this interaction plot demonstrates visually the significant interaction we found in the ANOVA. PLS Lab 6 (Topic 9)

PLS205!! Lab 9!! March 6, Topic 13: Covariance Analysis

PLS205!! 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 information

Topic 6. Two-way designs: Randomized Complete Block Design [ST&D Chapter 9 sections 9.1 to 9.7 (except 9.6) and section 15.8]

Topic 6. Two-way designs: Randomized Complete Block Design [ST&D Chapter 9 sections 9.1 to 9.7 (except 9.6) and section 15.8] Topic 6. Two-way designs: Randomized Complete Block Design [ST&D Chapter 9 sections 9.1 to 9.7 (except 9.6) and section 15.8] The completely randomized design Treatments are randomly assigned to e.u. such

More information

PLS205 Lab 2 January 15, Laboratory Topic 3

PLS205 Lab 2 January 15, Laboratory Topic 3 PLS205 Lab 2 January 15, 2015 Laboratory Topic 3 General format of ANOVA in SAS Testing the assumption of homogeneity of variances by "/hovtest" by ANOVA of squared residuals Proc Power for ANOVA One-way

More information

PLS205 Winter Homework Topic 8

PLS205 Winter Homework Topic 8 PLS205 Winter 2015 Homework Topic 8 Due TUESDAY, February 10, at the beginning of discussion. Answer all parts of the questions completely, and clearly document the procedures used in each exercise. To

More information

Lecture 7 Randomized Complete Block Design (RCBD) [ST&D sections (except 9.6) and section 15.8]

Lecture 7 Randomized Complete Block Design (RCBD) [ST&D sections (except 9.6) and section 15.8] Lecture 7 Randomized Complete Block Design () [ST&D sections 9.1 9.7 (except 9.6) and section 15.8] The Completely Randomized Design () 1. It is assumed that all experimental units (EU's) are uniform..

More information

Laboratory Topics 4 & 5

Laboratory Topics 4 & 5 PLS205 Lab 3 January 23, 2014 Orthogonal contrasts Class comparisons in SAS Trend analysis in SAS Multiple mean comparisons Laboratory Topics 4 & 5 Orthogonal contrasts Planned, single degree-of-freedom

More information

PLS205 KEY Winter Homework Topic 3. The following represents one way to program SAS for this question:

PLS205 KEY Winter Homework Topic 3. The following represents one way to program SAS for this question: PL05 KEY Winter 05 Homework Topic 3 Answers to Question [30 points] The following represents one way to program A for this question: Data Weeds; Input Cover $ Biomass; Cards; 66 634 63 63 633 645 69 63

More information

Topic 13. Analysis of Covariance (ANCOVA) [ST&D chapter 17] 13.1 Introduction Review of regression concepts

Topic 13. Analysis of Covariance (ANCOVA) [ST&D chapter 17] 13.1 Introduction Review of regression concepts Topic 13. Analysis of Covariance (ANCOVA) [ST&D chapter 17] 13.1 Introduction The analysis of covariance (ANCOVA) is a technique that is occasionally useful for improving the precision of an experiment.

More information

Topic 12. The Split-plot Design and its Relatives (continued) Repeated Measures

Topic 12. The Split-plot Design and its Relatives (continued) Repeated Measures 12.1 Topic 12. The Split-plot Design and its Relatives (continued) Repeated Measures 12.9 Repeated measures analysis Sometimes researchers make multiple measurements on the same experimental unit. We have

More information

Topic 9: Factorial treatment structures. Introduction. Terminology. Example of a 2x2 factorial

Topic 9: Factorial treatment structures. Introduction. Terminology. Example of a 2x2 factorial Topic 9: Factorial treatment structures Introduction A common objective in research is to investigate the effect of each of a number of variables, or factors, on some response variable. In earlier times,

More information

Topic 8. Data Transformations [ST&D section 9.16]

Topic 8. Data Transformations [ST&D section 9.16] Topic 8. Data Transformations [ST&D section 9.16] 8.1 The assumptions of ANOVA For ANOVA, the linear model for the RCBD is: Y ij = µ + τ i + β j + ε ij There are four key assumptions implicit in this model.

More information

BIOL 933!! Lab 10!! Fall Topic 13: Covariance Analysis

BIOL 933!! Lab 10!! Fall Topic 13: Covariance Analysis BIOL 933!! Lab 10!! Fall 2017 Topic 13: Covariance Analysis Covariable as a tool for increasing precision Carrying out a full ANCOVA Testing ANOVA assumptions Happiness Covariables as Tools for Increasing

More information

Increasing precision by partitioning the error sum of squares: Blocking: SSE (CRD) à SSB + SSE (RCBD) Contrasts: SST à (t 1) orthogonal contrasts

Increasing precision by partitioning the error sum of squares: Blocking: SSE (CRD) à SSB + SSE (RCBD) Contrasts: SST à (t 1) orthogonal contrasts Lecture 13 Topic 9: Factorial treatment structures (Part II) Increasing precision by partitioning the error sum of squares: s MST F = = MSE 2 among = s 2 within SST df trt SSE df e Blocking: SSE (CRD)

More information

Lecture 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 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 information

IX. Complete Block Designs (CBD s)

IX. Complete Block Designs (CBD s) IX. Complete Block Designs (CBD s) A.Background Noise Factors nuisance factors whose values can be controlled within the context of the experiment but not outside the context of the experiment Covariates

More information

Chapter 11: Factorial Designs

Chapter 11: Factorial Designs Chapter : Factorial Designs. Two factor factorial designs ( levels factors ) This situation is similar to the randomized block design from the previous chapter. However, in addition to the effects within

More information

COMPLETELY RANDOM DESIGN (CRD) -Design can be used when experimental units are essentially homogeneous.

COMPLETELY RANDOM DESIGN (CRD) -Design can be used when experimental units are essentially homogeneous. COMPLETELY RANDOM DESIGN (CRD) Description of the Design -Simplest design to use. -Design can be used when experimental units are essentially homogeneous. -Because of the homogeneity requirement, it may

More information

Topic 13. Analysis of Covariance (ANCOVA) - Part II [ST&D Ch. 17]

Topic 13. Analysis of Covariance (ANCOVA) - Part II [ST&D Ch. 17] Topic 13. Analysis of Covariance (ANCOVA) - Part II [ST&D Ch. 17] 13.5 Assumptions of ANCOVA The assumptions of analysis of covariance are: 1. The X s are fixed, measured without error, and independent

More information

Unbalanced Data in Factorials Types I, II, III SS Part 2

Unbalanced Data in Factorials Types I, II, III SS Part 2 Unbalanced Data in Factorials Types I, II, III SS Part 2 Chapter 10 in Oehlert STAT:5201 Week 9 - Lecture 2b 1 / 29 Types of sums of squares Type II SS The Type II SS relates to the extra variability explained

More information

Lecture 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 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 information

Biological Applications of ANOVA - Examples and Readings

Biological Applications of ANOVA - Examples and Readings BIO 575 Biological Applications of ANOVA - Winter Quarter 2010 Page 1 ANOVA Pac Biological Applications of ANOVA - Examples and Readings One-factor Model I (Fixed Effects) This is the same example for

More information

Single Factor Experiments

Single 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 information

Introduction 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) 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 information

BE640 Intermediate Biostatistics 2. Regression and Correlation. Simple Linear Regression Software: SAS. Emergency Calls to the New York Auto Club

BE640 Intermediate Biostatistics 2. Regression and Correlation. Simple Linear Regression Software: SAS. Emergency Calls to the New York Auto Club BE640 Intermediate Biostatistics 2. Regression and Correlation Simple Linear Regression Software: SAS Emergency Calls to the New York Auto Club Source: Chatterjee, S; Handcock MS and Simonoff JS A Casebook

More information

Chap The McGraw-Hill Companies, Inc. All rights reserved.

Chap The McGraw-Hill Companies, Inc. All rights reserved. 11 pter11 Chap Analysis of Variance Overview of ANOVA Multiple Comparisons Tests for Homogeneity of Variances Two-Factor ANOVA Without Replication General Linear Model Experimental Design: An Overview

More information

STAT 115:Experimental Designs

STAT 115:Experimental Designs STAT 115:Experimental Designs Josefina V. Almeda 2013 Multisample inference: Analysis of Variance 1 Learning Objectives 1. Describe Analysis of Variance (ANOVA) 2. Explain the Rationale of ANOVA 3. Compare

More information

Answer Keys to Homework#10

Answer 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 information

Assignment 9 Answer Keys

Assignment 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 information

ANALYSIS OF VARIANCE OF BALANCED DAIRY SCIENCE DATA USING SAS

ANALYSIS OF VARIANCE OF BALANCED DAIRY SCIENCE DATA USING SAS ANALYSIS OF VARIANCE OF BALANCED DAIRY SCIENCE DATA USING SAS Ravinder Malhotra and Vipul Sharma National Dairy Research Institute, Karnal-132001 The most common use of statistics in dairy science is testing

More information

610 - R1A "Make friends" with your data Psychology 610, University of Wisconsin-Madison

610 - R1A Make friends with your data Psychology 610, University of Wisconsin-Madison 610 - R1A "Make friends" with your data Psychology 610, University of Wisconsin-Madison Prof Colleen F. Moore Note: The metaphor of making friends with your data was used by Tukey in some of his writings.

More information

Topic 7: Incomplete, double-blocked designs: Latin Squares [ST&D sections ]

Topic 7: Incomplete, double-blocked designs: Latin Squares [ST&D sections ] Topic 7: Incomplete, double-blocked designs: Latin Squares [ST&D sections 9.10 9.15] 7.1. Introduction The Randomized Complete Block Design is commonly used to improve the ability of an experiment to detect

More information

Analyses of Variance. Block 2b

Analyses of Variance. Block 2b Analyses of Variance Block 2b Types of analyses 1 way ANOVA For more than 2 levels of a factor between subjects ANCOVA For continuous co-varying factor, between subjects ANOVA for factorial design Multiple

More information

Linear Combinations of Group Means

Linear Combinations of Group Means Linear Combinations of Group Means Look at the handicap example on p. 150 of the text. proc means data=mth567.disability; class handicap; var score; proc sort data=mth567.disability; by handicap; proc

More information

Comparison of a Population Means

Comparison 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 information

Lecture 11: Simple Linear Regression

Lecture 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 information

Keppel, G. & Wickens, T. D. Design and Analysis Chapter 4: Analytical Comparisons Among Treatment Means

Keppel, G. & Wickens, T. D. Design and Analysis Chapter 4: Analytical Comparisons Among Treatment Means Keppel, G. & Wickens, T. D. Design and Analysis Chapter 4: Analytical Comparisons Among Treatment Means 4.1 The Need for Analytical Comparisons...the between-groups sum of squares averages the differences

More information

Statistics 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). 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 information

Allow the investigation of the effects of a number of variables on some response

Allow the investigation of the effects of a number of variables on some response Lecture 12 Topic 9: Factorial treatment structures (Part I) Factorial experiments Allow the investigation of the effects of a number of variables on some response in a highly efficient manner, and in a

More information

SAS Commands. General Plan. Output. Construct scatterplot / interaction plot. Run full model

SAS 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 information

5.3 Three-Stage Nested Design Example

5.3 Three-Stage Nested Design Example 5.3 Three-Stage Nested Design Example A researcher designs an experiment to study the of a metal alloy. A three-stage nested design was conducted that included Two alloy chemistry compositions. Three ovens

More information

Using SPSS for One Way Analysis of Variance

Using SPSS for One Way Analysis of Variance Using SPSS for One Way Analysis of Variance This tutorial will show you how to use SPSS version 12 to perform a one-way, between- subjects analysis of variance and related post-hoc tests. This tutorial

More information

The ε ij (i.e. the errors or residuals) are normally distributed. This assumption has the least influence on the F test.

The ε ij (i.e. the errors or residuals) are normally distributed. This assumption has the least influence on the F test. Lecture 11 Topic 8: Data Transformations Assumptions of the Analysis of Variance 1. Independence of errors The ε ij (i.e. the errors or residuals) are statistically independent from one another. Failure

More information

Topic 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. 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 information

SAS 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;

SAS 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 information

Unbalanced Designs & Quasi F-Ratios

Unbalanced Designs & Quasi F-Ratios Unbalanced Designs & Quasi F-Ratios ANOVA for unequal n s, pooled variances, & other useful tools Unequal nʼs Focus (so far) on Balanced Designs Equal n s in groups (CR-p and CRF-pq) Observation in every

More information

STA 303H1F: Two-way Analysis of Variance Practice Problems

STA 303H1F: Two-way Analysis of Variance Practice Problems STA 303H1F: Two-way Analysis of Variance Practice Problems 1. In the Pygmalion example from lecture, why are the average scores of the platoon used as the response variable, rather than the scores of the

More information

Outline Topic 21 - Two Factor ANOVA

Outline 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 information

Lecture 9: Factorial Design Montgomery: chapter 5

Lecture 9: Factorial Design Montgomery: chapter 5 Lecture 9: Factorial Design Montgomery: chapter 5 Page 1 Examples Example I. Two factors (A, B) each with two levels (, +) Page 2 Three Data for Example I Ex.I-Data 1 A B + + 27,33 51,51 18,22 39,41 EX.I-Data

More information

One-way ANOVA Model Assumptions

One-way ANOVA Model Assumptions One-way ANOVA Model Assumptions STAT:5201 Week 4: Lecture 1 1 / 31 One-way ANOVA: Model Assumptions Consider the single factor model: Y ij = µ + α }{{} i ij iid with ɛ ij N(0, σ 2 ) mean structure random

More information

Reference: Chapter 6 of Montgomery(8e) Maghsoodloo

Reference: 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 information

CHAPTER 13: F PROBABILITY DISTRIBUTION

CHAPTER 13: F PROBABILITY DISTRIBUTION CHAPTER 13: F PROBABILITY DISTRIBUTION continuous probability distribution skewed to the right variable values on horizontal axis are 0 area under the curve represents probability horizontal asymptote

More information

EXST7015: Estimating tree weights from other morphometric variables Raw data print

EXST7015: Estimating tree weights from other morphometric variables Raw data print Simple Linear Regression SAS example Page 1 1 ********************************************; 2 *** Data from Freund & Wilson (1993) ***; 3 *** TABLE 8.24 : ESTIMATING TREE WEIGHTS ***; 4 ********************************************;

More information

4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES

4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES 4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES FOR SINGLE FACTOR BETWEEN-S DESIGNS Planned or A Priori Comparisons We previously showed various ways to test all possible pairwise comparisons for

More information

Lecture 7: Latin Square and Related Design

Lecture 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 information

Module 03 Lecture 14 Inferential Statistics ANOVA and TOI

Module 03 Lecture 14 Inferential Statistics ANOVA and TOI Introduction of Data Analytics Prof. Nandan Sudarsanam and Prof. B Ravindran Department of Management Studies and Department of Computer Science and Engineering Indian Institute of Technology, Madras Module

More information

Topic 12. The Split-plot Design and its Relatives (Part II) Repeated Measures [ST&D Ch. 16] 12.9 Repeated measures analysis

Topic 12. The Split-plot Design and its Relatives (Part II) Repeated Measures [ST&D Ch. 16] 12.9 Repeated measures analysis Topic 12. The Split-plot Design and its Relatives (Part II) Repeated Measures [ST&D Ch. 16] 12.9 Repeated measures analysis Sometimes researchers make multiple measurements on the same experimental unit.

More information

BIOL Biometry LAB 6 - SINGLE FACTOR ANOVA and MULTIPLE COMPARISON PROCEDURES

BIOL Biometry LAB 6 - SINGLE FACTOR ANOVA and MULTIPLE COMPARISON PROCEDURES BIOL 458 - Biometry LAB 6 - SINGLE FACTOR ANOVA and MULTIPLE COMPARISON PROCEDURES PART 1: INTRODUCTION TO ANOVA Purpose of ANOVA Analysis of Variance (ANOVA) is an extremely useful statistical method

More information

STAT 3900/4950 MIDTERM TWO Name: Spring, 2015 (print: first last ) Covered topics: Two-way ANOVA, ANCOVA, SLR, MLR and correlation analysis

STAT 3900/4950 MIDTERM TWO Name: Spring, 2015 (print: first last ) Covered topics: Two-way ANOVA, ANCOVA, SLR, MLR and correlation analysis STAT 3900/4950 MIDTERM TWO Name: Spring, 205 (print: first last ) Covered topics: Two-way ANOVA, ANCOVA, SLR, MLR and correlation analysis Instructions: You may use your books, notes, and SPSS/SAS. NO

More information

MEMORIAL UNIVERSITY OF NEWFOUNDLAND DEPARTMENT OF MATHEMATICS AND STATISTICS FINAL EXAM - STATISTICS FALL 1999

MEMORIAL UNIVERSITY OF NEWFOUNDLAND DEPARTMENT OF MATHEMATICS AND STATISTICS FINAL EXAM - STATISTICS FALL 1999 MEMORIAL UNIVERSITY OF NEWFOUNDLAND DEPARTMENT OF MATHEMATICS AND STATISTICS FINAL EXAM - STATISTICS 350 - FALL 1999 Instructor: A. Oyet Date: December 16, 1999 Name(Surname First): Student Number INSTRUCTIONS

More information

One-way ANOVA (Single-Factor CRD)

One-way ANOVA (Single-Factor CRD) One-way ANOVA (Single-Factor CRD) STAT:5201 Week 3: Lecture 3 1 / 23 One-way ANOVA We have already described a completed randomized design (CRD) where treatments are randomly assigned to EUs. There is

More information

PROBLEM TWO (ALKALOID CONCENTRATIONS IN TEA) 1. Statistical Design

PROBLEM TWO (ALKALOID CONCENTRATIONS IN TEA) 1. Statistical Design PROBLEM TWO (ALKALOID CONCENTRATIONS IN TEA) 1. Statistical Design The purpose of this experiment was to determine differences in alkaloid concentration of tea leaves, based on herb variety (Factor A)

More information

Cross-Over Design Experiment (Using SAS)

Cross-Over Design Experiment (Using SAS) Cross-Over Design Experiment (Using SAS) Rita Rahmawati Department of Statistics, Diponegoro University, Semarang ABSTRACT Cross-over experiments are a special class of repeated measures experiments. Up

More information

4.8 Alternate Analysis as a Oneway ANOVA

4.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 information

SAS Procedures Inference about the Line ffl model statement in proc reg has many options ffl To construct confidence intervals use alpha=, clm, cli, c

SAS 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 information

Assignment 6 Answer Keys

Assignment 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 information

Simple, Marginal, and Interaction Effects in General Linear Models

Simple, Marginal, and Interaction Effects in General Linear Models Simple, Marginal, and Interaction Effects in General Linear Models PRE 905: Multivariate Analysis Lecture 3 Today s Class Centering and Coding Predictors Interpreting Parameters in the Model for the Means

More information

Topic 20: Single Factor Analysis of Variance

Topic 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 information

1 A Review of Correlation and Regression

1 A Review of Correlation and Regression 1 A Review of Correlation and Regression SW, Chapter 12 Suppose we select n = 10 persons from the population of college seniors who plan to take the MCAT exam. Each takes the test, is coached, and then

More information

Split-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 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 information

POL 681 Lecture Notes: Statistical Interactions

POL 681 Lecture Notes: Statistical Interactions POL 681 Lecture Notes: Statistical Interactions 1 Preliminaries To this point, the linear models we have considered have all been interpreted in terms of additive relationships. That is, the relationship

More information

STAT 350. Assignment 4

STAT 350. Assignment 4 STAT 350 Assignment 4 1. For the Mileage data in assignment 3 conduct a residual analysis and report your findings. I used the full model for this since my answers to assignment 3 suggested we needed the

More information

Overview Scatter Plot Example

Overview 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 information

Topic 28: Unequal Replication in Two-Way ANOVA

Topic 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 information

Stat 5303 (Oehlert): Tukey One Degree of Freedom 1

Stat 5303 (Oehlert): Tukey One Degree of Freedom 1 Stat 5303 (Oehlert): Tukey One Degree of Freedom 1 > catch

More information

MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010

MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010 MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010 Part 1 of this document can be found at http://www.uvm.edu/~dhowell/methods/supplements/mixed Models for Repeated Measures1.pdf

More information

Three Factor Completely Randomized Design with One Continuous Factor: Using SPSS GLM UNIVARIATE R. C. Gardner Department of Psychology

Three Factor Completely Randomized Design with One Continuous Factor: Using SPSS GLM UNIVARIATE R. C. Gardner Department of Psychology Data_Analysis.calm Three Factor Completely Randomized Design with One Continuous Factor: Using SPSS GLM UNIVARIATE R. C. Gardner Department of Psychology This article considers a three factor completely

More information

Chapter 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 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 information

Keppel, G. & Wickens, T. D. Design and Analysis Chapter 12: Detailed Analyses of Main Effects and Simple Effects

Keppel, G. & Wickens, T. D. Design and Analysis Chapter 12: Detailed Analyses of Main Effects and Simple Effects Keppel, G. & Wickens, T. D. Design and Analysis Chapter 1: Detailed Analyses of Main Effects and Simple Effects If the interaction is significant, then less attention is paid to the two main effects, and

More information

Ch. 3 Equations and Inequalities

Ch. 3 Equations and Inequalities Ch. 3 Equations and Inequalities 3.1 Solving Linear Equations Graphically There are 2 methods presented in this section for solving linear equations graphically. Normally I would not cover solving linear

More information

In social and biological sciences, a useful and frequently used statistical technique is the

In social and biological sciences, a useful and frequently used statistical technique is the Testing the additivity assumption in repeated measures ANOV A Robert I. Zambarano University of Texas Computation Center In social and biological sciences, a useful and frequently used statistical technique

More information

RCB - Example. STA305 week 10 1

RCB - Example. STA305 week 10 1 RCB - Example An accounting firm wants to select training program for its auditors who conduct statistical sampling as part of their job. Three training methods are under consideration: home study, presentations

More information

Contrasts and Multiple Comparisons Supplement for Pages

Contrasts and Multiple Comparisons Supplement for Pages Contrasts and Multiple Comparisons Supplement for Pages 302-323 Brian Habing University of South Carolina Last Updated: July 20, 2001 The F-test from the ANOVA table allows us to test the null hypothesis

More information

Mixed Model: Split plot with two whole-plot factors, one split-plot factor, and CRD at the whole-plot level (e.g. fancier split-plot p.

Mixed Model: Split plot with two whole-plot factors, one split-plot factor, and CRD at the whole-plot level (e.g. fancier split-plot p. 22s:173 Combining multiple factors into a single superfactor Mixed Model: Split plot with two whole-plot factors, one split-plot factor, and CRD at the whole-plot level (e.g. fancier split-plot p.422 Oehlert)

More information

Covariance Structure Approach to Within-Cases

Covariance Structure Approach to Within-Cases Covariance Structure Approach to Within-Cases Remember how the data file grapefruit1.data looks: Store sales1 sales2 sales3 1 62.1 61.3 60.8 2 58.2 57.9 55.1 3 51.6 49.2 46.2 4 53.7 51.5 48.3 5 61.4 58.7

More information

2. Treatments are randomly assigned to EUs such that each treatment occurs equally often in the experiment. (1 randomization per experiment)

2. Treatments are randomly assigned to EUs such that each treatment occurs equally often in the experiment. (1 randomization per experiment) Lecture 9 Topic 6: Randomized Complete Block Designs (RCBD's) The Completely Randomized Design () 1. It is assumed that all experimental units (EU's) are uniform.. Treatments are randomly assigned to EUs

More information

DESAIN EKSPERIMEN Analysis of Variances (ANOVA) Semester Genap 2017/2018 Jurusan Teknik Industri Universitas Brawijaya

DESAIN EKSPERIMEN Analysis of Variances (ANOVA) Semester Genap 2017/2018 Jurusan Teknik Industri Universitas Brawijaya DESAIN EKSPERIMEN Analysis of Variances (ANOVA) Semester Jurusan Teknik Industri Universitas Brawijaya Outline Introduction The Analysis of Variance Models for the Data Post-ANOVA Comparison of Means Sample

More information

Figure 9.1: A Latin square of order 4, used to construct four types of design

Figure 9.1: A Latin square of order 4, used to construct four types of design 152 Chapter 9 More about Latin Squares 9.1 Uses of Latin squares Let S be an n n Latin square. Figure 9.1 shows a possible square S when n = 4, using the symbols 1, 2, 3, 4 for the letters. Such a Latin

More information

Lecture 7: Latin Squares and Related Designs

Lecture 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 information

From Practical Data Analysis with JMP, Second Edition. Full book available for purchase here. About This Book... xiii About The Author...

From Practical Data Analysis with JMP, Second Edition. Full book available for purchase here. About This Book... xiii About The Author... From Practical Data Analysis with JMP, Second Edition. Full book available for purchase here. Contents About This Book... xiii About The Author... xxiii Chapter 1 Getting Started: Data Analysis with JMP...

More information

Advanced Experimental Design

Advanced Experimental Design Advanced Experimental Design Topic Four Hypothesis testing (z and t tests) & Power Agenda Hypothesis testing Sampling distributions/central limit theorem z test (σ known) One sample z & Confidence intervals

More information

Outline. Topic 22 - Interaction in Two Factor ANOVA. Interaction Not Significant. General Plan

Outline. 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 information

Your schedule of coming weeks. One-way ANOVA, II. Review from last time. Review from last time /22/2004. Create ANOVA table

Your schedule of coming weeks. One-way ANOVA, II. Review from last time. Review from last time /22/2004. Create ANOVA table Your schedule of coming weeks One-way ANOVA, II 9.07 //00 Today: One-way ANOVA, part II Next week: Two-way ANOVA, parts I and II. One-way ANOVA HW due Thursday Week of May Teacher out of town all week

More information

a = 4 levels of treatment A = Poison b = 3 levels of treatment B = Pretreatment n = 4 replicates for each treatment combination

a = 4 levels of treatment A = Poison b = 3 levels of treatment B = Pretreatment n = 4 replicates for each treatment combination In Box, Hunter, and Hunter Statistics for Experimenters is a two factor example of dying times for animals, let's say cockroaches, using 4 poisons and pretreatments with n=4 values for each combination

More information

Factorial ANOVA. STA305 Spring More than one categorical explanatory variable

Factorial ANOVA. STA305 Spring More than one categorical explanatory variable Factorial ANOVA STA305 Spring 2014 More than one categorical explanatory variable Optional Background Reading Chapter 7 of Data analysis with SAS 2 Factorial ANOVA More than one categorical explanatory

More information

Chapter 4: Randomized Blocks and Latin Squares

Chapter 4: Randomized Blocks and Latin Squares Chapter 4: Randomized Blocks and Latin Squares 1 Design of Engineering Experiments The Blocking Principle Blocking and nuisance factors The randomized complete block design or the RCBD Extension of the

More information

STAT 8200 Design of Experiments for Research Workers Lab 11 Due: Friday, Nov. 22, 2013

STAT 8200 Design of Experiments for Research Workers Lab 11 Due: Friday, Nov. 22, 2013 Example: STAT 8200 Design of Experiments for Research Workers Lab 11 Due: Friday, Nov. 22, 2013 An experiment is designed to study pigment dispersion in paint. Four different methods of mixing a particular

More information

Simple, Marginal, and Interaction Effects in General Linear Models: Part 1

Simple, Marginal, and Interaction Effects in General Linear Models: Part 1 Simple, Marginal, and Interaction Effects in General Linear Models: Part 1 PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 2: August 24, 2012 PSYC 943: Lecture 2 Today s Class Centering and

More information

Linear Independence Reading: Lay 1.7

Linear Independence Reading: Lay 1.7 Linear Independence Reading: Lay 17 September 11, 213 In this section, we discuss the concept of linear dependence and independence I am going to introduce the definitions and then work some examples and

More information

Analysis of Covariance

Analysis 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 information

Aquatic Toxicology Lab 10 Pimephales promelas Larval Survival and Growth Test Data Analysis 1. Complete test initiated last week 1.

Aquatic Toxicology Lab 10 Pimephales promelas Larval Survival and Growth Test Data Analysis 1. Complete test initiated last week 1. Aquatic Toxicology Lab 10 Pimephales promelas Larval Survival and Growth Test Data Analysis 1. Complete test initiated last week 1. make day 7 observations 2. prepare fish for drying 3. weigh aluminum

More information