Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 6

CLB20903 Engineering Statistics Tutorial

_______________________________________________________________________________________

CHAPTER 6
CHI SQUARE TEST

1. A researcher wishes to test the effectiveness of a flu vaccination. 150 people


are vaccinated, 180 people are vaccinated with a placebo, and 100 people are
not vaccinated. The number in each group who later caught the flu was
recorded. The results are shown below.
Vaccinated placebo control
Caught the flu 8 19 21
Did not catch the 142 161 79
flu

Use a 5% significance level to test the claim that the proportion of the people catching
the flu is the same in all three groups.
Solution::

1. Use the sample data below to test whether car color affects the likelihood of being in an
accident. Use a significance level of 0.01.
JULY 2019 1
CLB20903 Engineering Statistics Tutorial
_______________________________________________________________________________________
Red Blue White
Car has been in accident 28 33 36
Car has not been in 23 22 30
accident

Solution::

3. A geologist collects hand-specimen sized pieces of limestone from a particular area. A


qualitative assessment of both texture and color is made with the following results. Is there
evidence of association between color and texture for these lime stones? Explain your
answer.

JULY 2019 2
CLB20903 Engineering Statistics Tutorial
_______________________________________________________________________________________

Color
Texture
Light Medium Dark
Fine 4 20 8
Medium 5 23 12
Coarse 21 23 4

Solution::

4. A company operates three machines in three shifts each day. From production records, the
data on the number of breakdowns are collected and given below:

Machines
Shift
A B C
1 41 20 12
2 31 11 9
3 15 17 16

JULY 2019 3
CLB20903 Engineering Statistics Tutorial
_______________________________________________________________________________________
Test the hypothesis that machine breakdowns and shift are independent using 5 %
significant level.
Solution::

5. The following MINITAB output was obtained from a company which manufactures special
plastic containers which are to hold a specified volume of hazardous material. On each of
the three 8 hour shifts workers are able to make 500 of the containers. Some containers do
not meet specifications as required by the company’s customer because they are too small,
others because they are too large.

Tabulated statistics: Shift, Specification


Using frequencies in frequency

Rows: Shift Columns: Specification

Too Too Within


Large small Spec. All
JULY 2019 4
CLB20903 Engineering Statistics Tutorial
_______________________________________________________________________________________
4am 33 24 443 500
A 24.0 444.3 500.0

8am 12 36 452 B
31.7 24.0 444.3 500.0

midnight 50 12 438 500


31.7 24.0 C 500.0

All 95 72 1333 1500


95.0 72.0 1333.0 1500.0

Cell Contents: Count


Expected count

Pearson Chi-Square = 35.111, DF = D, P-Value = 0.000


Likelihood Ratio Chi-Square = 37.893, DF = 4, P-Value = 0.000

a. Determine the missing values in the above output.


A=
B=
C=
D=

b. Evaluate the test value for this output.


c. At 5% significance level, determine if the conformance to specifications and shift
is independent.

Solution::

JULY 2019 5
CLB20903 Engineering Statistics Tutorial
_______________________________________________________________________________________

JULY 2019 6

You might also like