ANOVA lecture Fixed, random, mixed-model ANOVAs

Slides:



Advertisements
Similar presentations
Multiple Comparisons in Factorial Experiments
Advertisements

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.
ANOVA lecture Fixed, random, mixed-model ANOVAs
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.
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.
Analysis of variance (3). Normality Check Frequency histogram (Skewness & Kurtosis) Probability plot, K-S test Normality Check Frequency histogram (Skewness.
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 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.
Text reference, Chapter 14, Pg. 525
1 Experimental Statistics - week 7 Chapter 15: Factorial Models (15.5) Chapter 17: Random Effects Models.
Fixed vs. Random Effects
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.
So far... We have been estimating differences caused by application of various treatments, and determining the probability that an observed difference.
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.
Psych 5500/6500 Other ANOVA’s Fall, Factorial Designs Factorial Designs have one dependent variable and more than one independent variable (i.e.
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)
Introduction to Inferential Statistics Statistical analyses are initially divided into: Descriptive Statistics or Inferential Statistics. Descriptive Statistics.
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
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.
Randomized block designs  Environmental sampling and analysis (Quinn & Keough, 2002)
Two-Factor Studies with Equal Replication KNNL – Chapter 19.
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.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
Engineering Statistics Design of Engineering Experiments.
Chapter 11 Analysis of Variance
Comparing Multiple Factors:
Statistics: Experimental Design
Factorial Designs Q560: Experimental Methods in Cognitive Science Lecture 11.
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.
Repeated Measures Designs
Nested Designs Ex 1--Compare 4 states’ low-level radioactive hospital waste A: State B: Hospital Rep: Daily waste.
Factorial Experiments
Two way ANOVA with replication
CHAPTER 13 Design and Analysis of Single-Factor Experiments:
i) Two way ANOVA without replication
Comparing Three or More Means
Two way ANOVA with replication
What if. . . You were asked to determine if psychology and sociology majors have significantly different class attendance (i.e., the number of days a person.
Design of Experiments.
Introduction to Inferential Statistics
Two-Factor Studies with Equal Replication
Chapter 11 Analysis of Variance
Two-Factor Studies with Equal Replication
Main Effects and Interaction Effects
Strip Plot Design.
Nested Designs and Repeated Measures with Treatment and Time Effects
The Randomized Complete Block Design
Independent variables correlate with each other
Analysis of Variance ANOVA.
Definitional Formulae
Experimental Design All experiments consist of two basic structures:
Experimental design.
Experimental Statistics - week 8
Exercise 1 Use Transform  Compute variable to calculate weight lost by each person Calculate the overall mean weight lost Calculate the means and standard.
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: Pr2 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: Pr2 (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