Factorial ANOVA. Psychology 3256

Similar documents
Theorem A: Expectations of Sums of Squares Under the two-way ANOVA model, E(X i X) 2 = (µ i µ) 2 + n 1 n σ2

MAT3378 ANOVA Summary

Analysis of Variance and Design of Experiments-I

Fractional Factorial Designs

Two or more categorical predictors. 2.1 Two fixed effects

Outline Topic 21 - Two Factor ANOVA

TWO OR MORE RANDOM EFFECTS. The two-way complete model for two random effects:

Two-Factor Full Factorial Design with Replications

If we have many sets of populations, we may compare the means of populations in each set with one experiment.

iron retention (log) high Fe2+ medium Fe2+ high Fe3+ medium Fe3+ low Fe2+ low Fe3+ 2 Two-way ANOVA

Two-factor studies. STAT 525 Chapter 19 and 20. Professor Olga Vitek

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

Statistics For Economics & Business

Random and Mixed Effects Models - Part III

Two-Way Analysis of Variance - no interaction

Unit 7: Random Effects, Subsampling, Nested and Crossed Factor Designs

Statistics 512: Applied Linear Models. Topic 9

Unbalanced Designs Mechanics. Estimate of σ 2 becomes weighted average of treatment combination sample variances.

Factorial and Unbalanced Analysis of Variance

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

Topic 32: Two-Way Mixed Effects Model

Statistics 210 Part 3 Statistical Methods Hal S. Stern Department of Statistics University of California, Irvine

Key Features: More than one type of experimental unit and more than one randomization.

Statistics 512: Applied Linear Models. Topic 7

CS 147: Computer Systems Performance Analysis

Chapter 15: Analysis of Variance

Much of the material we will be covering for a while has to do with designing an experimental study that concerns some phenomenon of interest.

Two Factor Completely Between Subjects Analysis of Variance. 2/12/01 Two-Factor ANOVA, Between Subjects 1

STAT 506: Randomized complete block designs

Factorial designs. Experiments

Unit 8: 2 k Factorial Designs, Single or Unequal Replications in Factorial Designs, and Incomplete Block Designs

STAT 705 Chapter 19: Two-way ANOVA

Chapter 6 Randomized Block Design Two Factor ANOVA Interaction in ANOVA

STAT 705 Chapter 19: Two-way ANOVA

ANOVA Randomized Block Design

STAT Final Practice Problems

Statistics for Managers Using Microsoft Excel Chapter 10 ANOVA and Other C-Sample Tests With Numerical Data

psyc3010 lecture 2 factorial between-ps ANOVA I: omnibus tests

Homework 3 - Solution

Chapter 11 - Lecture 1 Single Factor ANOVA

Multiple Comparisons. The Interaction Effects of more than two factors in an analysis of variance experiment. Submitted by: Anna Pashley

Grant MacEwan University STAT 252 Dr. Karen Buro Formula Sheet

In a one-way ANOVA, the total sums of squares among observations is partitioned into two components: Sums of squares represent:

1 The Randomized Block Design

We need to define some concepts that are used in experiments.

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

Power & Sample Size Calculation

CS 5014: Research Methods in Computer Science

BIOSTATISTICAL METHODS

Definitions of terms and examples. Experimental Design. Sampling versus experiments. For each experimental unit, measures of the variables of

BALANCED INCOMPLETE BLOCK DESIGNS

Two Factor Full Factorial Design with Replications

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

Two-Way Factorial Designs

Nested Designs & Random Effects

Analysis of Variance

Statistical Hypothesis Testing

MODEL FOR DATA IN ANOVA

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

Chapter 11: Factorial Designs

3. Design Experiments and Variance Analysis

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

Factorial Treatment Structure: Part I. Lukas Meier, Seminar für Statistik

Unbalanced Designs & Quasi F-Ratios

3. Factorial Experiments (Ch.5. Factorial Experiments)

Factorial BG ANOVA. Psy 420 Ainsworth

Summary of Chapter 7 (Sections ) and Chapter 8 (Section 8.1)

y = µj n + β 1 b β b b b + α 1 t α a t a + e

STAT22200 Spring 2014 Chapter 8A

One-Way Analysis of Variance. With regression, we related two quantitative, typically continuous variables.

Chapter 7 Factorial ANOVA: Two-way ANOVA

Unit 27 One-Way Analysis of Variance

STAT Chapter 10: Analysis of Variance

Name Solutions Linear Algebra; Test 3. Throughout the test simplify all answers except where stated otherwise.

Statistical Analysis of Unreplicated Factorial Designs Using Contrasts

Chapter 20 : Two factor studies one case per treatment Chapter 21: Randomized complete block designs

Lecture 10: Factorial Designs with Random Factors

Using SPSS for One Way Analysis of Variance

IX. Complete Block Designs (CBD s)

. Example: For 3 factors, sse = (y ijkt. " y ijk

Lecture 10 Multiple Linear Regression

Chapter 8: Hypothesis Testing Lecture 9: Likelihood ratio tests

TYPE I, TYPE II, AND TYPE III SUMS OF SQUARES DAVID C. HOWELL 1/12/2010

Module 03 Lecture 14 Inferential Statistics ANOVA and TOI

1 DV is normally distributed in the population for each level of the within-subjects factor 2 The population variances of the difference scores

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

Lecture 15 - ANOVA cont.

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

Chapter 10. Design of Experiments and Analysis of Variance

(Where does Ch. 7 on comparing 2 means or 2 proportions fit into this?)

Discrete Random Variables

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

The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization.

Example - Alfalfa (11.6.1) Lecture 14 - ANOVA cont. Alfalfa Hypotheses. Treatment Effect

Section 7.3 Nested Design for Models with Fixed Effects, Mixed Effects and Random Effects

Analysis of Variance (ANOVA)

Linear Algebra Review

Lecture 11: Two Way Analysis of Variance

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

Factorial Designs. Prof. Daniel A. Menasce Dept. of fcomputer Science George Mason University. studied simultaneously.

Transcription:

Factorial ANOVA Psychology 3256

Made up data.. Say you have collected data on the effects of Retention Interval 5 min 1 hr 24 hr on memory So, you do the ANOVA and conclude that RI affects memory % corr 90 70 60

Made up data 2.. What about Levels of Processing? So, you do the ANOVA and conclude that LOP affects memory % corr Low Med High 70 80 90

Hmmm What level of RI should you have done your LOP experiment at? For that matter, what level of LOP should you have done the RI experiment at?

Combine em 5 min 1 hr 24 hr Low G1 G2 G3 Med G4 G5 G6 High G7 G8 G9

Here comes the model x = μ + α + β + αβ + ε error any score AB Interaction grand mean B effect A effect

A bit more explanation So, not only can we look at A and B, we also look at how A and B act together, how they interact Sort of a whole is more than the sum of its parts thing The effect of 1 variable changes depending upon the level of some second variable

picture = 1000(words) B1 B2 20 The difference between B1 and B2 is smaller at A2 15 than it is at A2 The effect of B changes 10 depending upon the level of A 5 0 A1 A2

Meanwhile, back at the structural model... x = μ + α + β + αβ + ε Assumptions (model) Σαi = 0 Σβj = 0 Σαiβ = 0 ε NID(0,σ 2 )

Assumptions for F Homogeneity of variance random samples normal populations

Numerical example A1 A2 x = μ + α + β + αβ + ε take out the grand mean (9+7+3+1)/4=20/4=5 B1 B2 9 7 3 1

Subtract 5 out of each cell So with the grand mean removed we can go on to the effects of A and B B1 A1 A2 sum 4 2 6 B1 6/2 = 3 B2-6/2 = -3 B2-2 -4-6

Subtract 3 from the B1s and -3 from the B2s A1 1 A1 A2 A2-1 Now do the same as before but for the As B1 B2 sum 1-1 1-1 2-2

And we are left with Well with nothing, so there A1 A2 is no interaction, just a mean and effects of A and B B1 B2 0 0 0 0

Graph it B1 B2 10.0 7.5 5.0 2.5 0 A1 A2

Another example OK, first get the grand mean (20 A1 A2 +0-10+2)/4=3 Now, we remove the grand mean B1 B2 20 0-10 2

Out comes the grand mean A1 A2 The A effect is 2 for A1 and -2 for A2 B1 17-3 Note how they always sum to 0 B2-13 -1 sum 4-4

Take out 2 from A1 and -2 from A2 OK, notice how the cells sum to 0 (the grand mean is A1 A2 sum gonae) AND so do the columns, as we have taken out A B1 15-1 14 So for B we have B1 7 B2-7 B2-15 1-14 Well take it out

What is left is the interaction So we have an interaction A1 A2 Note that the effects sum to 0 in every possible way B1 8-8 if it was just 0s we would have no interaction B2-8 8

Graph it B1 B2 20 15 10 5 0-5 -10 A1 A2

Interpreting interactions Be careful when you are interpreting main effects in the presence of interactions Not so bad with an ordinal interaction harder with a disordinal interaction, probably impossible really

Partitioning the df and SS remember the model x = μ + α + β + αβ + ε SSTO = SSA+SSB+SSAB+SSE

Think of it this way SSA Squared deviations of column means from grand mean SSB Squared deviations of row means from grand mean

Keep thinking. SSAB Squared deviations of cell means from what we would expect given row and column means SSE Squared deviations of individual scores from cell means

More Precisely... ( ) 2 + x ji x g ( x x ) 2 g = nq ( x j. x ) 2 g + np ( x.i x ) 2 g + n x x j. x.i + x g ( ) 2 N 1 a 1 b 1 (a 1)(b 1) ab(n 1)

Expected values Remember for the simple ANOVA the E (MST) = σ + τ and the E(MSE) = σ so we would divide MST by MSE to find out if we had an effect Well we have to do the same thing for MSA MSB and MSAB (and of course MSE)

Here you go, as you would expect E(MSA) = α + σ E(MSB) = β + σ E(MSAB) = αβ + σ E(MSE) = σ so divide them all by MSE to sort of isolate the effect

However. Those expected values are only for the case where you are only interested in the particular values of A and B that you have in your experiment, no others! This is called a Fixed effect model What if we randomly chose the levels?

Random effects model E(MSA) = α + αβ + σ E(MSB) = β + αβ +σ E(MSAB) = αβ + σ E(MSE) = σ So divide MSA and MSB by MSAB and MSAB by MSE

Mixed model, A fixed, B random E(MSA) = α + αβ + σ E(MSB) = β +σ E(MSAB) = αβ + σ E(MSE) = σ No, that is not a typo.. and yes it is counterintuitive

So. We are assuming with a random effects model that the levels of the random factor are randomly selected and independent of each other Really, we are usually doing a random effects or mixed model, sort of Did you really randomly select the levels?

ANOVA summary table Source of Variation df MS F A a-1 SSA/(a-1) MSA/MSE B b-1 SSB(b-1) MSB/MSE AB (a-1)(b-1) SSAB/ (a-1)(b-1) MSAB/MSE Error ab(n-1) SSE/ab (n-1) FIXED TOTAL N-1 EFFECTS ONLY!

You can make these designs bigger! C1 C1 C2 C2 A1 A2 A1 A2 B1 G1 G2 G5 G6 B2 G3 G4 G7 G8

Now. Now you have 3 main effects (A B and C) 3 two way interactions (AB AC and BC) and a 3 way interaction (ABC) when a 2 way interaction changes depending on the level of some third variable

The model now is.. x = μ + α + β + γ + αβ + αγ + βγ + αβγ +ε

Looks like this A1 A2 A1 A2 60 60 45 45 30 30 15 15 0 B1 B2 0 B1 B2 C1 C2

Advantages of these designs We can study interactions indeed many of our theories have interactions in them relatively simple to interpret once you have done it a few times

The down side... Fixed, random or mixed? They can get HUGE fast