Skip to main content
Statistics LibreTexts

11.9: Lab 2: Chi-Square Test of Independence (Worksheet)

Name: ______________________________

Section: _____________________________

Student ID#:__________________________

Work in groups on these problems. You should try to answer the questions without referring to your textbook. If you get stuck, try asking another group for help.

Student Learning Outcome

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

Collect the Data

  1. Using your class as a sample, complete the following chart. Ask each other 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.

    Favorite type of snack
      sweets (candy & baked goods) ice cream chips & pretzels fruits & vegetables Total
  2. Looking at Table, 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:

  1. \(H_{0}\): ________
  2. \(H_{a}\): ________
  3. What distribution should you use for a hypothesis test?
  4. Why did you choose this distribution?
  5. Calculate the test statistic.
  6. Find the p-value.
  7. Sketch a graph of the situation. Label and scale the \(x\)-axis. Shade the area corresponding to the \(p\text{-value}\). 

    Blank graph with vertical and horizontal axes.

    Figure 11.9.1.

  8. State your decision.
  9. State your conclusion in a complete sentence.

Discussion Questions

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