MATH 1281 - Unit 3 MA
MATH 1281 - Unit 3 MA
Pallavi Khanna
a. Hypotheses
- Null Hypothesis (H₀): Barking deer do not show a preference for foraging in certain
habitats over others. The observed distribution of deer in the habitats matches the
- Alternative Hypothesis (Hₐ): Barking deer show a preference for foraging in certain
habitats. The observed distribution of deer in the habitats differs from the expected
distribution.
b. Type of Test
To determine if barking deer prefer certain habitats, we use the chi-square goodness of fit test.
This test is appropriate because we are comparing observed counts to expected counts across
different categories.
1. Random Sampling: We assume that the sites were randomly selected to represent the
2. Expected Frequency: Each expected frequency should be at least 5. For example, for the
2
(6−25.44)
- Woods: 25.44
= 14. 63
2
(18−77.91)
- Cultivated grassplot: 77.91
= 44. 55
2
(71−209.88)
- Deciduous forests: 209.88
= 91. 82
2
(435−216.77)
- Other: 216.77
= 218. 92
2
𝑥 = 14. 63 + 44. 55 + 91. 82 + 218. 92 = 369. 92
3. Degrees of Freedom:
𝑑𝑓 = number of categories − 1 = 4 − 1 = 3
4. Conclusion:
Given that the p-value is less than 0.001, we reject the null hypothesis. This provides convincing
evidence that barking deer prefer to forage in certain habitats over others.
Part 2
1. Position 1:
2. Position 2:
3. Position 3:
1. Hypotheses:
- H₀: The groups are balanced; any differences in totals are due to random chance.
For the three groups, using equal expected counts (since each group should ideally have (
501
3
= 167).
3. Conclusion:
Given that the p-value is 0.01215, which is less than 0.05, we reject the null hypothesis. This
indicates that there is significant evidence suggesting the groups were not balanced.
References:
Diez, D. M., Barr, C. D., & Çetinkaya-Rundel, M. (2019). Openintro statistics - Fourth edition.
https://www.biostat.jhsph.edu/~iruczins/teaching/books/2019.openintro.statistics.pdf