You are on page 1of 15

CONTINGENCY ANALYSIS :

CHI SQUARE TEST OF


INDEPENDENCE
Source:
Black, Ken. 2010. Business Statistics for contemporary decision
making 6th edition. USA : John Wiley and Son, Inc
Definition
• chi-square test of independence, can be used to analyze the frequencies of
two variables with multiple categories to determine whether the two
variables are independent.
• Example :
• a market researcher might want to determine whether the type of soft
drink preferred by a consumer is independent of the consumer’s age.
• An organizational behaviorist might want to know whether absenteeism
is independent of job classification.
• Financial investors might want to determine whether type of preferred
stock investment is independent of the salaries grade
• The chi-square test of independence can be used to analyze any level of data measurement, but
it is particularly useful in analyzing nominal data.
• Suppose a business researcher is interested in determining whether geographic region is
independent of type of financial investment. On a questionnaire, the following two questions
might be used to measure geographic region and type of financial investment.
In which region of the country do you reside?
A. Northeast B. Midwest C. South D. West

Which type of financial investment are you most likely to make today?
E. Stocks F. Bonds G. Treasury Bills

The business researcher would tally the frequencies of responses to these two questions into a
two-way table called a contingency table. Because the chi-square test of independence uses a
contingency table, this test is sometimes referred to as contingency analysis.
• Hypothesis : Temporary conclusion
• Example :
Hypothesis 1 : Customer’s preference is depends on the customer’s age
Hypothesis 2 : Customer’s preference is depends on the customer’s occupation
Contingency Table
• Depicted in Table 16.4 is a contingency table
for these two variables.
• Variable 1, geographic region, uses four
categories: A, B, C, and D.
• Variable 2, type of financial investment, uses
three categories: E, F, and G.
• The observed frequency for each cell is
denoted as oij, where i is the row and j is the
column. Thus, o13 is the observed frequency
for the cell in the first row and third column.
The expected frequencies are denoted in a
similar manner.
General formula for chi square independent test

• The null hypothesis for a chi-square test of independence is that the two variables are
independent. The alternative hypothesis is that the variables are not independent. This
test is one-tailed. The degrees of freedom are (r – 1)(c – 1)
Example
Suppose a business researcher wants to determine whether type of gasoline preferred is
independent of a person’s income. She takes a random survey of gasoline purchasers, asking them
one question about gasoline preference and a second question about income.
The respondent is to check whether he or she prefers (1) regular gasoline, (2) premium gasoline,
or (3) extra premium gasoline.
The respondent also is to check his or her income brackets as being (1) less than $30,000, (2)
$30,000 to $49,999, (3) $50,000 to $99,999, or (4) more than $100,000.
The business researcher tallies the responses and obtains the results in Table 16.5. Using α = 0.01,
she can use the chi-square test of independence to determine whether type of gasoline preferred
is independent of income level.
TEST: STEP 2. The appropriate statistical test is

• STEP 3. Alpha is .01. STEP 4. Here, there are four rows (r = 4) and three
columns (c = 3). The degrees of freedom are (4 - 1)(3 - 1) = 6. The
critical value of chi-square for a = 0.05 is chi square = 0.05,6 =
16.8119. (See table A.8 page 792). The decision rule is to reject the
null hypothesis if the observed chi-square is greater than 16.8119.
• STEP 5. The observed data appear in this Table

• 85 + 16 + 6 = 107
• 102 + 27 + 13 = 142
• Dst………………………..
STEP 6. To determine the observed value of chi-square, the researcher must compute the expected frequencies.
The expected values for this example are calculated as follows, with the first term in the subscript (and
numerator) representing the row and the second term in the subscript (and numerator) representing the
column.
• The researcher then lists the expected frequencies in the cells
of the contingency tables along with observed frequencies. In
this text, expected frequencies are enclosed in parentheses.
Table below provides the contingency table for this example.

• Next, the researcher computes the chi-square value by summing for all cells.
df = 6
Alpha = 0.05
• STEP 7. The observed value of chi-square, 70.78, is greater than the critical value of
chisquare, 12.5916, obtained from Table A.8. The business researcher’s decision is to
reject the null hypothesis; that is, type of gasoline preferred is depends of income.
• BUSINESS IMPLICATION:
• STEP 8. Having established that conclusion, the business researcher can then
examine the outcome to determine which people, by income brackets, tend to
purchase which type of gasoline and use this information in market decisions.
Problem (1)
Problem (2)

You might also like