Top Banner
Dr George Sandamas Room TG60 email: [email protected]
29
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

Dr George SandamasRoom TG60

email: [email protected]

Page 2: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.
Page 3: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

• To extend the ANOVA model to include two independent variables and to explain how variability can be partitioned in a two-way independent groups Analysis of Variance design.

• To enable students to interpret the results of a two-way independent groups ANOVA.

• To demonstrate, using example data, the equations and calculations for a two-way independent groups ANOVA.

Page 4: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

• Demonstrate an understanding of..• The terminology associated with Factorial

designs• the rationale of two-way Factorial Analysis of

Variance.• sums of squares and degrees of freedom for

a two-way independent groups Factorial ANOVA.

At the end of this lecture you will be able to :

Page 5: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

N independent variables:Two-way = 2 Independent variablesThree-way = 3 Independent variables. Etc.Several independent variables is known as a factorial design.IG = Different participants in all conditionsNOTE different designs:RM = Same participants in all conditionsMixed = Different participants in conditions of IV1 Same participants in all conditions of IV2

Page 6: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

We can look at how variables interact.Show how the effects of one IV might depend

on the effects of anotherAre often more interesting than main effects

or One-way designs we have looked at so far

Page 7: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

Factors: independent variables each with a number of levels

Factorial Design: an experimental design which uses all combinations of levels of factors. These are called crossed factors.

Treatment: A particular combination of levels of the factors. Also known as a cell (in an independent groups design also a group).

Page 8: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

Main Effect: The effects of one independent variable (factor) summed (averaged) over all levels of the other independent variable

Interaction: When the effect of one factor is not constant across all levels of the other factors.

Page 9: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

A B C

24

57

24

11

31

33

4

2

2 4 3

Depression

Schizophrenia

Factor 1: Drug

Factor 2: Diagnosis

Treatment Cells

Factor 1 Means

Factor 2 Means

Cell Means

Grand Mean

Page 10: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

Partitioning of Sums of Squares for One-way ANOVA

SStotal

SSbetweenSSwithin

Page 11: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

SStotal

SSbetweenSSwithin

SSF1 SSF2 SSF1xF2

Partitioning of Sums of Squares for Two-way Factorial ANOVA

Page 12: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

a)

Page 13: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

b) Sum of squares for drug

Page 14: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

c) sum of squares for diagnosis

Page 15: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

d) sum of squares for drug x diagnosis

Page 16: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

e) error sum of squares

or

Page 17: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

f)

g)

h)

Page 18: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

i) There are two ways of calculating the interaction degrees of freedom

or

Page 19: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

There are two ways of calculating the error degrees of freedom

j)

or

Page 20: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

k) mean square for drug

l) mean square for diagnosis

Page 21: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

m) mean square for interaction drug x diagnosis

n) mean square for error

Page 22: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

o) drug

p) diagnosis

q) interaction drug x diagnosis

Page 23: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

ANOVA Summary Table

Page 24: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

ANOVA summary table, SPSS output, edited

Page 25: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

A main effect means that we should be able to make a statement such as; For Factor 1 condition A was better (or worse) than condition B regardless of level of Factor 2

From the table on the previous slide it appears that we have a significant Main Effect for Diagnosis, F(1,6)=9,p=.024, ηρ

2 = .60

What does this mean – how would we interpret it?

Page 26: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

The significant main effect for Diagnosis indicates that no matter which drug was being taken, participants with one diagnosis scored significantly better / worse than participants with the other diagnosis

We would report the result thus: There was a significant Main Effect for Diagnosis, F(1,6)=9,p=.024, ηρ

2 = .60. inspection of the means indicates that participants with Schizophrenia reported greater reduction of symptom scores regardless of which Drug they were taking.

It is not actually true in this case but we will come back to that!!

Page 27: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

An Interaction Effect is when the effect of one factor is not constant across all levels of the other factors or in other words, when the effect of one factor varies with the levels on the other factor

Thus, we CANNOT make a statement such as: Participants given Drug A reported a greater reduction in symptoms than participants taking Drugs B or C regardless of diagnosis, as this would be indicative of a Main Effect for Drug

Page 28: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

Examples of interpreting an Interaction Effect would be:1.Participants with Schizophrenia reported greater

symptom reduction with Drug B and participants with Depression reported greater symptom reduction with Drug C. Participants with Depression reported less symptom reduction for Drug A

Or..2.Participants given Drug C did not differ in reported

symptom reduction regardless of diagnosis but Participants with Schizophrenia reported a greater reduction that those with Depression when given Drugs A & B

We can see from the examples above that reported symptom reduction scores are not dependent only on Diagnosis or only on type of Drug but a combination of Drug and Diagnosis

Page 29: Dr George Sandamas Room TG60 email: g.sandamas@mdx.ac.uk.

The graph clearly shows an interaction but our ANOVA only tells us there is a significant Main Effect for Diagnosis, this peculiar result is because we have so few participants (2 per cell) and non normal data, illustrating that statistical test can be unreliable when the assumptions are violated!!