7-2 Factorial Experiments A significant interaction mask the significance of main effects. Consequently, when interaction is present, the main effects.

Slides:



Advertisements
Similar presentations
A. The Basic Principle We consider the multivariate extension of multiple linear regression – modeling the relationship between m responses Y 1,…,Y m and.
Advertisements

Latin Square Designs (§15.4)
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture #19 Analysis of Designs with Random Factor Levels.
1 Chapter 4 Experiments with Blocking Factors The Randomized Complete Block Design Nuisance factor: a design factor that probably has an effect.
Chapter 4 Randomized Blocks, Latin Squares, and Related Designs
Design and Analysis of Experiments
Analysis of Variance Compares means to determine if the population distributions are not similar Uses means and confidence intervals much like a t-test.
EPI 809/Spring Probability Distribution of Random Error.
ANOVA notes NR 245 Austin Troy
Chapter 5 Introduction to Factorial Designs
Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.
Analysis of Variance: ANOVA. Group 1: control group/ no ind. Var. Group 2: low level of the ind. Var. Group 3: high level of the ind var.
ANalysis Of VAriance (ANOVA) Comparing > 2 means Frequently applied to experimental data Why not do multiple t-tests? If you want to test H 0 : m 1 = m.
1 Chapter 5 Introduction to Factorial Designs Basic Definitions and Principles Study the effects of two or more factors. Factorial designs Crossed:
1 Experimental design and statistical analyses of data Lesson 5: Mixed models Nested anovas Split-plot designs.
Incomplete Block Designs
ANOVA: Analysis of Variance Xuhua Xia
1 Experimental Statistics - week 7 Chapter 15: Factorial Models (15.5) Chapter 17: Random Effects Models.
© 2002 Prentice-Hall, Inc.Chap 14-1 Introduction to Multiple Regression Model.
1 Experimental Statistics - week 6 Chapter 15: Randomized Complete Block Design (15.3) Factorial Models (15.5)
Multiple Comparisons.
1 Experimental Statistics - week 4 Chapter 8: 1-factor ANOVA models Using SAS.
Analysis of Covariance ANOVA is a class of statistics developed to evaluate controlled experiments. Experimental control, random selection of subjects,
4-5 Inference on the Mean of a Population, Variance Unknown Hypothesis Testing on the Mean.
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation.
23-1 Analysis of Covariance (Chapter 16) A procedure for comparing treatment means that incorporates information on a quantitative explanatory variable,
1 The General Factorial Design Two-factor factorial design General case: Factor A – a levels Factor B – b levels … n replicate (n  2) Total observations:
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation Note: Homework Due Thursday.
6-3 Multiple Regression Estimation of Parameters in Multiple Regression.
Regression For the purposes of this class: –Does Y depend on X? –Does a change in X cause a change in Y? –Can Y be predicted from X? Y= mX + b Predicted.
7-1 The Strategy of Experimentation Every experiment involves a sequence of activities: 1.Conjecture – the original hypothesis that motivates the.
Testing Multiple Means and the Analysis of Variance (§8.1, 8.2, 8.6) Situations where comparing more than two means is important. The approach to testing.
Randomized Block Design (Kirk, chapter 7) BUSI 6480 Lecture 6.
5-5 Inference on the Ratio of Variances of Two Normal Populations The F Distribution We wish to test the hypotheses: The development of a test procedure.
6-1 Introduction To Empirical Models Based on the scatter diagram, it is probably reasonable to assume that the mean of the random variable Y is.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
The Completely Randomized Design (§8.3)
6-3 Multiple Regression Estimation of Parameters in Multiple Regression.
1 Experimental Statistics - week 14 Multiple Regression – miscellaneous topics.
Latin Squares (Kirk, chapter 8) BUSI 6480 Lecture 7.
PSYC 3030 Review Session April 19, Housekeeping Exam: –April 26, 2004 (Monday) –RN 203 –Use pencil, bring calculator & eraser –Make use of your.
By: Corey T. Williams 03 May Situation Objective.
Simple Linear Regression. Data available : (X,Y) Goal : To predict the response Y. (i.e. to obtain the fitted response function f(X)) Least Squares Fitting.
1 Experimental Statistics - week 9 Chapter 17: Models with Random Effects Chapter 18: Repeated Measures.
Topic 24: Two-Way ANOVA. Outline Two-way ANOVA –Data –Cell means model –Parameter estimates –Factor effects model.
Correlated-Samples ANOVA The Univariate Approach.
1 Experimental Statistics Spring week 6 Chapter 15: Factorial Models (15.5)
Experimental Statistics - week 3
One-Way Analysis of Variance Recapitulation Recapitulation 1. Comparing differences among three or more subsamples requires a different statistical test.
Other Types of t-tests Recapitulation Recapitulation 1. Still dealing with random samples. 2. However, they are partitioned into two subsamples. 3. Interest.
CRD, Strength of Association, Effect Size, Power, and Sample Size Calculations BUSI 6480 Lecture 4.
1 Experimental Statistics - week 13 Multiple Regression Miscellaneous Topics.
1 An example of a more complex design (a four level nested anova) 0 %, 20% and 40% of a tree’s roots were cut with the purpose to study the influence.
Experimental Statistics - week 9
1 Experimental Statistics - week 8 Chapter 17: Mixed Models Chapter 18: Repeated Measures.
1 Experimental Statistics - week 12 Chapter 11: Linear Regression and Correlation Chapter 12: Multiple Regression.
1 Estimating and Testing  2 0 (n-1)s 2 /  2 has a  2 distribution with n-1 degrees of freedom Like other parameters, can create CIs and hypothesis tests.
1 Experimental Statistics - week 11 Chapter 11: Linear Regression and Correlation.
1 Experimental Statistics - week 5 Chapter 9: Multiple Comparisons Chapter 15: Randomized Complete Block Design (15.3)
Chapter 5 Introduction to Factorial Designs
5-5 Inference on the Ratio of Variances of Two Normal Populations
After ANOVA If your F < F critical: Null not rejected, stop right now!! If your F > F critical: Null rejected, now figure out which of the multiple means.
Ex (pp. 430) OPTIONS NOOVP NODATE NONUMBER; proc format;
6-1 Introduction To Empirical Models
4-1 Statistical Inference
Experimental Statistics - Week 4 (Lab)
7-2 Factorial Experiments
5-4 The Paired t-Test OPTIONS NOOVP NODATE NONUMBER ls=80;
ANOVA Analysis of Variance.
Experimental Statistics - week 8
Presentation transcript:

7-2 Factorial Experiments

A significant interaction mask the significance of main effects. Consequently, when interaction is present, the main effects of the factors involved in the interaction may not have much meaning.

7-7Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels Sum of Squares partition: Degrees of freedom partition:

7-7 Factorial Experiments with More than Two Levels Mean Squares:

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

Model Adequacy 7-7 Factorial Experiments with More than Two Levels

Model Adequacy 7-7 Factorial Experiments with More than Two Levels

Model Adequacy 7-7 Factorial Experiments with More than Two Levels

Computer Output 7-7 Factorial Experiments with More than Two Levels

Example Factorial Experiments with More than Two Levels OPTIONS NOOVP NODATE NONUMBER LS=80; DATA ex711; DO obs= 1 to 3; DO type=1 to 3; DO method='Dipping', 'Spraying'; INPUT force OUTPUT; END; END;END; CARDS; ods graphics on; PROC GLM DATA=ex711 plots=all; CLASS type method; MODEL force= type method type*method; MEANS type method type*method/snk; OUTPUT out=new r=resid; TITLE 'Two-way ANOVA'; PROC PLOT DATA=NEW; PLOT RESID*TYPE; PLOT RESID*METHOD; run; QUIT;

Two-way ANOVA The GLM Procedure Dependent Variable: force Sum of Source DF Squares Mean Square F Value Pr > F Model <.0001 Error Corrected Total R-Square Coeff Var Root MSE force Mean Source DF Type I SS Mean Square F Value Pr > F type <.0001 method <.0001 type*method Source DF Type III SS Mean Square F Value Pr > F type <.0001 method <.0001 type*method Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

Two-way ANOVA The GLM Procedure Student-Newman-Keuls Test for force NOTE: This test controls the Type I experimentwise error rate under the complete null hypothesis but not under partial null hypotheses. Alpha 0.05 Error Degrees of Freedom 12 Error Mean Square Number of Means 2 3 Critical Range Means with the same letter are not significantly different. SNK Grouping Mean N type A B B Two-way ANOVA The GLM Procedure Student-Newman-Keuls Test for force NOTE: This test controls the Type I experimentwise error rate under the complete null hypothesis but not under partial null hypotheses. Alpha 0.05 Error Degrees of Freedom 12 Error Mean Square Number of Means 2 Critical Range Means with the same letter are not significantly different. SNK Grouping Mean N method A Sprayin B Dipping 7-7 Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

Two-way ANOVA The GLM Procedure Level of Level of force type method N Mean Std Dev 1 Dipping Sprayin Dipping Sprayin Dipping Sprayin Factorial Experiments with More than Two Levels

Residual Plot resid*type 도표. 범례 : A = 1 관측치, B = 2 관측치, 등. resid | | A A A | | A A | A | A A | | A A | A | | A | B | | A A | | A A | type Residual Plot resid*method 도표. 범례 : A = 1 관측치, B = 2 관측치, 등. resid | | A A A | | A A | A | A A | | A A | A | | A | B | | A A | | A A | Dipping Sprayin method 7-7 Factorial Experiments with More than Two Levels

Speed MaterialFeed B V Thrust Forces in Drilling (3-Way Factorial) 7-7 Factorial Experiments with More than Two Levels

OPTIONS NOOVP NODATE NONUMBER LS=80; DATA threeway; INFILE 'C:\Users\user\Documents\Teaching\ 학부과목 \imen214-stats\ch07\sas\threeway.txt'; INPUT material$ feed speed thrust ods graphics on; PROC glm data=threeway plots=(diagnostics); CLASS material feed speed; MODEL thrust = material | feed | speed; MEANS material | feed | speed/snk; TITLE 'Three-way ANOVA'; DATA means1;INPUT b10 v10 feed PROC PLOT data=means1; PLOT b10*feed='B' v10*feed='V'/overlay; TITLE 'Interaction Plot for Material*Feed'; DATA means2; INPUT b10 v10 speed PROC PLOT data=means2; PLOT b10*speed='B' v10*speed='V'/overlay; TITLE 'Interaction Plot for Speed*Material'; DATA means3; INPUT fd1 fd2 fd3 speed PROC PLOT data=means3; PLOT fd1*speed='1' fd2*speed='2' fd3*speed='3'/overlay; TITLE 'Interaction Plot for Feed*Speed'; RUN; QUIT; 7-7 Factorial Experiments with More than Two Levels B B B B B B B B B B B B

Three-way ANOVA The ANOVA Procedure Dependent Variable: thrust Sum of Source DF Squares Mean Square F Value Pr > F Model <.0001 Error Corrected Total R-Square Coeff Var Root MSE thrust Mean Source DF Anova SS Mean Square F Value Pr > F material <.0001 feed <.0001 material*feed speed material*speed feed*speed material*feed*speed Three-way ANOVA The ANOVA Procedure Class Level Information Class Levels Values material 2 B10 V10 feed speed Number of Observations Read 60 Number of Observations Used Factorial Experiments with More than Two Levels

7-7 Factorial Experiments with More than Two Levels

Three-way ANOVA The ANOVA Procedure Student-Newman-Keuls Test for thrust NOTE: This test controls the Type I experimentwise error rate under the complete null hypothesis but not under partial null hypotheses. Alpha 0.05 Error Degrees of Freedom 30 Error Mean Square Number of Means 2 Critical Range Means with the same letter are not significantly different. SNK Grouping Mean N material A V10 B B10 Three-way ANOVA The ANOVA Procedure Student-Newman-Keuls Test for thrust NOTE: This test controls the Type I experimentwise error rate under the complete null hypothesis but not under partial null hypotheses. Alpha 0.05 Error Degrees of Freedom 30 Error Mean Square Number of Means 2 3 Critical Range Means with the same letter are not significantly different. SNK Grouping Mean N feed A B C Factorial Experiments with More than Two Levels

Three-way ANOVA The ANOVA Procedure Level of Level of thrust material feed N Mean Std Dev B B B V V V Three-way ANOVA The ANOVA Procedure Student-Newman-Keuls Test for thrust NOTE: This test controls the Type I experimentwise error rate under the complete null hypothesis but not under partial null hypotheses. Alpha 0.05 Error Degrees of Freedom 30 Error Mean Square Number of Means Critical Range Means with the same letter are not significantly different. SNK Grouping Mean N speed A A A A A Factorial Experiments with More than Two Levels

Three-way ANOVA The ANOVA Procedure Level of Level of thrust material speed N Mean Std Dev B B B B B V V V V V Level of Level of thrust feed speed N Mean Std Dev Level of Level of Level of thrust material feed speed N Mean Std Dev B B B B B B B B B B B B B B B V V V V V V V V V V V V V V V Factorial Experiments with More than Two Levels

Interaction Plot for Material*Feed b10*feed 도표. 사용된 기호 : 'B'. v10*feed 도표. 사용된 기호 : 'V'. b10 | V | | | | B | | | V | | B | | | V | B | 0 + | feed Interaction Plot for Speed*Material b10*speed 도표. 사용된 기호 : 'B'. v10*speed 도표. 사용된 기호 : 'V'. b10 | | V | | | | | V | | V | V | V | | B B | | B | | B | speed Interaction Plot for Feed*Speed fd1*speed 도표. 사용된 기호 : '1'. fd2*speed 도표. 사용된 기호 : '2'. fd3*speed 도표. 사용된 기호 : '3'. fd1 | | | | | | | 3 | | | | 2 2 | | | | 1 1 | 0 + | speed 7-7 Factorial Experiments with More than Two Levels

The Latin square design is used to eliminate two nuisance sources of variability; that is, it systemically allows blocking two dimensions. Thus, the rows and columns actually represent two restrictions on randomization. In a Latin square design, there are p treatments and p levels of each of the two blocking variables. Each treatment level appears in each row and column once. The arrangement should be randomly selected from all possible arrangement. For instance, there is only 1 3x3, 4 4x4, 56 5x5, and x6 Latin squares. The Latin Square Design

OPTIONS NOOVP NODATE NONUMBER LS=80; DATA latin; INPUT operator batch treat$ force CARDS; 1 1 A B C D E B C D E A C D E A B D E A B C E A B C D 6 ods graphics on; PROC GLM data=latin plots=(diagnostics); CLASS operator batch treat; MODEL force = operator batch treat; MEANS operator batch treat/snk; output out=new p=phat r=resid; TITLE 'Latin Square Design'; proc plot data=new; plot resid*(operator batch treat)/vaxis= -3.5 to 5.0 by 0.5; Title 'Residual plot'; RUN; ods graphics off; QUIT; The Latin Square Design Example 5-4

Latin Square Design The GLM Procedure Class Level Information Class Levels Values operator batch treat 5 A B C D E Number of Observations Read 25 Number of Observations Used 25 Latin Square Design The GLM Procedure Dependent Variable: force Sum of Source DF Squares Mean Square F Value Pr > F Model Error Corrected Total R-Square Coeff Var Root MSE force Mean Source DF Type I SS Mean Square F Value Pr > F operator batch treat Source DF Type III SS Mean Square F Value Pr > F operator batch treat The Latin Square Design

7-7 Factorial Experiments with More than Two Levels

Latin Square Design The GLM Procedure Student-Newman-Keuls Test for force NOTE: This test controls the Type I experimentwise error rate under the complete null hypothesis but not under partial null hypotheses. Alpha 0.05 Error Degrees of Freedom 12 Error Mean Square Number of Means Critical Range Means with the same letter are not significantly different. SNK Grouping Mean N operator A B A B A B A B The Latin Square Design Latin Square Design The GLM Procedure Student-Newman-Keuls Test for force NOTE: This test controls the Type I experimentwise error rate under the complete null hypothesis but not under partial null hypotheses. Alpha 0.05 Error Degrees of Freedom 12 Error Mean Square Number of Means Critical Range Means with the same letter are not significantly different. SNK Grouping Mean N batch A A A A A

7-7 Factorial Experiments with More than Two Levels

Latin Square Design The GLM Procedure Student-Newman-Keuls Test for force NOTE: This test controls the Type I experimentwise error rate under the complete null hypothesis but not under partial null hypotheses. Alpha 0.05 Error Degrees of Freedom 12 Error Mean Square Number of Means Critical Range Means with the same letter are not significantly different. SNK Grouping Mean N treat A D A A B A E B C C C B The Latin Square Design

Residual plot resid*batch 도표. 범례 : A = 1 관측치, B = 2 관측치, 등. resid | A | A | A | | | A | A | A | A | A | A A A | B | A A A A | A A | A A | | A A A | A batch Residual plot resid*treat 도표. 범례 : A = 1 관측치, B = 2 관측치, 등. resid | A | A | A | | | A | A | A | A | A | A B | A A | A A B | A A | A A | | B A | A | A B C D E treat The Latin Square Design Residual plot resid*operator 도표. 범례 : A = 1 관측치, B = 2 관측치, 등. resid | A | A | A | | | A | A | A | A | A | A B | A A | A B A | B | A A | | A A A | A operator