## Stats Lab

### Lab 2: Chi-Square Test of Independence

- The student will evaluate if there is a significant relationship between favorite type of snack and gender.

- Using your class as a sample, complete the following chart. Ask one another what your favorite snack is, then total the results.
## Note

You may need to combine two food categories so that each cell has an expected value of at least five.Sweets (candy & baked goods) Ice Cream Chips & Pretzels Fruits & Vegetables Total **Male****Female****Total** - Looking at Table 11.26, does it appear to you that there is a dependence between gender and favorite type of snack food? Why or why not?

Hypothesis Test Conduct a hypothesis test to determine if the factors are independent:

*H*: _________{0}*H*: _________{a}- What distribution should you use for a hypothesis test?
- Why did you choose this distribution?
- Calculate the test statistic.
- Find the
*p*value. - Sketch a graph of the situation. Label and scale the
*x*axis. Shade the area corresponding to the*p*value. - State your decision.
- State your conclusion in a complete sentence.

- Is the conclusion of your study the same as or different from your answer to answer to Question 2 under Collect the Data?
- Why do you think that occurred?