/
BMS 617 Lecture  14: Two-Way ANOVA BMS 617 Lecture  14: Two-Way ANOVA

BMS 617 Lecture 14: Two-Way ANOVA - PowerPoint Presentation

natalia-silvester
natalia-silvester . @natalia-silvester
Follow
382 views
Uploaded On 2018-03-18

BMS 617 Lecture 14: Two-Way ANOVA - PPT Presentation

Marshall University Genomics Core Facility TwoWay ANOVA In oneway ANOVA we measured a continuous variable in three or more different categorical groups We think of this as one dependent variable the continuous outcome variable and one independent variable the group ID: 655521

marshall university school medicine university marshall medicine school diet anova variable body weight effect variables diets strain data main

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "BMS 617 Lecture 14: Two-Way ANOVA" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

BMS 617

Lecture 14: Two-Way ANOVA

Marshall University Genomics Core FacilitySlide2

Two-Way ANOVA

In one-way ANOVA, we measured a continuous variable in three or more different categorical groups

We think of this as one dependent variable (the continuous “outcome” variable) and one independent variable (the group)

Often, an experiment will examine the effect of two (or more) variables on the same dependent variable

If the independent variables are categorical, we use a two-way ANOVA for this

Marshall University School of MedicineSlide3

Example

The TALLYHO (TH) strain of mouse is appears more susceptible to obesity and diabetes than the standard lab mouse

To test this, we fed TH mice three different diets (standard chow, low-fat high carb, and high-fat). We compared the effect of the diet in TH mice to standard mice by feeding standard (B6) mice the same three diets.

Measured body weight (and other variables) after 16 weeks.

Marshall University School of MedicineSlide4

Experimental Design for TH/B6 diet

There are two independent variables, both of which are categoricalStrain (TH/B6)

Diet (Chow/LF/HF)

The dependent variable is body weight, which is continuous

Marshall University School of MedicineSlide5

Hypotheses for TH/B6 diet study

There are three hypotheses we can test in this study:

Diet affects body weight, in either mouse strain

The different strains have different body weights, given any (fixed) diet

The effect of diet is different between the different strainsThe first two we call “main effects”The last is the “interaction” between the two main effects

Marshall University School of MedicineSlide6

Two-Way ANOVA gets complex!

Two-Way ANOVA can get complexWith t-tests (and one-way ANOVA) we distinguish between “paired” or “repeated measures” data and “unpaired” or (unmatched) data

In Two-Way ANOVA, one, both, or none of the variables may represent repeated measures

This affects the way the analysis should be performed

We will focus only on experimental designs with no repeated measures

Marshall University School of MedicineSlide7

Balanced designs

Two-Way ANOVA works best with balanced designs

Same number of data points in each condition

Not always possible

But try to organize your experiments this way if possibleGives most statistical power per data point

Marshall University School of MedicineSlide8

Demo

Demo of body weight analysis

Marshall University School of MedicineSlide9

Sample output

Marshall University School of MedicineSlide10

Interpretation

The main effect for Strain is statistically significant

So we reject the null hypothesis that both strains have the same body weight when diet is kept fixed

The main effect for diet is statistically significant

So we reject the null hypothesis that all three diets result in the same body weight when strain is kept fixedThe interaction is also statistically significant

We reject the null hypothesis that the effect of diet is the same for both strains

Or equivalently, that the difference between the strains is the same for all three diets

Marshall University School of MedicineSlide11

Where are the differences?

To determine where the differences lie, we need to perform multiple comparisons

Might be interested in comparing only one of the variables

The other is used solely as it is a confounding variable

Might need to compare each value of a variable to a control, or might need to compare across all groupsEssential to use a comparison that accounts for the multiple tests being

peformed

Marshall University School of MedicineSlide12

All possible comparisons

Marshall University School of Medicine