Skip to main content
Statistics LibreTexts

11.3 Test of Independence

  • Page ID
    36533
  • \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    Section 11.3 Test of Independence

    Learning Objective:

    In this section, you will:

    • Conduct and interpret chi-square test of independence hypothesis tests

    A test of independence is used to determine whether two factors are independent or not. We use the graphing calculator, 𝑪:𝝌𝟐 − 𝑻𝒆𝒔𝒕, with test statistic 𝜒R5RE5wvxyLRc2nzmEFQLpeBPgQzI_1EVn7nQvk7-NTQxdk4kqIJDVlxMILNqlioNp7lhbLL7bAiXJI-RU6L28Sj6_CUTNYYtsixENNA7mrFkmD7fKDKlLeYe99D5ZaCv2-oaNo1zXwCeTq9wQCmdSA, with

    𝐸 df = (# of rows – 1)(# of columns – 1), O = Observed values, E = expected values

    Enter data in a matrix [A] using a graphing calculator, Matrix (2nd x-1), Edit, input number of rows and columns. Note that the 𝝌𝟐 − 𝑻𝒆𝒔𝒕 will create a matrix of the expected values and place it in matrix [B].

    Example 1: In a volunteer group, adults 21 and older volunteer from one to nine hours each week to spend time with a disabled senior citizen. The program recruits among community college students, four-year college students, and nonstudents. In the table below is a sample of the adult volunteers and the number of hours they volunteer per week.

    Type of Volunteer

    1-3 Hours

    4-6 Hours

    7-9 Hours

    Community College Student

    111

    96

    48

    Four-Year College Student

    96

    133

    61

    Nonstudents

    91

    150

    53

    Is the number of hours volunteered independent of the type of volunteer? Test at a 5% significance level.

    1. Null and Alternative Hypothesis
    1. Calculator Work
    1. Test Statistic and P-Value

    1. Conclusion about the null hypothesis
    1. Final conclusion that addresses the original claim

    Notes 11.3

    Example 2: De Anza College is interested in the relationship between anxiety level and the need to succeed in school. A random sample of 400 students took a test that measured anxiety level and need to succeed in school. The table below shows the results. De Anza College wants to know if anxiety level and need to succeed in school are independent events. Test at a 5% significance level.

    Need to Succeed in School

    High

    Anxiety

    Med-high Anxiety

    Medium

    Anxiety

    Med-low

    Anxiety

    Low

    Anxiety

    High Need

    35

    42

    53

    15

    10

    Medium Need

    18

    48

    63

    33

    31

    Low Need

    4

    5

    11

    15

    17

    1. Null and Alternative Hypothesis
    1. Calculator Work
    1. Test Statistic and P-Value

    1. Conclusion about the null hypothesis
    1. Final conclusion that addresses the original claim

    For more information and examples see online textbook OpenStax Introductory Statistics pages 633-638.

    Introduction to Statistics by OpenStax, used is licensed under a Creative Commons Attribution

    License 4.0 license


    11.3 Test of Independence is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?