Test of Independence Quiz
The question sheet
Reveal any answer as you study-
A test of independence uses which type of table of observed values?
- Contingency table
- Box plot
- Stem-and-leaf plot
- Frequency polygon
Reveal answer
Answer: Contingency table
Source evidence
PDF page 608: 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
-
A test of independence determines whether:
- Variances are equal
- Two factors are independent
- A mean equals zero
- Data are normal
Reveal answer
Answer: Two factors are independent
Source evidence
PDF page 608: 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.
-
In the notation, i represents:
- The number of columns
- The number of rows in the table
- The sample size
- The expected value
Reveal answer
Answer: The number of rows in the table
Source evidence
PDF page 608: • i = the number of rows in the table, and
-
The expected value for each cell needs to be at least:
- Five
- One
- Ten
- Thirty
Reveal answer
Answer: Five
Source evidence
PDF page 608: The expected value for each cell needs to be at least five for you to use this test.
-
If A and B are independent, then P(A AND B) equals:
- P(A)+P(B)
- P(A)-P(B)
- P(A)/P(B)
- P(A)P(B)
Reveal answer
Answer: P(A)P(B)
Source evidence
PDF page 608: 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
-
The test of independence is always:
- Left-tailed
- Non-tailed
- Two-tailed
- Right-tailed
Reveal answer
Answer: Right-tailed
Source evidence
PDF page 609: 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 chi-square 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):
-
The degrees of freedom for a test of independence equal:
- (cols-1)+(rows-1)
- (cols-1)(rows-1)
- (cols)(rows)
- cols+rows-1
Reveal answer
Answer: (cols-1)(rows-1)
Source evidence
PDF page 609: 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 chi-square 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):
-
In the cell phone/speeding example, about how many people were expected to have both?
- 28
- 305
- 70
- 755
Reveal answer
Answer: 28
Source evidence
PDF page 609: 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 chi-square 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):
-
In a test of independence, the null hypothesis states the factors are:
- Equal
- Normal
- Dependent
- Independent
Reveal answer
Answer: Independent
Source evidence
PDF page 609: 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 chi-square 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):
-
For the volunteer example, the calculated test statistic χ² was:
- 4
- 0.0113
- 839
- 12.99
Reveal answer
Answer: 12.99
Source evidence
PDF page 610: 2 Calculate the test statistic: χ = 12.99 (calculator or computer) Distribution for the test:
-
The degrees of freedom for the volunteer example equal:
- 6
- 4
- 9
- 8
Reveal answer
Answer: 4
Source evidence
PDF page 610: df = (3 columns – 1)(3 rows – 1) = (2)(2) = 4
-
The p-value for the volunteer example was:
- 0.90
- 12.99
- 0.0113
- 0.05
Reveal answer
Answer: 0.0113
Source evidence
PDF page 610: Probability statement: p-value = P(χ > 12.99) = 0.0113
Statistics
Statistics by OpenStax, used under CC BY 4.0. Changes made by Stratacademy.
Make your own — free
Turn any notes into a game in under a minute. Free to start.