Professional Documents
Culture Documents
Chi Square Test: Testing Several Proportions Goodness-of-Fit Test Test of Independence
Chi Square Test: Testing Several Proportions Goodness-of-Fit Test Test of Independence
Chi Square Test: Testing Several Proportions Goodness-of-Fit Test Test of Independence
where
e i=
Rejection region
Reject H0 if
Goodness-of-Fit Test.
Ho: The data follows the specified distribution.
H1: The data does not follow the specified distribution.
df=k-1, where k is the number of cells
Ex2 Consider the experiment of tossing a six-sided die. We wish to test if the
die is
balanced (that is, that the distribution of our data is uniform). We then toss the
coin
120 times and obtain the following data:
A
14
B
18
C
32
D
20
E
16
Test the hypothesis, at the 0.05 level of significance, that the distribution
of grades is uniform.
2. Three distributors of nuts all advertise that their cans contain up to 60%
peanuts. If a can containing 500 mixed nuts is selected at random from
each of the three distributors and there are, respectively, 345, 313 and
359 peanuts in each of the cans, can we conclude at the 0.01 level of
significance that the mixed nuts of the three distributors contain equal
proportions of peanuts?
3. A random sample of 400 college students are classified according to
class status and drinking habits.
Freshman
Heavy drinkers
Moderate
drinkers
Non drinkers
Junior
Senior
29
32
Sophomor
e
41
29
33
36
28
39
55
34
27
17