Documentos de Académico
Documentos de Profesional
Documentos de Cultura
The aim of the practical exercise today is to demonstrate how we test comparing 3
means both using hand calculation and using R. The exercise today is structured as
follows:
1) Manual calculations of one way within subjects ANOVA
2) Running ANOVA using R with the dataset provided
1. Manual calculations of ANOVA (ANOVA Related Cal D)
1.a Using the formulas for the One Way Repeated Measures ANOVA below,
calculate the F statistic for the data.
( X) 2
=10816/18
=600.8889
SSModel =
correction _ factor
N
DoFModel= k-1
where:
C= Total score per condition (i.e. column sum)
N= Amount of participants in the experiment (6)
k= Amount of conditions (in this case, groups)
C P
SSError = X
+ correction _ factor
DoFError= (k-1)(N-1)
Where:
P= total score per participant (i.e. row sum)
N= Number of participants in the experiment
k= number of conditions in the experiment
DoFError= Error Degrees of Freedom
Answer:
P- Participant (row) 1= 19; Participant (row) 2=17; Participant (row) 3=16
Participant (row) 4=16; Participant (row) 5=21; Participant (row) 6=15
SSerror = 660- 641.6667-((361+289+256+256+441+225)/3)+600.889
SSerror = 660- 641.6667-(1828/3)+600.889
SSerror = 660- 641.6667-609.3333+600.889
SSerror = 9.889
DoFError= 2x5=10
Step 5: Calculate Mean Square Model & Mean Square Error
MSModel =
SSmod el
DoFmod el
MSError =
SSError
DoFError
Answer:
MS model= 40.77778/2 = 20.38889
MS error= 9.889/10 = 0.9889
MSModel
MSError
Answer:
F=20.38889/0.9889 =20.61775