When comparing attendance between yoga and weightlifting classes, a hypothesis test can determine if yoga classes are significantly more well attended. Given sample data where weightlifting classes have a mean attendance of 20.4 with a sample size of 32, and yoga classes have a mean attendance of 21.3 with the same sample size, the test uses known population standard deviations: σ₁ = 3.6 for weightlifting and σ₂ = 4.2 for yoga.
The null hypothesis (H₀) assumes no difference in average attendance between the two class types, expressed as . The alternative hypothesis (Hₐ) posits that yoga classes have higher attendance, or , where μ₁ is the mean attendance for weightlifting and μ₂ for yoga.
Using a significance level of α = 0.1, the test statistic is calculated based on the sample means, sizes, and known standard deviations. The p-value obtained from this test is approximately 0.18, which exceeds the alpha level. Since the p-value is greater than 0.1, the null hypothesis cannot be rejected, indicating insufficient evidence to conclude that yoga classes have higher average attendance than weightlifting classes.
Consequently, the gym does not have enough statistical evidence to justify adding more yoga classes over weightlifting classes. This conclusion emphasizes the importance of hypothesis testing in making data-driven decisions about resource allocation in fitness programs.
