ANOVA lecture Fixed, random, mixed-model ANOVAs

Slides:



Advertisements
Similar presentations
Multiple Comparisons in Factorial Experiments
Advertisements

Chapter 11 Analysis of Variance
i) Two way ANOVA without replication
Experiments with both nested and “crossed” or factorial factors
Designing experiments with several factors
STT 511-STT411: DESIGN OF EXPERIMENTS AND ANALYSIS OF VARIANCE Dr. Cuixian Chen Chapter 14: Nested and Split-Plot Designs Design & Analysis of Experiments.
Chapter 14Design and Analysis of Experiments 8E 2012 Montgomery 1.
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:
The Two Factor ANOVA © 2010 Pearson Prentice Hall. All rights reserved.
© 2010 Pearson Prentice Hall. All rights reserved The Complete Randomized Block Design.
ANOVA: ANalysis Of VAriance. In the general linear model x = μ + σ 2 (Age) + σ 2 (Genotype) + σ 2 (Measurement) + σ 2 (Condition) + σ 2 (ε) Each of the.
Chapter 11 Analysis of Variance
Chapter 3 Analysis of Variance
Lecture 14 Analysis of Variance Experimental Designs (Chapter 15.3)
Analysis of variance (3). Normality Check Frequency histogram (Skewness & Kurtosis) Probability plot, K-S test Normality Check Frequency histogram (Skewness.
13-1 Designing Engineering Experiments Every experiment involves a sequence of activities: Conjecture – the original hypothesis that motivates the.
Intro to Statistics for the Behavioral Sciences PSYC 1900
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 14: Factorial ANOVA.
Nested and Split Plot Designs. Nested and Split-Plot Designs These are multifactor experiments that address common economic and practical constraints.
Biostatistics-Lecture 9 Experimental designs Ruibin Xi Peking University School of Mathematical Sciences.
University of Ottawa - Bio 4158 – Applied Biostatistics © Antoine Morin and Scott Findlay 14/08/2015 3:33 AM 1 Multiple-classification ANOVA What is it,
T WO W AY ANOVA W ITH R EPLICATION  Also called a Factorial Experiment.  Factorial Experiment is used to evaluate 2 or more factors simultaneously. 
T WO WAY ANOVA WITH REPLICATION  Also called a Factorial Experiment.  Replication means an independent repeat of each factor combination.  The purpose.
ANOVA Chapter 12.
1 Advances in Statistics Or, what you might find if you picked up a current issue of a Biological Journal.
Fundamentals of Statistical Analysis DR. SUREJ P JOHN.
Text reference, Chapter 14, Pg. 525
Module 7: Estimating Genetic Variances – Why estimate genetic variances? – Single factor mating designs PBG 650 Advanced Plant Breeding.
1 Experimental Statistics - week 7 Chapter 15: Factorial Models (15.5) Chapter 17: Random Effects Models.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 20 Nested Designs and Analyses.
Diploma in Statistics Design and Analysis of Experiments Lecture 5.11 © 2010 Michael Stuart Lecture 5.1 Part 1 "Split Plot" experiments 1.Review of –randomised.
BIOL 582 Lecture Set 10 Nested Designs Random Effects.
More complicated ANOVA models: two-way and repeated measures Chapter 12 Zar Chapter 11 Sokal & Rohlf First, remember your ANOVA basics……….
1 Design of Engineering Experiments Part 10 – Nested and Split-Plot Designs Text reference, Chapter 14, Pg. 525 These are multifactor experiments that.
Jack’s gone to the dogs in Alaska February 25, 2005.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Analysis of Variance (ANOVA) Randomized Block Design.
Experimental design. Experiments vs. observational studies Manipulative experiments: The only way to prove the causal relationships BUT Spatial and temporal.
Discussion 3 1/20/2014. Outline How to fill out the table in the appendix in HW3 What does the Model statement do in SAS Proc GLM ( please download lab.
Repeated Measurements Analysis. Repeated Measures Analysis of Variance Situations in which biologists would make repeated measurements on same individual.
IE341 Midterm. 1. The effects of a 2 x 2 fixed effects factorial design are: A effect = 20 B effect = 10 AB effect = 16 = 35 (a) Write the fitted regression.
Chapter coverage Part A Part A –1: Practical tools –2: Consulting –3: Design Principles Part B (4-6) One-way ANOVA Part B (4-6) One-way ANOVA Part C (7-9)
Université d’Ottawa / University of Ottawa 2001 Bio 4118 Applied Biostatistics L9.1 Lecture 9: Multiple-classification ANOVA What is it, and why use it?
1 Every achievement originates from the seed of determination.
Intermediate Applied Statistics STAT 460 Lecture 17, 11/10/2004 Instructor: Aleksandra (Seša) Slavković TA: Wang Yu
Experimental design.
ETM U 1 Analysis of Variance (ANOVA) Suppose we want to compare more than two means? For example, suppose a manufacturer of paper used for grocery.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.3 Two-Way ANOVA.
Randomized block designs  Environmental sampling and analysis (Quinn & Keough, 2002)
Intermediate Applied Statistics STAT 460 Lecture 18, 11/10/2004 Instructor: Aleksandra (Seša) Slavković TA: Wang Yu
Two-Factor Studies with Equal Replication KNNL – Chapter 19.
IE241: Introduction to Design of Experiments. Last term we talked about testing the difference between two independent means. For means from a normal.
Smith/Davis (c) 2005 Prentice Hall Chapter Fifteen Inferential Tests of Significance III: Analyzing and Interpreting Experiments with Multiple Independent.
L. M. LyeDOE Course1 Design and Analysis of Multi-Factored Experiments Advanced Designs -Hard to Change Factors- Split-Plot Design and Analysis.
Quadrats, ANOVA. Quadrat shape ? ? ? ? ? ? ? 1. Edge effects best worst.
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
Psychology 202a Advanced Psychological Statistics December 8, 2015.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
Factorial Designs Q560: Experimental Methods in Cognitive Science Lecture 11.
Nested Designs Ex 1--Compare 4 states’ low-level radioactive hospital waste A: State B: Hospital Rep: Daily waste.
Two way ANOVA with replication
i) Two way ANOVA without replication
ANOVA lecture Fixed, random, mixed-model ANOVAs
Two way ANOVA with replication
Two-Factor Studies with Equal Replication
Chapter 11 Analysis of Variance
Two-Factor Studies with Equal Replication
Nested Designs and Repeated Measures with Treatment and Time Effects
Experimental Statistics - week 8
Presentation transcript:

ANOVA lecture Fixed, random, mixed-model ANOVAs Factorial vs. nested designs Formal design notation Split-plot designs

Goals Describe your ANOVA design to a statistician (who can then help you analyse it). Recognize three common types of ANOVA designs: Factorial: fixed, randomized block Nested Split-plot 3. For your reference: formulas for F tests for each

Factor – a variable of interest e.g. temperature Level – a particular value / state of a factor e.g. hot, cold In this example, temperature is a factor with two levels.

Fixed factor Either (1) The investigator chooses the levels of the factor for some purpose. Eg. Ambient CO2 vs. double CO2 OR (2) The levels used represent all possible levels. Eg. Biological sex: Male, female

Random factor The levels of the factor are chosen randomly from a universe of possible levels. Eg. We want to look at whether butterfly collectors differ in their diversity estimates for 4 plots. We select 5 collectors “randomly” from a village. Eg. We use three breeding lines of fruit flies as blocks in a genetics experiment. Blocks are typically random effects!

Formal notation Af6 is a fixed factor called A with 6 levels Br5 is a random factor called B with 5 levels

Group exercise (groups of 3) Experimental design handout Write out the factors and levels using formal notation

ANOVA Example: formal notation Ecologists: Er10 Papers: Pf2 Example 2: Populations: Pr4 Herbivory: Hf2 Example 3: Light: Lf3 Nutrients: Nf3 Blocks: Br3

Fixed-effects ANOVA (Model I) All factors are fixed Random-effects ANOVA (Model II) All factors are random Mixed-model ANOVA (Model III) Contains both fixed and random effects, e.g. randomized block!

Two-way factorial ANOVA How to calculate “F” Fixed effect (factors A & B fixed) Random effect (factors A & B random) Mixed model (A fixed, B random) Factor A MS A MS Error MS A MS A x B MS A MS A x B Factor B MS B MS A x B MS B MS Error MS B MS Error A x B MS A x B MS Error MS A x B MS Error MS A x B MS Error

If you can fill in a table with unique replicates, it’s factorial! Factorial design: All levels of one factor crossed by all levels of another factor, i.e. all possible combinations are represented. If you can fill in a table with unique replicates, it’s factorial! Ambient CO2 Double CO2 Pea plant Bean plant Corn plant

In this example, strain type is “nested within” fertilizer. Nested design In this example, strain type is “nested within” fertilizer. Fertilizer is often called “group”, strain “subgroup” The nested factor is always random No fertilizer Nitrogen fertilizer Phosphorus fertilizer Strain A Strain B Strain C Strain D Strain E Strain F

Fertilizer O N P Strain A Strain B Strain C Strain D Strain E Strain F

Grand mean Variance: Group No fertilizer Nitrogen fertilizer Phosphorus fertilizer Strain A Strain B Strain C Strain D Strain E Strain F

Variance: Subgroup within a group Grand mean Variance: Group No fertilizer Nitrogen fertilizer Phosphorus fertilizer Variance: Subgroup within a group Strain A Strain B Strain C Strain D Strain E Strain F

Variance: Subgroup within a group Grand mean Variance: Group No fertilizer Nitrogen fertilizer Phosphorus fertilizer Variance: Subgroup within a group Strain A Strain B Strain C Strain D Strain E Strain F Variance: Among all subgroups

In our example, A=2, B=3 and n=2 Nested ANOVA: “A” Subgroups nested within “B” Groups, with n replicates In our example, A=2, B=3 and n=2 df F Groups MS Groups MS Subgroups within groups B-1 Subgroups within groups B(A-1) MS Subgroups within groups MS Among all subgroups Among all subgroups AB(n-1) Total ABn-1

Formal notation cont. Af6 x Br5 tells us that this is a factorial design with factor A “crossed” with factor B Af6 (Br5) tells us that this is a nested design with factor A “nested within” with factor B. In other words, A is subgroup, B is group.

Group exercise (groups of 3) Experimental design handout Write out the factors and levels using formal notation

Example 1: Er10 x Pf2   Example 2: Pr4 (Hf2) Example 3: Br3 x Lf3 x Nf3

An experiment replicated within an experiment! Split plot design An experiment replicated within an experiment! 4 Main plots, e.g. greenhouses Ambient CO2 Elevated CO2

Split plot design An experiment replicated within an experiment! Main plot CO2 MS maintreat F Main plot error MS mainerror

An experiment replicated within an experiment! Split plot design An experiment replicated within an experiment! 4 Main plots, e.g. greenhouses Ambient CO2 Elevated CO2

An experiment replicated within an experiment! Split plot design An experiment replicated within an experiment! 3 5 6 2 4 1 6 3 2 5 1 4 1 5 6 3 2 4 5 3 6 4 2 1 Subplots with six different nutrient concentrations

Split plot design An experiment replicated within an experiment! Subplot nutrient MS subtreat F nutrient x CO2 MS subinteract F Subplot error MS suberror

Split plot design An experiment replicated within an experiment! Main plot CO2 MS maintreat F Main plot error MS mainerror Subplot nutrient MS subtreat F nutrient x CO2 MS subinteract F Subplot error MS suberror