← Math quizzes

From OpenStax

Test of Independence Quiz

12 questions math Grades 9-12

The question sheet

Reveal any answer as you study
  1. What structure do tests of independence use?

    • A time series graph
    • A single column of data
    • A random sample list
    • A contingency table of observed values
    Reveal answer

    Answer: A contingency table of observed values

    Source evidence

    PDF page 657: Tests of independence involve using a contingency table of observed (data) values. The test statistic for a test of independence is similar to that of a goodness-of-fit test 2

  2. A test of independence determines what about two factors?

    • Whether they are independent
    • Their sample size
    • Their standard deviation
    • Their exact correlation value
    Reveal answer

    Answer: Whether they are independent

    Source evidence

    PDF page 658: (O – E) There are i ⋅ j terms of the form . E A test of independence determines whether two factors are independent. You first encountered the term independence in Probability Topics. As a review, consider the following example. NOTE The expected value for each cell needs to be at least five for you to use this test.

  3. For the test to be valid, the expected value for each cell needs to be at least what?

    • Five
    • Ten
    • Twenty
    • Two
    Reveal answer

    Answer: Five

    Source evidence

    PDF page 658: (O – E) There are i ⋅ j terms of the form . E A test of independence determines whether two factors are independent. You first encountered the term independence in Probability Topics. As a review, consider the following example. NOTE The expected value for each cell needs to be at least five for you to use this test.

  4. How is the expected number E for a cell computed?

    • row total + column total
    • (row total)(column total)
    • (row total)(column total)/total surveyed
    • total surveyed/2
    Reveal answer

    Answer: (row total)(column total)/total surveyed

    Source evidence

    PDF page 658: Suppose A = a speeding violation in the last year and B = a cell phone user while driving. If A and B are independent, then P(A AND B) = P(A)P(B). A AND B is the event that a driver received a speeding violation last year and also used a cell phone while driving. Suppose, in a study of drivers who received speeding violations in the last year, and who used cell phones while driving, that 755 people were surveyed. Out of the 755, 70 had a speeding violation and 685 did not; 305 used cell phones while driving and 450 did not. Let y = expected number of drivers who used a cell phone while driving and received speeding violations. If A and B are independent, then P(A AND B) = P(A)P(B). By substitution, y ⎛ 70 ⎞⎛305⎞ = . 755 ⎝755⎠⎝755⎠ (70)(305) Solve for y: y = = 28.3. 755 About 28 people from the sample are expected to use cell phones while driving and to receive speeding violations. In a test of independence, we state the null and alternative hypotheses in words. Since the contingency table consists of two factors, the null hypothesis states that the factors are independent and the alternative hypothesis states that they are not independent (dependent). If we do a test of independence using the example, then the null hypothesis is the following: H0: Being a cell phone user while driving and receiving a speeding violation are independent events. If the null hypothesis were true, we would expect about 28 people to use cell phones while driving and to receive a speeding violation. The test of independence is always right-tailed because of the calculation of the test statistic. If the expected and observed values are not close together, then the test statistic is very large and way out in the right tail of the chisquare curve, as it is in a goodness-of-fit. The number of degrees of freedom for the test of independence is df = (number of columns – 1)(number of rows – 1). The following formula calculates the expected number (E): (row total)(column total) E = total number surveyed

  5. The test of independence is always which type of test?

    • Two-tailed
    • Right-tailed
    • Left-tailed
    • Not tailed
    Reveal answer

    Answer: Right-tailed

    Source evidence

    PDF page 658: Suppose A = a speeding violation in the last year and B = a cell phone user while driving. If A and B are independent, then P(A AND B) = P(A)P(B). A AND B is the event that a driver received a speeding violation last year and also used a cell phone while driving. Suppose, in a study of drivers who received speeding violations in the last year, and who used cell phones while driving, that 755 people were surveyed. Out of the 755, 70 had a speeding violation and 685 did not; 305 used cell phones while driving and 450 did not. Let y = expected number of drivers who used a cell phone while driving and received speeding violations. If A and B are independent, then P(A AND B) = P(A)P(B). By substitution, y ⎛ 70 ⎞⎛305⎞ = . 755 ⎝755⎠⎝755⎠ (70)(305) Solve for y: y = = 28.3. 755 About 28 people from the sample are expected to use cell phones while driving and to receive speeding violations. In a test of independence, we state the null and alternative hypotheses in words. Since the contingency table consists of two factors, the null hypothesis states that the factors are independent and the alternative hypothesis states that they are not independent (dependent). If we do a test of independence using the example, then the null hypothesis is the following: H0: Being a cell phone user while driving and receiving a speeding violation are independent events. If the null hypothesis were true, we would expect about 28 people to use cell phones while driving and to receive a speeding violation. The test of independence is always right-tailed because of the calculation of the test statistic. If the expected and observed values are not close together, then the test statistic is very large and way out in the right tail of the chisquare curve, as it is in a goodness-of-fit. The number of degrees of freedom for the test of independence is df = (number of columns – 1)(number of rows – 1). The following formula calculates the expected number (E): (row total)(column total) E = total number surveyed

  6. In the driver study of 755 people, what is the expected number using a cell phone and receiving a violation?

    • About 305
    • About 70
    • About 28
    • About 450
    Reveal answer

    Answer: About 28

    Source evidence

    PDF page 658: Suppose A = a speeding violation in the last year and B = a cell phone user while driving. If A and B are independent, then P(A AND B) = P(A)P(B). A AND B is the event that a driver received a speeding violation last year and also used a cell phone while driving. Suppose, in a study of drivers who received speeding violations in the last year, and who used cell phones while driving, that 755 people were surveyed. Out of the 755, 70 had a speeding violation and 685 did not; 305 used cell phones while driving and 450 did not. Let y = expected number of drivers who used a cell phone while driving and received speeding violations. If A and B are independent, then P(A AND B) = P(A)P(B). By substitution, y ⎛ 70 ⎞⎛305⎞ = . 755 ⎝755⎠⎝755⎠ (70)(305) Solve for y: y = = 28.3. 755 About 28 people from the sample are expected to use cell phones while driving and to receive speeding violations. In a test of independence, we state the null and alternative hypotheses in words. Since the contingency table consists of two factors, the null hypothesis states that the factors are independent and the alternative hypothesis states that they are not independent (dependent). If we do a test of independence using the example, then the null hypothesis is the following: H0: Being a cell phone user while driving and receiving a speeding violation are independent events. If the null hypothesis were true, we would expect about 28 people to use cell phones while driving and to receive a speeding violation. The test of independence is always right-tailed because of the calculation of the test statistic. If the expected and observed values are not close together, then the test statistic is very large and way out in the right tail of the chisquare curve, as it is in a goodness-of-fit. The number of degrees of freedom for the test of independence is df = (number of columns – 1)(number of rows – 1). The following formula calculates the expected number (E): (row total)(column total) E = total number surveyed

  7. In the test of independence, the null hypothesis states the factors are what?

    • Dependent
    • Correlated
    • Independent
    • Equal
    Reveal answer

    Answer: Independent

    Source evidence

    PDF page 658: Suppose A = a speeding violation in the last year and B = a cell phone user while driving. If A and B are independent, then P(A AND B) = P(A)P(B). A AND B is the event that a driver received a speeding violation last year and also used a cell phone while driving. Suppose, in a study of drivers who received speeding violations in the last year, and who used cell phones while driving, that 755 people were surveyed. Out of the 755, 70 had a speeding violation and 685 did not; 305 used cell phones while driving and 450 did not. Let y = expected number of drivers who used a cell phone while driving and received speeding violations. If A and B are independent, then P(A AND B) = P(A)P(B). By substitution, y ⎛ 70 ⎞⎛305⎞ = . 755 ⎝755⎠⎝755⎠ (70)(305) Solve for y: y = = 28.3. 755 About 28 people from the sample are expected to use cell phones while driving and to receive speeding violations. In a test of independence, we state the null and alternative hypotheses in words. Since the contingency table consists of two factors, the null hypothesis states that the factors are independent and the alternative hypothesis states that they are not independent (dependent). If we do a test of independence using the example, then the null hypothesis is the following: H0: Being a cell phone user while driving and receiving a speeding violation are independent events. If the null hypothesis were true, we would expect about 28 people to use cell phones while driving and to receive a speeding violation. The test of independence is always right-tailed because of the calculation of the test statistic. If the expected and observed values are not close together, then the test statistic is very large and way out in the right tail of the chisquare curve, as it is in a goodness-of-fit. The number of degrees of freedom for the test of independence is df = (number of columns – 1)(number of rows – 1). The following formula calculates the expected number (E): (row total)(column total) E = total number surveyed

  8. Why is the test statistic large and in the right tail?

    • When degrees of freedom are zero
    • When alpha is large
    • When the sample is small
    • When expected and observed values differ
    Reveal answer

    Answer: When expected and observed values differ

    Source evidence

    PDF page 658: Suppose A = a speeding violation in the last year and B = a cell phone user while driving. If A and B are independent, then P(A AND B) = P(A)P(B). A AND B is the event that a driver received a speeding violation last year and also used a cell phone while driving. Suppose, in a study of drivers who received speeding violations in the last year, and who used cell phones while driving, that 755 people were surveyed. Out of the 755, 70 had a speeding violation and 685 did not; 305 used cell phones while driving and 450 did not. Let y = expected number of drivers who used a cell phone while driving and received speeding violations. If A and B are independent, then P(A AND B) = P(A)P(B). By substitution, y ⎛ 70 ⎞⎛305⎞ = . 755 ⎝755⎠⎝755⎠ (70)(305) Solve for y: y = = 28.3. 755 About 28 people from the sample are expected to use cell phones while driving and to receive speeding violations. In a test of independence, we state the null and alternative hypotheses in words. Since the contingency table consists of two factors, the null hypothesis states that the factors are independent and the alternative hypothesis states that they are not independent (dependent). If we do a test of independence using the example, then the null hypothesis is the following: H0: Being a cell phone user while driving and receiving a speeding violation are independent events. If the null hypothesis were true, we would expect about 28 people to use cell phones while driving and to receive a speeding violation. The test of independence is always right-tailed because of the calculation of the test statistic. If the expected and observed values are not close together, then the test statistic is very large and way out in the right tail of the chisquare curve, as it is in a goodness-of-fit. The number of degrees of freedom for the test of independence is df = (number of columns – 1)(number of rows – 1). The following formula calculates the expected number (E): (row total)(column total) E = total number surveyed

  9. What was the calculated test statistic in the volunteer example?

    • 0.0113
    • 4
    • 28.3
    • 12.99
    Reveal answer

    Answer: 12.99

    Source evidence

    PDF page 659: Calculate the test statistic: χ = 12.99 (calculator or computer) 2 Distribution for the test: χ 4

  10. What were the degrees of freedom in the volunteer example?

    • 4
    • 9
    • 6
    • 2
    Reveal answer

    Answer: 4

    Source evidence

    PDF page 659: df = (3 columns – 1)(3 rows – 1) = (2)(2) = 4

  11. What was the p-value in the volunteer example?

    • 0.0113
    • 12.99
    • 0.5
    • 0.05
    Reveal answer

    Answer: 0.0113

    Source evidence

    PDF page 660: Probability statement: p-value = P(χ > 12.99) = 0.0113

  12. Since alpha exceeds the p-value in the volunteer example, what decision is made?

    • Increase sample
    • No decision
    • Fail to reject H0
    • Reject H0
    Reveal answer

    Answer: Reject H0

    Source evidence

    PDF page 660: Compare α and the p-value: Since no α is given, assume α = 0.05. p-value = 0.0113. α > p-value. Make a decision: Since α > p-value, reject H0. This means that the factors are not independent. Conclusion: At a 5 percent level of significance, from the data, there is sufficient evidence to conclude that the number of hours volunteered and the type of volunteer are dependent on each other. For the example in Table 11.15, if there had been another type of volunteer, teenagers, what would the degrees of freedom be?

Play the whole quiz inside a game Answers stay hidden while you play

Make your own — free

Turn any notes into a game in under a minute. Free to start.

Make a quiz