07. Repeated-Measures and Two-Factor Analysis of Variance.pdf

MuhammadMishbah1 24 views 51 slides Aug 06, 2024
Slide 1
Slide 1 of 51
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51

About This Presentation

Slide of: 07. Repeated-Measures and Two-Factor Analysis of Variance PDF version.

This is a material slide for applied statistic course, in the topic Repeated Measures and Twi Factor Anova.

Hope will help you understand applied statistics.

Very relevan for information system courses.


Slide Content

Repeated-Measures and
Two-Factor Analysis of Variance
PowerPoint Lecture Slides
Essentials of Statistics for the
Behavioral Sciences
Eighth Edition
by Frederick J. Gravetterand Larry B. Wallnau

Learning Outcomes
•Understand logic of repeated-measures
ANOVA study
1
•Compute repeated-measures ANOVA to
evaluate mean differences for single-factor
repeated-measures study
2
•Measure effect size, perform post hoc tests
and evaluate assumptions required for
single-factor repeated-measures ANOVA
3

•Measure effect size, interpret results and
articulate assumptions for two-factor ANOVA
Learning Outcomes
(continued)
•Understand logic of two-factor study and matrix
of group means4
•Describe main effects and interactions from
pattern of group means in two-factor ANOVA5
•Compute two-factor ANOVA to evaluate means
for two-factor independent-measures study
6
7

7.1 Overview
•Analysis of Variance
–Evaluated mean differences for two or more
groups
–Limited to one independent variable (IV)
•Complex Analysis of Variance
–Samples are related; not independent
(Repeated-measures ANOVA)
–Two independent variables are manipulated
(Factorial ANOVA; only Two-Factor in this text)

7.2 Repeated-Measures ANOVA
•Independent-measures ANOVA uses multiple
participant samples to test the treatments
•Participant samples may not be identical
•If groups are different, what was responsible?
–Treatment differences?
–Participant group differences?
•Repeated-measures solves this problem by
testing all treatments using one sample of
participants

Repeated-Measures ANOVA
•Repeated-Measures ANOVA used to evaluate
mean differences in two general situations
–In an experiment, compare two or more
manipulated treatment conditions using the same
participants in all conditions
–In a nonexperimentalstudy, compare a group of
participants at two or more different times
•Before therapy; After therapy; 6-month follow-up
•Compare vocabulary at age 3, 4 and 5

Repeated-Measures ANOVA
Hypotheses

Repeated-Measures ANOVA
Hypotheses
•Null hypothesis: in the population there are no
mean differences among the treatment groups
•Alternate hypothesis: there is one (or more)
mean differences among the treatment groups...:
3210  H
H
1: At least one treatment
mean μdiffers from another

General structure of the
ANOVA F-Ratio
•Fratio based on variances
–Numerator measures treatment mean differences
–Denominator measures treatment mean
differences when there is no treatment effect
–Large F-ratio greater treatment differences
than would be expected with no treatment effectseffect treatment no withexpected es)(differenc variance
treatments between es)(differenc variance
F

Individual differences
•Participant characteristics may vary
considerably from one person to another
•Participant characteristics can influence
measurements (Dependent Variable)
•Repeated measures design allows control of
the effects of participant characteristics
–Eliminated from the numerator by the research
design
–Must be removed from the denominator
statistically

Structure of the F-Ratio for
Repeated-Measures ANOVAally)mathematic removed sdifference l(individua
effect treatmentno with expected es)(differenc variance
s)difference individual(without
eatmentsbetween tr es)(differenc variance
F
The biggest change between independent-
measures ANOVA and repeated-measures ANOVA
is the addition of a process to mathematically
remove the individual differences variance
component from the denominator of the F-ratio

Repeated-Measures ANOVA
Logic
•Numerator of the Fratio includes
–Systematic differences caused by treatments
–Unsystematic differences caused by random
factors are reduced because the same individuals
are in all treatments
•Denominator estimates variance reasonable
to expect from unsystematic factors
–Effect of individual differences is removed
–Residual (error) variance remains

Figure 7.1 Structure of the
Repeated-Measures ANOVA

Repeated-Measures ANOVA
Stage One EquationsN
G
XSS
total
2
2
 

 treatment each insidetreatmentswithin SSSS N
G
n
T
SS
treatmentsbetween
22


Two Stages of the Repeated-
Measures ANOVA
•First stage
–Identical to independent samples ANOVA
–Compute SS
total, SS
betweentreatments and
SS
withintreatments
•Second stage
–Done to remove the individual differences from
the denominator
–Compute SS
betweensubjectsand subtract it from
SS
withintreatments to find SS
error(also called residual)

Repeated-Measures ANOVA
Stage Two EquationsN
G
k
P
SS
subjectsbetween
22
_  bjectsbetween_suatmentswithin tre SSSSSS
error 

Degrees of freedom for
Repeated-Measures ANOVA
df
total
= N–1
df
withintreatments
= Σdf
insideeach treatment
df
betweentreatments
=k–1
df
betweensubjects
= n–1
df
error
= df
withintreatments
–df
betweensubjects

Mean squares and F-ratio for
Repeated-Measures ANOVAerror
error
error
df
SS
MS  treatmentsbetween
treatmentsbetween
treatmentsbetween
df
SS
MS
_
_
_  error
mentstreat between
MS
MS
F

F-Ratio General Structure for
Repeated-Measures ANOVA)(
)(
sdifferenceindividualwithout
sdifferenceicunsystemat
sdifferenceindividualwithout
sdifferenceicunsystemateffectstreatment
F

Effect size for the
Repeated-Measures ANOVA
•Percentage of variance explained by the
treatment differences
•Partial η
2
is percentage of variability that has not
already been explained by other factors
orsubjectsbetween total
eatmentsbetween tr2
SS SS
SS

 errorSSSS
SS


eatmentsbetween tr
eatmentsbetween tr2

In the Literature
•Report a summary of descriptive statistics (at
least means and standard deviations)
•Report a concise statement of the ANOVA
results
–E.g., F(3, 18) = 16.72, p<.01, η
2
= .859

Repeated Measures ANOVA
post hoc tests (posttests)
•Significant F indicates that H
0(“all populations
means are equal”) is wrong in some way
•Use post hoc test to determine exactly where
significant differences exist among more than
two treatment means
–Tukey’sHSDand Scheffécan be used
–Substitute SS
errorand df
errorin the formulas

Repeated-Measures ANOVA
Assumptions
•The observations within each treatment
condition must be independent
•The population distribution within each
treatment must be normal
•The variances of the population distribution
for each treatment should be equivalent

Repeated-Measures ANOVA
Advantages and Disadvantages
•Advantages of repeated-measures designs
–Individual differences among participants do not
influence outcomes
–Smaller number of participants needed to test all
the treatments
•Disadvantages of repeated-measures designs
–Some (unknown) factor other than the treatment
may cause participant’s scores to change
–Practice or experience may affect scores
independently of the actual treatment effect

7.3 Two-Factor ANOVA
•Both independent variables and quasi-
independent variables may be employed as
factors in Two-Factor ANOVA
•An independent variable (factor) is
manipulatedin an experiment
•A quasi-independent variable (factor) is not
manipulatedbut defines the groups of scores
in a nonexperimentalstudy

7.3 Two-Factor ANOVA
•Factorial designs
–Consider more than one factor
•We will study two-factor designs only
•Also limited to situations with equal n’sin each group
–Joint impact of factors is considered
•Three hypotheses tested by three F-ratios
–Each tested with same basic F-ratio structureeffect treatment no withexpected es)(differenc variance
treatments between es)(differenc variance
F

7.3 Two-Factor ANOVA

Main Effects
•Mean differences among levels of one factor
–Differences are tested for statistical significance
–Each factor is evaluated independently of the
other factor(s) in the study21
21
:
:
1
0
AA
AA
H
H



 21
21
:
:
1
0
BB
BB
H
H



Interactions Between Factors
•The mean differences between individuals
treatment conditions, or cells, are different
from what would be predicted from the
overall main effects of the factors
•H
0: There is no interaction between
Factors Aand B
•H
1: There is an interaction between
Factors Aand B

Interpreting Interactions
•Dependence of factors
–The effect of one factor depends on the level or
value of the other
–Sometimes called “non-additive” effects because
the main effects do not “add” together predictably
•Non-parallel lines (cross, converge or diverge)
in a graph indicate interaction is occurring
•Typically called the A x B interaction

Figure 13.2 Group Means Graphed
without (a) and with (b) Interaction

Combination of significant and/or
nonsignificant main effects and interactions

Independence of Main Effects and
Interactions

Independence of Main Effects and
Interactions

Structure of the Two-Factor
Analysis of Variance
•Three distinct tests
–Main effect of Factor A
–Main effect of Factor B
–Interaction of Aand B
•A separate Ftest is conducted for each
•Results of one are independentof the otherseffecttreatmentnoisthereifexpectedsdifferencemeanvariance
treatmentsbetweensdifferencemeanvariance
F
)(
)(

Example: Hypothetical Data
17

Two Stages of the Two-Factor
Analysis of Variance
•First stage
–Identical to independent samples ANOVA
–Compute SS
total, SS
betweentreatments and
SS
withintreatments
•Second stage
–Partition the SS
betweentreatments into three separate
components: differences attributable to Factor A;
to Factor B; and to the AxBinteraction

Figure 13.3 Structure of the
Two-Factor Analysis of Variance

Stage One of the Two-Factor
Analysis of VarianceN
G
XSS
total
2
2
 
 menteach treat insideSSSS
treatmentswithin N
G
n
T
SS
treatmentsbetween
22


Stage Two of the Two Factor
Analysis of Variance
•This stage determines the numerators for the
three F-ratios by partitioning SS
betweentreatmentsN
G
n
T
SS
row
row
A
22
 N
G
n
T
SS
col
col
B
22
 BAtreatments betweenAxB SSSSSSSS 

Degrees of freedom for
Two-Factor ANOVA
df
total
= N–1
df
withintreatments
= Σdf
insideeach treatment
df
betweentreatments
=k–1
df
A
= (number of rows)–1
df
B
= (number of columns)–1
df
AxB
= df
betweentreatments
–df
A
–df
B

Mean squares and F-ratios for
the Two-Factor ANOVAreatmentst within
reatmentst within
reatmentst within
df
SS
MS  AxB
AxB
AxB
B
B
B
A
A
A
df
SS
MS
df
SS
MS
df
SS
MS  within
AxB
AxB
within
B
B
within
A
A
MS
MS
F
MS
MS
F
MS
MS
F 

Two-Factor ANOVA
Summary Table Example
Source SS df MS F
Between treatments 200 3
Factor A 40 1 40 4
Factor B 60 1 60 *6
A x B 100 1 100 **10
Within Treatments 300 20 10
Total 500 23
F
.05(1, 20) = 4.35*
F
.01(1, 20) = 8.10**
(N= 24; n= 6)

Two-Factor ANOVA Effect Size
•η
2
, is computed to show the percentage of
variability not explained by other factors treatments withinA
A
AxBBtotal
A
A
SSSS
SS
SSSSSS
SS




2
 treatmentswithinB
B
AxBAtotal
B
B
SSSS
SS
SSSSSS
SS
_
2



 treatments withinAxB
AxB
BAtotal
AxB
AxB
SSSS
SS
SSSSSS
SS




2

In the Literature
•Report mean and standard deviations (usually
in a table or graph due to the complexity of
the design)
•Report results of hypothesis test for all three
terms (A& Bmain effects; A x B interaction)
•For each term include F, df, p-value & η
2
•E.g., F(1, 20) = 6.33, p<.05, η
2
= .478

Interpreting the Results
•Focus on the overall pattern of results
•Significant interactions require particular
attention because even if you understand the
main effects, interactions go beyond what
main effects alone can explain.
•Extensive practice is typically required to be
able to clearly articulate results which include
a significant interaction

Figure 7.4
Sample means for Example 7.4

Two-Factor ANOVA
Assumptions
•The validity of the ANOVA presented in this
chapter depends on three assumptions
common to other hypothesis tests
–The observations within each sample must be
independent of each other
–The populations from which the samples are
selected must be normally distributed
–The populations from which the samples are
selected must have equal variances
(homogeneity of variance)

Figure 7.5 Independent-
Measures Two-Factor Formulas

Figure 7.6 Example 7.1 SPSS
Output for Repeated-Measures

Figure 7.7 Example 7.4 SPSS
Output for Two-Factor ANOVA