Joyful mood is a meritorious deed that cheers up people around you like the showering of cool spring breeze.

Slides:



Advertisements
Similar presentations
ANOVA Two Factor Models Two Factor Models. 2 Factor Experiments Two factors can either independently or together interact to affect the average response.
Advertisements

Chapter 15: Two-Factor Analysis of Variance
Statistics for the Social Sciences
Latin Square Designs (§15.4)
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
Nested Designs Study vs Control Site. Nested Experiments In some two-factor experiments the level of one factor, say B, is not “cross” or “cross classified”
N-way ANOVA. Two-factor ANOVA with equal replications Experimental design: 2  2 (or 2 2 ) factorial with n = 5 replicate Total number of observations:
Design and Analysis of Experiments Dr. Tai-Yue Wang Department of Industrial and Information Management National Cheng Kung University Tainan, TAIWAN,
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.
Every achievement originates from the seed of determination. 1Random Effect.
1 Chapter 5 Introduction to Factorial Designs Basic Definitions and Principles Study the effects of two or more factors. Factorial designs Crossed:
Chapter 10 Factorial Analysis of Variance Part 2 – Apr 3, 2008.
Slide 1 Larger is better case (Golf Ball) Linear Model Analysis: SN ratios versus Material, Diameter, Dimples, Thickness Estimated Model Coefficients for.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 14: Factorial ANOVA.
Outline Single-factor ANOVA Two-factor ANOVA Three-factor ANOVA
Two-Way Balanced Independent Samples ANOVA Overview of Computations.
Two-Way Balanced Independent Samples ANOVA Computations Contrasts Confidence Intervals.
22-1 Factorial Treatments (§ 14.3, 14.4, 15.4) Completely randomized designs - One treatment factor at t levels. Randomized block design - One treatment.
Chapter 10 Factorial Analysis of Variance Part 2 – Oct. 30, 2014.
Design of Engineering Experiments Part 4 – Introduction to Factorials
Analysis of Variance (Two Factors). Two Factor Analysis of Variance Main effect The effect of a single factor when any other factor is ignored. Example.
Statistics for the Social Sciences Psychology 340 Spring 2006 Factorial ANOVA.
Inferential Statistics
Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.
STA305 week 51 Two-Factor Fixed Effects Model The model usually used for this design includes effects for both factors A and B. In addition, it includes.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Solutions to Tutorial 5 Problems Source Sum of Squares df Mean Square F-test Regression Residual Total ANOVA Table Variable.
1 Nested (Hierarchical) Designs In certain experiments the levels of one factor (eg. Factor B) are similar but not identical for different levels of another.
1 Every achievement originates from the seed of determination.
Exercise 1 You have a clinical study in which 10 patients will either get the standard treatment or a new treatment Randomize which 5 of the 10 get the.
1 Always be mindful of the kindness and not the faults of others.
Lack of Fit (LOF) Test A formal F test for checking whether a specific type of regression function adequately fits the data.
Chapter 14 Repeated Measures and Two Factor Analysis of Variance
1 Analysis of Variance & One Factor Designs Y= DEPENDENT VARIABLE (“yield”) (“response variable”) (“quality indicator”) X = INDEPENDENT VARIABLE (A possibly.
1 Always be contented, be grateful, be understanding and be compassionate.
1 Joyful mood is a meritorious deed that cheers up people around you like the showering of cool spring breeze.
PSYC 3030 Review Session April 19, Housekeeping Exam: –April 26, 2004 (Monday) –RN 203 –Use pencil, bring calculator & eraser –Make use of your.
Linear Models Two-Way ANOVA. LM ANOVA 2 2 Example -- Background Bacteria -- effect of temperature (10 o C & 15 o C) and relative humidity (20%, 40%, 60%,
Chapter 13 Design of Experiments. Introduction “Listening” or passive statistical tools: control charts. “Conversational” or active tools: Experimental.
Two-Way (Independent) ANOVA. PSYC 6130A, PROF. J. ELDER 2 Two-Way ANOVA “Two-Way” means groups are defined by 2 independent variables. These IVs are typically.
Three or More Factors: Latin Squares
Statistics for the Social Sciences
1 Mixed and Random Effects Models 1-way ANOVA - Random Effects Model 1-way ANOVA - Random Effects Model 2-way ANOVA - Mixed Effects Model 2-way ANOVA -
1 Love does not come by demanding from others, but it is a self initiation.
Designs for Experiments with More Than One Factor When the experimenter is interested in the effect of multiple factors on a response a factorial design.
Chapter 14 Repeated Measures and Two Factor Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Seventh.
Diploma in Statistics Design and Analysis of Experiments Lecture 2.21 © 2010 Michael Stuart Design and Analysis of Experiments Lecture Review of.
1 Two Factor Designs Consider studying the impact of two factors on the yield (response): Here we have R = 3 rows (levels of the Row factor), C = 4 (levels.
SPSS Homework SPSS Homework 12.1 Practice Data from exercise ) Use linear contrasts to compare 5 days vs 20 and 35 days 2) Imagine you.
Two way ANOVA with replication
The greatest blessing in life is in giving and not taking.
An Introduction to Two-Way ANOVA
i) Two way ANOVA without replication
Two way ANOVA with replication
Statistics for the Social Sciences
Chapter 5 Introduction to Factorial Designs
Two-Factor Studies with Equal Replication
Statistics for the Social Sciences
Two-Factor Studies with Equal Replication
Statistics for the Social Sciences
Simple Linear Regression
Factorial Analysis of Variance
Always be mindful of the kindness and not the faults of others
Chapter 14: Two-Factor Analysis of Variance (Independent Measures)
Joyful mood is a meritorious deed that cheers up people around you
Joyful mood is a meritorious deed that cheers up people around you
Joyful mood is a meritorious deed that cheers up people around you
Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.
Presentation transcript:

Joyful mood is a meritorious deed that cheers up people around you like the showering of cool spring breeze.

Applied Statistics Using SAS and SPSS Topic: Two Way ANOVA By Prof Kelly Fan, Cal State Univ, East Bay

Two Way ANOVA Consider studying the impact of two factors on the yield (response): Here we have R = 3 rows (levels of the Row factor), C = 4 (levels of the column factor), and n = 2 replicates per cell [n ij for (i,j) th cell if not all equal] NOTE: The “1”, “2”,etc... mean Level 1, Level 2, etc..., NOT metric values NOTE: The “1”, “2”,etc... mean Level 1, Level 2, etc..., NOT metric values , , , , , , , , , , , , 17.9 BRAND DEVICE

Statistical model: i = 1,..., R j = 1,..., C k= 1,..., n In general, n observations per cell, R C cells. Y ijk =  ij  ijk

1)H o : All Row Means  i. Equal H 1 : Not all Row Means Equal 2)H o : All Col. Means . j Equal H 1 : Not All Col. Means Equal 3)H o : No Interaction between factors H 1 : There is interaction between factors 1)H o : Level of row factor has no impact on Y H 1 : Level of row factor does have impact on Y 2)H o : Level of column factor has no impact on Y H 1 : Level of column factor does have impact on Y 3)H o : The impact of row factor on Y does not depend on column H 1 : The impact of row factor on Y depends on column

Two basic ways to look at interaction: B L B H A L 58 A H 10? If A H B H = 13, no interaction If A H B H > 13, + interaction If A H B H < 13, - interaction -When B goes from B L  B H, yield goes up by 3 (5  8). - When A goes from A L  A H, yield goes up by 5 (5  10). -When both changes of level occur, does yield go up by the sum, = 8? Interaction = degree of difference from sum of separate effects INTERACTION 1)

2) -Holding B L, what happens as A goes from A L  A H ?+5 -Holding B H, what happens as A goes from A L  A H ?+9 If the effect of one factor (i.e., the impact of changing its level) is DIFFERENT for different levels of another factor, then INTERACTION exists between the two factors. B L B H A L 58 A H 1017 NOTE: - Holding A L, B L B H has impact Holding A H, B L B H has impact + 7 (AB) = (BA) or (9-5) = (7-3).

ANOVA Table for Battery Lifetime General Linear Model: time versus brand, device Factor Type Levels Values brand fixed 4 1, 2, 3, 4 device fixed 3 1, 2, 3 Analysis of Variance for time, using Adjusted SS for Tests Source DF Seq SS Adj SS Adj MS F P brand device brand*device Error Total S = R-Sq = 66.67% R-Sq(adj) = 36.11%

Model Selection Backward model selection: 1.Fit the full model: Y=A+B+A*B 2.Remove A*B if not significant; otherwise, stop 3.Remove the most insignificant main effect until all effects left are significant Assumption checking for the final model

MFMF Interesting Example:* Frontiersman April 50 people per cell Mean Scores “Frontiersman” “April” “Frontiersman” “April” Dependentmalesmalesfemalesfemales Variables(n=50)(n=50)(n=50) (n=50) Intent-to- purchase (*) Decision Sciences”, Vol. 9, p. 470, 1978 Brand Name Appeal for Men & Women:

ANOVA Results DependentSource d.f. MS F Variable Intent-to-Sex (A) * purchaseBrand name (B) ** (7 pt. scale)A x B *** Error *p<.05 **p<.01 ***p<.001

Exercise: Lifetime of a Special-purpose Battery It is important in battery testing to consider different temperatures and modes of use; a battery that is superior at one tempera- ture and mode of use is not necessarily superior at other treatment combination. The batteries were being tested at 4 diffe- rent temperatures for three modes of use (I for intermittent, C for continuous, S for sporadic). Analyze the data.

Battery Lifetime (2 replicates) Mode of use 1234 I12, 1615, 1931, 3953, 55 C15, 1917, 1730, 3451, 49 S11, 1724, 2233, 3761, 67 Temperature