Differences, Frequencies and Relationships Flashcards
Why cant t-tests be used for testing between more than 2 groups?
Very time consuming as 4 groups would require 6 t-tests
Multiple testing increases our chance of making type 1 errors
What is ANOVA?
Analysis of Variance
When do we use ANOVA?
Used to determine differences between more than 2 groups
What does ANOVA look at?
Looks at the variability of the data rather than directly at the means
What are the assumptions of ANOVA?
Continuous data within each group
Equal variance in each group
Samples are independent
Need 3 or more groups to test
What happens if the assumptions of the ANOVA are not held/met?
P value may be wrong
What should you do if the assumptions of the ANOVA are not met?
Try transforming the data
Use a non-parametric equivalent test
If samples are not independent then need another method
What does the one way ANOVA do?
Compares the means from 3 or more independent samples giving overall P values
Compares the test statistic to an F distribution
What are the null hypothesis for a one way ANOVA?
The samples for each group come from populations with the same mean values.
How does the one way ANOVA separate the variability?
Separates total variability in the data into:
Between group variance (treatment factor; differences between individuals from the different groups)
Within group variance (unexplained residual error; random variation between individuals within each group)
For a one way ANOVA, what would it mean if there are differences between the groups?
Then the between group variance will be larger than the within group variance.
How does the one way ANOVA work?
- Just use 2 groups for the illustration example – hypothetical weights for 2 groups of fish
- (a) Calculate the overall mean & the group means
- (b) The total variability is the sum of squares of the distances of each point from the overall mean; broken down into between-group variability & within-group variability
- (c) The between-group variability is the sum of squares of the distances from each point’s group mean to the overall mean
- (d) The within-group variability is the sum of squares of the distances from each point to its group mean
What are some other ANOVA tests?
Repeated measures ANOVA
Two way ANOVA
what is the purpose of the repeated measures ANOVA?
tests whether the means of two or more groups of related measurements are different
what is the purpose of the two way ANOVA?
tests the effect of two factors at once (e.g. crop yield effect by adding different amounts of nitrate and phosphate)