Chi-Square Test of Independence
Chi-Square Test of Independence
Chi-Square Test of Independence
Learning by Doing
Chi-square ( ) Test of Independence: Two-way
Contingency Analysis
When observations are classified on the basis of two
variables and arranged in a table, the resulting table is
referred to as a contingency table. Chi-square test of
independence uses this contingency table for
determining independence of two variables; this is why
this test is sometimes referred to as contingency
analysis.
When we add the row or column totals, the grand total
(N) is obtained. This grand total is the sum of all the
frequencies and represents the sample size.
Chi-square ( ) Test of Independence: Two-way
Contingency Analysis
The chi-square independence test is used to
determine whether there is association between a row
variable and column variable in a contingency table
constructed from sample data.
( ) The null hypothesis is that the variables are
not associated, or independent.
( ) The alternative hypothesis is that the variables
are associated, or dependent.
Chi-square ( ) Test of Independence: Two-way
Contingency Analysis
In a chi-square independence test, the null hypothesis is
always
Where RT is the row total, CT the column total, and N the total number of frequencies
Chi-square ( ) Test of Independence: Two-way
Contingency Analysis
Step-1
Step-3
Chi-square ( ) Test of Independence
Expected Frequencies
Age Brand 1 Brand 2 Brand 3
15-25 67.85206 69.96302 74.18492176
25-35 52.48933 54.12233 57.3883357
35-45 47.04836 48.51209 51.43954481
45-55 57.61024 59.40256 62.98719772
= .23
., =12.59.
Chi-square ( ) Test of Independence: Two-way
Contingency Analysis
Step 7: Arrive at a Statistical conclusion and business
implication
At 95% confidence level, the critical value obtained from the
2 2
chi-square table is 0.05, 6 =12.59. is 7.23, which is less
than the tabular value and falls in the acceptance region.
Hence, the null hypothesis is accepted and the alternative
hypothesis is rejected.
On the basis of analysis, we can say that there is enough
evidence to indicate that brand preference is independent of age
group. So, the management can go in for a uniform sales and
marketing policy.
Chi-square ( ) Test of Independence: Two-way
Contingency Analysis
Problem 1: Tire Quality: Case Study
The operations manager of a company that manufactures tires wants
to determine whether there are any differences in the quality of
workmanship among the three daily shifts. He randomly selects
496 tires and carefully inspects them. Each tire is either classified as
perfect, satisfactory, or defective, and the shift that produced it is
also recorded. The two categorical variables of interest are: shift and
condition of the tire produced. The data can be summarized by the
accompanying two-way table. Do these data provide sufficient
evidence at the 5% significance level to infer that there are
differences in quality among the three shifts?
Chi-square ( ) Test of Independence: Two-way
Contingency Analysis
Practice 1: Tire Quality: Case Study
Type of Gasoline
Regular Premium Extra Premium
Less than 30,000 85 16 6
Income 30,000 to 49999 102 27 13
50,000 to 99999 36 22 15
More than 10000 15 23 25
Home Practices