Table of contents
- 1. Intro to Stats and Collecting Data55m
- 2. Describing Data with Tables and Graphs1h 55m
- 3. Describing Data Numerically1h 45m
- 4. Probability2h 16m
- 5. Binomial Distribution & Discrete Random Variables2h 33m
- 6. Normal Distribution and Continuous Random Variables1h 38m
- 7. Sampling Distributions & Confidence Intervals: Mean1h 3m
- 8. Sampling Distributions & Confidence Intervals: Proportion1h 12m
- 9. Hypothesis Testing for One Sample1h 1m
- 10. Hypothesis Testing for Two Samples2h 8m
- 11. Correlation48m
- 12. Regression1h 4m
- 13. Chi-Square Tests & Goodness of Fit1h 20m
- 14. ANOVA1h 0m
13. Chi-Square Tests & Goodness of Fit
Goodness of Fit Test
Struggling with Statistics?
Join thousands of students who trust us to help them ace their exams!Watch the first videoMultiple Choice
A gym owner wants to know if the gym has similar numbers of members across different age groups. The table shows the distribution of ages for members from a random survey. Write the null & alt. hypotheses to test the claim that the gym has equal numbers of members across all age groups.

A
H0: The # of members is the same for all age groups
Ha: The # of members is significantly different between the age groups
B
H0: The # of members is the same for all age groups
Ha: The # of members is significantly different for at least one of the age groups
C
H0: The # of members is significantly different for at least one of the age groups
Ha: The # of members is the same for all age groups
D
H0: The # of members is significantly different between the age groups
Ha: The # of members is the same for all age groups

1
Step 1: Understand the problem. The gym owner wants to test whether the number of members is evenly distributed across different age groups. This is a hypothesis testing problem where we compare observed frequencies to expected frequencies.
Step 2: Define the null hypothesis (H0) and the alternative hypothesis (Ha). H0: The number of members is the same for all age groups (equal distribution). Ha: The number of members is significantly different for at least one of the age groups (unequal distribution).
Step 3: Choose the appropriate statistical test. Since we are comparing observed frequencies across categories, a Chi-Square Goodness-of-Fit test is suitable for this problem.
Step 4: Calculate the expected frequencies. If the gym has equal numbers of members across all age groups, the expected frequency for each age group would be the total number of members divided by the number of age groups. Use the formula: , where E is the expected frequency, N is the total number of members, and k is the number of age groups.
Step 5: Compute the Chi-Square statistic using the formula: , where O is the observed frequency and E is the expected frequency for each age group. Compare the computed Chi-Square value to the critical value from the Chi-Square distribution table at the chosen significance level to determine whether to reject or fail to reject the null hypothesis.
Watch next
Master Goodness of Fit Test with a bite sized video explanation from Patrick
Start learning