Skip to main content
Statistics LibreTexts

1.1.4: Chi-Square - Test of Independence (Worksheet)

  • Page ID
    1386
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    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
      male
      female
      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?

    This page titled 1.1.4: Chi-Square - Test of Independence (Worksheet) is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.