Sodapdf
Sodapdf
Sodapdf
Chapter Four
Chi-Square Distri
butions (x )
4.1.
Areas of appli
cation
2
In previous chapter
s, we have based o
2 ur decisions on the
assumption that
the population was
normally distributed.
When this assump
tion about the
population cannot
be made, then it
becomes necessar
y to use other
procedures. One of
the tests used in su
ch situations is kno
wn as Chi square
(X ) test. This test is
good for nominal or
ordinal scale of mea
surement.
X distribution has
the following char
acteristics
1. It involves square
d observations and
hence it is always p
ositive.
2. The distribution is
4.2. Tests for independenceskewed
between tworight
to the variables
so can
The chi-square independence test that be
its used
skewness
to test the independence of
is positive.
two variables.
3. Similar to t dist
Steps: ribution, there is
a family of chi-
square distributions.
There is a particular
distribution for each
degree of freedom.
The degree of freed
om (df) are calculate
d as follows;
a. df=(k-1), where K
is the number of cat
egories in one samp
le test
b. df=(K-1)(r-
1),where K is the nu
mber of columns an
d r is the number of
rows in a cross cl
assification table(c
ontingency table) f
or various
categories of two or
more independent s
amples.
1
H0: the column variable is independent of the row variable
H1: the column variable is not independent of the row variable
2. Select a random sample and record the observed frequencies
3. Compute expected frequencies
4. Compute the value of the test statistic
5. Decision rule: Reject H20 if X2 ≥ X α
Step 1:
H0: Soft drink preference is independent of the gender of the drin
ker.
H1: Soft drink preference is not independent of the gender of the
drinker.
Step 2: After identification of the population as all male and fem
ale drinkers,
a sample selected and each individual asked to state his or her
preference
for the three soft drinks.
Contingency table* for soft drink preference and gender
GENDER SOFT DRINK PREFERENCE
2
Mirind 7 Pepsi Total
a UP
Male 16 80
3
Female 23.33 32.6 14 70
7
Total 50 70 30 150
Step 4:
4.3.
In this situation, samples are selected from several different populations, and
the researcher is interested in determining whether the proportions of
3
elements that have a common characteristic are the same for each
population.
Illustration: A psychologist selected 100 people from each of four income groups and asked them
if they were “very happy.” The percent for each group who responded yes and the number from the
survey are shown in the table. At a 0.05 level of significance test the claim that there is no difference in
the proportions.
Yes 24 33 38 49 144
No 76 67 62 51 256
100 100 100 100 400
Solution
Step 1: State the hypotheses and identify the claim.
H0: p1 = p2 = p3 = p4
H1: At least one proportion differs from the others.
Step 2: Find the critical value. (R - 1)(C - 1) = (2 - 1)(4 - 1) = 3. The critical
value is 7.815.
Step 3: Compute the test value.
EXPECTED FREQUENCIES
Yes 36 36 36 36 144
No 64 64 64 64 256
100 100 100 100 400
2
Calculation of X
4
Step 4: Make the decision reject the null hypothesis since 14.149 > 7.815.
5
= 28/5 = 5.6
2
ed2 value of X =
5.6 is less than t
he critical value
of
X =11.07, we can
accept the null hy
pothesis.
6