Analysis of Variance: ANOVA. Group 1: control group/ no ind. Var. Group 2: low level of the ind....

30
Analysis of Variance: ANOVA
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    223
  • download

    0

Transcript of Analysis of Variance: ANOVA. Group 1: control group/ no ind. Var. Group 2: low level of the ind....

Page 1: 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: ANOVA

Page 2: 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.

Group 1: control group/ no ind. Var.

Group 2: low level of the ind. Var.

Group 3: high level of the ind var.

Page 3: 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.

If you evaluated the differences using a t test:

group 1 vs. group 2

group 2 vs. group 3

group 1 vs. group 3

Page 4: 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.

What is the probability of a type one error somewhere in this analysis?

Page 5: 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.

Type One error: rejecting the null when there really isn’t any effect of the independent variable.

Reject the null

Page 6: 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.

The probability of a type one error in a single comparison is whatever the probability of a random event is.

P < .05 or 5% of the time

Page 7: 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.

Probability over three comparisons:

type one error in comparison one

or

comparison two

or

comparison three

Page 8: 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.

Probability of type one error:

.05 + .05 + .05 = .15

or

15% of the time

Page 9: 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.

This inflation of the type one error rate is known as:

Experimentwise error rate

Page 10: 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.

To hold down the experimentwise error rate we perform an analysis of variance (ANOVA) instead of multiple t tests.

Page 11: 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.

variance between groups

F = ---------------------------------------

variance within groups

Page 12: 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.

Var. between : how much each group mean differs from all other group means.

Page 13: 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.

Var. within: how much individuals within the groups vary from each other.

Page 14: 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.

What causes variability between:

treatment + random events

independent variable

confounding factors

Page 15: 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.

What causes variability within:

Random events (individual differences)

Page 16: 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.

treatment + random events

F = ------------------------------------------------

random events

Page 17: 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.

When the only thing that has caused the groups to differ is random events,

F should be a value very close to 1

Page 18: 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.

S

X X

n2

2

1

variance

Sum of squares (SS)

Degrees of freedom (df)

Page 19: 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.

In ANOVA:

Variance is known as the mean square

(MS)

Page 20: 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.

Sum of Squares

Variance = -------------------------------

degrees of freedom

Page 21: 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.

MSSS

df

Page 22: 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.

FMS

MSb

w

b

w

var

var

Page 23: 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.

FMS

MS

SSdfSSdf

b

w

b

b

w

w

Page 24: 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.

SS SS SStot b w

Page 25: 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.

SS X

X

ntot 2

2

Page 26: 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.

SS

X

n

X

n

X

n

X

nb

k

k

1

2

1

2

2

2

2 2

...

Where K represents the number of groups

Page 27: 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.

SS X

X

nX

X

nX

X

nw k

k

k

1

2 1

2

122 2

2

2

2

2

...

Page 28: 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.

SS SS SS

SS SS SS

tot b w

tot b w

Page 29: 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.

MSSS

df

Page 30: 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.

df n

df k

df n k

tot

b

w

1

1