You are on page 1of 2

Graded Worksheet D2

Name: ________________

This needs to be completed and emailed to burelle@hartford.edu by the due date


announced in Course Compass.
A manufacturer uses two machines to drill holes in pieces of sheet metal used in engine
construction. The production manager is interested in knowing whether one machine produces
more defective drillings than the other. Here is the data from one day of production, which we
will treat as a random sample from all the parts produced by the machines.
Number
defective
Machine 1
Machine 2

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.

c. Fill in the table of expected counts.

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

d. Fill in the table showing the 2 calculation for each cell.

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

f. At = 0.01, is there a significant difference between the two machines? YES / NO


g. Fill in the blanks. At = 0.05, we _____________ (did / did not) find evidence that
there (is / is not) an association between which machine it was and whether the part
was defective.
h. Fill in the blanks. At = 0.05, we _____________ (did / did not) find evidence that
whether a part is defective ________ (is / is not) dependent on which machine made
the part.

You might also like