Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Statistics

11.8 Lab 2: Chi-Square Test of Independence

Statistics11.8 Lab 2: Chi-Square Test of Independence

Stats Lab

Lab 2: Chi-Square Test of Independence

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 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
    Table 11.26 Favorite Type of Snack
  2. 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:

  1. H0: ________
  2. Ha: ________
  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 value.
    Blank graph with vertical and horizontal axes.
    Figure 11.12
  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 2 under Collect the Data?
  2. Why do you think that occurred?
Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute Texas Education Agency (TEA). The original material is available at: https://www.texasgateway.org/book/tea-statistics . Changes were made to the original material, including updates to art, structure, and other content updates.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/statistics/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/statistics/pages/1-introduction
Citation information

© Apr 16, 2024 Texas Education Agency (TEA). The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.