In: Statistics and Probability
a. Use an appropriate test to evaluate whether the number of prey eaten differs among three habitat types. Assume the data are normally distributed.
b. If habitat type affects the number of prey eaten, determine which habitats differ from which others.
c. Evaluate the same hypothesis, but now assume that the data are not distributed normally (You don’t need to determine which habitats differ from which others for this question)
1) State all relevant hypotheses (nulls and alternatives).
2) State which test was used and why you used it.
3) State conclusions after completing your analyses.
habitat | n eaten |
1 | 1 |
1 | 2 |
1 | 2 |
1 | 3 |
1 | 3 |
1 | 4 |
1 | 4 |
1 | 4 |
1 | 4 |
1 | 6 |
1 | 2 |
1 | 5 |
1 | 9 |
1 | 7 |
1 | 0 |
2 | 2 |
2 | 0 |
2 | 1 |
2 | 3 |
2 | 3 |
2 | 0 |
2 | 4 |
2 | 0 |
2 | 0 |
2 | 4 |
2 | 0 |
2 | 6 |
2 | 5 |
2 | 1 |
2 | 7 |
3 | 0 |
3 | 0 |
3 | 2 |
3 | 0 |
3 | 0 |
3 | 0 |
3 | 1 |
3 | 0 |
3 | 0 |
3 | 1 |
3 | 0 |
3 | 0 |
3 | 1 |
3 | 0 |
3 | 0 |
from above ANOVA table it is clear that average number of eating is differ for three habits.
Now to check which habit differ significantly we use multiple comparison tests as
from above table it is clear that habit type 3 is differ from habit type 1 and 2
Now by ignoring normality assumption we we Kruskal Wallis test as
from above test we observed that median of number of pretty eaten is differ among all habits