10. Comparisons among categories: Analysis of variance Flashcards
When do we use ANOVA?
to analyses variance of categorical data
How do you construct a (one way) ANOVA table
y:
Treatment
Error
Total
x:
Sums of squares
D.f
Mean squares
F-ratio
p-value
How can you calculate variance and variation explained by data (R^2) from an ANOVA table?
Variance:
Total Sums of squares / Total d.f
R^2:
Treatment Sums of squares / Total Sums of Squares
How do you calculate the sum of squares total?
sum of (group treatment - mean)^2 and (units treatment - mean)^2
How do you calculate the sums of squares of treatment?
companion of means within groups
sum of (group size(group mean - total mean)^2)
How do you calculate the sums of squares of error
Difference between total and treatments
How do you calculate mean squares
sums of squares over d.f
How do you calculate the f-ratio?
MS-treatment/MS-error
H0: we expect this to be close to 1
H1: expect to exceed 1
What does R^2 inform us of?
the biological relevance
Why do we use planned comparisons?
as ANOVA only identifies significant differences
- not which means are different
How do we do a planned comparison?
same as two-sample t-test but SE is calculated differently
to calc SE we use the pooled error variance (MS-error) and the error of df
What is a rule of thumb for a planned comparison?
if t-statistic is twice SE, we can conclude there is a statically significant difference between the means