Professional Documents
Culture Documents
MATH 1281 - Unit 3 Assignment
MATH 1281 - Unit 3 Assignment
a. Hypotheses:
Null Hypothesis (H0): Barking deer do not prefer to forage in certain habitats over others;
Alternative Hypothesis (H1): Barking deer prefer to forage in certain habitats over others;
there is a significant difference in the distribution of forage sites across habitat types.
b. Test Type: We can use a chi-squared goodness-of-fit test to answer this research question. This
test assesses whether observed categorical data differs significantly from expected frequencies.
d. Hypothesis Test: First, we calculate the expected frequencies based on the assumption that
barking deer forage sites are distributed proportionally to the habitat types. Then, we conduct a
Let's calculate the chi-squared statistic, degrees of freedom, and interpret the p-value:
Observed frequencies:
Woods: 6
Cultivated grassplot: 18
Deciduous forests: 71
Other: 435
Total: 530
Expected frequencies:
Chi-squared statistic:
2
χ =∑ ¿ ¿
Where:
The summation symbol (Σ) indicates that we sum this calculation over all possible
outcomes.
2
x =14.86+ 46.07+91.90+ 219.70
2
x =372.522
Given that the p-value (0.00001) is less than 0.001 (p < 0.001), we reject the null
hypothesis. This indicates strong evidence that barking deer prefer to forage in certain
Part 2
Null hypothesis (H0): The groups are balanced, and the difference in totals is due to
chance.
Conditions:
Let's calculate the appropriate test statistic and interpret the p-value:
Let's calculate the expected frequencies based on the assumption of equal distribution (1/3 for
each position) and then use the observed frequencies to compute the chi-squared statistic.
501
Expected frequency for each position = =167
3
Now, let's calculate the expected frequencies and the chi-squared statistic using the observed and
expected frequencies:
2
χ =∑ ¿ ¿
2
x =14.86+ 46.07+91.90+ 219.70
X2 = 372.53
This chi-square 372.53 is a large value, indicating that the observed frequencies are significantly
different from the expected frequencies under the null hypothesis of equal group sizes. This is
consistent with the small p-value (0.0093) we were given, which suggests that the null