Comparing Multiple Factors:

Slides:



Advertisements
Similar presentations
Analysis by design Statistics is involved in the analysis of data generated from an experiment. It is essential to spend time and effort in advance to.
Advertisements

Multiple-choice question
Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
Factorial ANOVA More than one categorical explanatory variable.
Other Analysis of Variance Designs Chapter 15. Chapter Topics Basic Experimental Design Concepts  Defining Experimental Design  Controlling Nuisance.
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. 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 (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.
Two-Way Analysis of Variance STAT E-150 Statistical Methods.
ANOVA Chapter 12.
Statistical Techniques I EXST7005 Factorial Treatments & Interactions.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Comparing Three or More Means 13.
@ 2012 Wadsworth, Cengage Learning Chapter 9 Applying the Logic of Experimentation: Between-Subjects 2012 Wadsworth, Cengage Learning.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Psych 5500/6500 Other ANOVA’s Fall, Factorial Designs Factorial Designs have one dependent variable and more than one independent variable (i.e.
Supplementary PPT File for More detail explanation on SPSS Anova Results PY Cheng Nov., 2015.
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)
Chapter 13 Design of Experiments. Introduction “Listening” or passive statistical tools: control charts. “Conversational” or active tools: Experimental.
ANOVAs.  Analysis of Variance (ANOVA)  Difference in two or more average scores in different groups  Simplest is one-way ANOVA (one variable as predictor);
By: Mona Tarek Assistant Researcher Department of Pharmaceutics Statistics Supervised by Dr. Amal Fatany King Saud University.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Two-Way ANOVA Interactions. What we will cover Two-way ANOVA: Family of ANOVA tests More examples in R Looking at interaction plots How to interpret the.
Lecture notes 13: ANOVA (a.k.a. Analysis of Variance)
Scientific Practice Non-linear and Multiple
Analysis of Variance l Chapter 8 l 8.1 One way ANOVA
General Full Factorial Design
Comparing Multiple Groups:
Correlation Scientific
The language of experimental design
Repeated Measures Designs
Chi-square: Comparing Observed and
Regression Scientific
Two-way ANOVA with significant interactions
Factorial Experiments
Using the t-distribution
Practice & Communication of Science
An Introduction to Two-Way ANOVA
Applied Business Statistics, 7th ed. by Ken Black
Comparing Three or More Means
Hypothesis testing using contrasts
Non-parametric Tests: When Things
Chapter 10: Analysis of Variance: Comparing More Than Two Means
Post Hoc Tests on One-Way ANOVA
Post Hoc Tests on One-Way ANOVA
Scientific Practice Correlation.
Non-linear and Multiple Regression
Random Effects & Repeated Measures
Experimental Design.
Comparing Multiple Groups: Analysis of Variance ANOVA (1-way)
Interactions & Simple Effects finding the differences
Multiple comparisons - multiple pairwise tests - orthogonal contrasts
Chapter 11 Analysis of Variance
Main Effects and Interaction Effects
Analysis of Variance (ANOVA)
The Randomized Complete Block Design
Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
Multiple comparisons - multiple pairwise tests - orthogonal contrasts
Analysis of Variance ANOVA.
Correlated-Groups and Single-Subject Designs
Definitional Formulae
Experiments We wish to conduct an experiment to see the effect of alcohol (explanatory variable) on reaction time (response variable).
Analysis of Variance: repeated measures
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Analysis of variance (ANOVA)
Business Statistics For Contemporary Decision Making 9th Edition
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

Comparing Multiple Factors: Scientific Practice Comparing Multiple Factors: Analysis of Variance ANOVA (2-way) @dave_lush @UWE_JT9

Where We Are/Where We Are Going 1-way ANOVA allows many groups to be compared in terms of one factor (treatment) each group is exposed to one factor but what if we want to look at two different factors? and what if we wanted to know if factors interact? eg the effects of temperature and pH on cell growth does temp have an effect? Does pH? Do they affect each other? This needs a 2-way ANOVA we normally think of having to carry out experiments over and over again, but 2-way ANOVA can be carried out without replication though interaction effects cannot be analysed

2-Way ANOVA Without Replication Here are some results looking at growth rate of cells at 3 pH values and 4 temps… Every combination present (factorial design) but note only one trial at each combination Can we discover if… temp has an effect pH has an effect whether the two factors interact in some way?

2-Way ANOVA Without Replication Step 1: The Null Hypothesis there are two… temp has no effect on cell growth pH has no effect on cell growth temp and pH do not interact to affect cell growth Step 2: Generate the Test Statistic, F (x2) cell growth in one col; two factors in separate cols using Minitab gives… Two-way ANOVA: Growth versus Temp, pH Source DF SS MS F P Temp 3 238.67 79.556 17.46 0.002 pH 2 1896.00 948.000 208.10 0.000 Error 6 27.33 4.556 Total 11 2162.00

2-Way ANOVA Without Replication Step 3: Determine the probability(ies) there are two, one for each factor… 0.002 and 0.000 (<0.0005) Step 4: Interpret the Probabilities can reject the Null Hypo in both cases, so… pH and temp both significantly affect cell growth NB, the small Error MS (4.556) suggests that most of the variation in data caused by separate effects of temp and pH ie no interaction but to really look at interaction, we need replicates…

2-Way ANOVA With Replication Say we did our experiment at 3 pH values and 4 temps three times…

2-Way ANOVA With Replication Step 1: The Null Hypothesis there are three… temp has no effect on cell growth pH has no effect on cell growth temp and pH do not interact to affect cell growth Step 2: Generate the Test Statistic, F (x3) using Minitab gives… Two-way ANOVA: Growth versus Temp, pH Source DF SS MS F P Temp 3 725.44 241.81 197.85 0.000 pH 2 5756.22 2878.11 2354.82 0.000 Interaction 6 82.89 13.81 11.30 0.000 Error 24 29.33 1.22 Total 35 6593.89

2-Way ANOVA With Replication Step 3: Determine the probability(ies) there are three, one for each factor, plus interaction… all 0.000 (<0.0005) Step 4: Interpret the Probabilities can reject the Null Hypo in all cases, so… pH and temp both significantly affect cell growth furthermore, the two factors interact significantly to influence growth This analysis does not report means (or SDs) of the groups means can be determined separately and plotted as a ‘main effects’ plot and ‘interaction plot’

2-Way ANOVA: Main Effects Plot Graph shows means of the main effects… rise in growth with temp (except highest temp) rise in growth with pH

2-Way ANOVA: Interaction Plot Graph shows… rise in growth with pH rise in growth with temp (except highest temp) Interaction visualised by how parallel lines are parallel lines suggest no interaction non-parallel lines show interaction eg high pH changed effect of higher temp

2-Way ANOVA: ‘Paired’ Approach The ‘paired’ approach to experimental design and analysis is very powerful… Q: but how can it be used in ANOVA? A: we need to consider the individual as a factor Eg, looking at effect of 3 compounds on BP ‘unpaired’ approach (with 30 subjects) randomly assign each individual to take one drug analyse with 1-way ANOVA (drugs are single factor) ‘paired’ approach (only need 10 subjects) give each person each drug (in a random sequence) 2-way ANOVA (factors are drugs, subjects) called randomised block design

2-Way ANOVA: Randomised Block A block is a factor that we deliberately control to organise our subject allocation not our primary interest, such as the drugs but it helps control for variation not a block as in road-block, rather a block of flats each person is an individual ‘testing unit’ in which different things can be tested Eg, looking at effect of 3 compounds on BP give each person each drug drugs are the experimental factor subject is the blocking factor importantly, order of drugs randomised per subject

2-Way ANOVA: Randomised Block Eg, effect of 3 drugs on BP in 10 subjects

2-Way ANOVA: Randomised Block Minitab… MTB > anova c3 = c1 c2 ANOVA: b.p. versus subject, drug Factor Type Levels Values subject fixed 10 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 drug fixed 3 1, 2, 3 Analysis of Variance for b.p. Source DF SS MS F P subject 9 5530.80 614.53 21.71 0.000 drug 2 370.40 185.20 6.54 0.007 Error 18 509.60 28.31 Total 29 6410.80 Drug effect is sig (<0.0005); interesting! explore further (post-hoc testing) Subject effect sig; not interesting - people vary!

Summary 2-way ANOVA allows many groups to be compared in terms of >1 factors (treatments) Allows effects of different factors to be teased out Usual form includes replication permits interaction between factors to be shown increased complexity of interpretation required One factor can be a ‘blocking’ factor a way to organise the application of treatments if that is the individual, then it permits a ‘paired’ approach