## A company supplying candy to school vending machines needs to know about candy preferences of middle school and high school age students. A

A company supplying candy to school vending machines needs to know about candy preferences of middle school and high school age students. A random sample of 400 students was taken. The company wants to know if there is any relationship between the candy choices and the age of students. After performing a chi-square test of independence, the chi-square test statistic = 24.68. The appropriate critical value for df and desired alpha level = 11.34.

Is there sufficient evidence to reject the null hypothesis? Explain.

## Answers ( )

Answer:Yes

Step-by-step explanation:The chi-square test statistic = 24.68.

The critical value for df = 11.34.

Since the calculated value of the chi square falls in the critical region it is concluded that the two variables are dependent.

1) The null and alternative hypotheses are

H0: candy preferences of students is independent of age.

Ha: candy preferences of students is not independent of age.

As the calculated value χ² = 24.68 lies in the critical region χ² ≥χ² =11.34, null hypothesis is rejected.

Therefore, we conclude that there is not enough evidence to accept the null hypothesis .