Professional Documents
Culture Documents
Name: ________________
31
38
Number not
defective
191
143
Whole sample
69
334
Total
403
222
181
1. Use the data to fill in the following contingency table which takes which machine as the
explanatory variable. The sum of each row should be 100%, except for possible rounding.
Machine 1
Defective
13.97
Not defective
86.03
Totals
100%
Machine 2
21
79
100%
17.12
82.88
100%
Whole sample
2. Based on these percentage calculations, we can see that in the sample, there is a difference
between the two machines. To determine whether this is a significant difference (that is, one
that suggests a difference in the entire population), you will carry out a 2-test using the
following steps.
a. Write the null hypothesis using the word correlation or the word association.
b. Write the null hypothesis using words such as dependent, independent, depends on.
Expected counts
Machine 1
Machine 2
Whole sample
Defective
38.0099
Not defective
183.99007
Totals
222
30.99007
150.0099256
181
334
403
69
(continued on reverse)
Graded worksheet D2
page 2
2 calculation
Machine 1
Machine 2
Defective
Not defective
1.29
.27
1.59
.33
e. Find the total 2 value, and use the StatCrunch chi-square calculator to calculate the
P-value.
Total x2 value = 3.4731
Pvalue= .05