Skip to ContentGo to accessibility page
Statistics

11.8 Lab 2: Chi-Square Test of Independence

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

11.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.
    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
Reuse and redistribution of this content in digital or print format:
  • 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 prior written permission.
  • This book uses the Creative Commons Attribution License, which means that you can reuse and modify the material only for noncommercial purposes, must attribute Texas Education Agency (TEA), and must distribute any derivative works under the same license. 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.
  • Any commercial printing of this textbook, including using a local or custom printer, must be approved by OpenStax, and proper citation provided.
  • OpenStax-copyrighted images, activities, assessments, and similar components of this book are subject to the same licensing – CC-BY-NC-SA. They can be used for noncommercial purposes with attribution. Commercial use requires permission.
  • Permission requests: Anyone who intends to incorporate this content (including text, images, and other components) into large language models, use it in AI offerings, use it commercially (including in print), and/or has questions about another use case is welcome to complete our reuse request form.
Attribution information
  • If you are redistributing all or part of this book in a noncommercial 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 noncommercial digital format, then for every page that includes OpenStax content, you must license the derivative work under the same CC-BY-NC-SA license as the original, and include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/statistics/pages/1-introduction

Citation information

The information below includes the information needed to generate citations in most major styles (APA, MLA, etc.); you must reformat and organize the information as needed to fit the requirements of the style. Use the information below to generate a citation. We recommend using a citation tool such as this one.

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