Professional Documents
Culture Documents
Session 18 - Chi Square Sheet
Session 18 - Chi Square Sheet
Supplier
Component A B C
Defective 15 20 40
➢ Formulate the hypotheses that can be used to test for equal proportions of defective components
provided by the three suppliers.
➢ Using a .05 level of significance, conduct the hypothesis test. Write your conclusion.
Carnegie Classification
Public 38 76 81
Private 58 31 34
➢ Test the hypothesis that the population proportions of public universities are equal in each
Carnegie classification category. Use a .05 level of significance. What is the p-value and what
is your conclusion?
Use of social media. Social media is becoming more and more popular around the
world. Statista provides estimates of the number of social media users in various countries in 2017 as
well as the projections for 2022. Assume that the results for surveys in the United Kingdom, China,
Russia, and the United States are as follows.
Country
Test of Independence
Type of Flight
First Class 29 22
➢ Using a .05 level of significance, is the type of ticket purchased independent of the
type of flight? What is your conclusion?
➢ Discuss any dependence that exists between the type of ticket and type of flight.
Company Reputation and Management Quality Survey. The Wall Street Journal Annual Corporate
Perceptions Study surveyed readers and asked how they rated the quality of management and the
reputation of the company for more than 250 worldwide corporations. Both the quality of management
and the reputation of the company were rated on a categorical scale of excellent, good, and fair
categorical. Assume the sample data for 200 respondents below applies to this study.
Reputation of Company
Excellent 40 25 5
Good 35 35 10
Fair 25 10 15
➢ Use a .05 level of significance and test for independence of the quality of management and the
reputation of the company. What is the p-value and what is your conclusion?
➢ If there is a dependence or association between the two ratings, discuss and use probabilities to
justify your answer.
Movie Critic Opinions. On a television program, two movie critics provide their reviews of recent
movies and discuss. It is suspected that these hosts deliberately disagree in order to make the program
more interesting for viewers. Each movie review is categorized as Pro (“thumbs up”), Con (“thumbs
down”), or Mixed. The results of 160 movie ratings by the two hosts are shown here.
Host B
Con 24 8 13
Mixed 8 13 11
Pro 10 9 64
➢ Use a test of independence with a .01 level of significance to analyze the data. What is your
conclusion?
Solutions
Electronic Component Supplier Quality Comparison
p1 = p2 = p3
a. H0:
Component A B C Total
Defective 15 20 40 75
Component A B C Total
Defective 25 25 25 75
Component A B C Total
c 2 = 14.74
Degrees of freedom = k – 1 = (3 – 1) = 2
Using the 2 table with df = 2, 2 = 14.74 shows the p-value is less than .005.
Because the p-value < .05; reject H0. Conclude that the three suppliers do not provide equal
Carnegie Classification
Public 38 76 81 195
Not-for-profit 58 31 34 123
private
Carnegie Classification
Carnegie Classification
private
Total 19.13 4.25 4.03 27.40
2 = 27.40
Using the 2 table with df = 2, 2 = 27.40 shows the p-value is less than .005.
p-value < .05; reject H0. The proportion of public universities is not equal in each Carnegie
category. The largest differences between actual and expected frequencies are in the moderate research
activity classification, for which the number of public schools is much less than expected and the
p1 = p2 = p3 = p4
a. H 0:
𝜒 2 = 79.34
Degrees of freedom = df = k – 1 = (4 – 1) = 3.
Using the 2 table with df = 3, 2 = 79.34 shows the p-value is less than .005.
p-value .05; reject H0. Conclude the population proportions are not all equal.
Test of Independence
Expected Frequencies
Using the 2 table with df = 2, 2 = 100.43 shows the p-value is less than .005.
p-value .05; reject H0. Conclude that the type of ticket purchased is not independent of the type of flight. We
can expect the type of ticket purchased to depend upon whether the flight is domestic or international.
b. Column Percentages
Type of Flight
➢ A higher percentage of first class and business class tickets are purchased for international
flights compared to domestic flights. Economy class tickets are purchased more for
domestic flights. The first class or business class tickets are purchased for more than 50% of
Excellent 40 25 5 70
Good 35 35 10 80
Fair 25 10 15 50
c 2 = 17.03
Using the 2 table with df = 4, 2 = 17.03 shows the p-value is less than .005.
p-value < .05; reject H0. Conclude that the rating for the quality of management is not independent of
b. Using the highest column probabilities, if the reputation of the company is:
Excellent—There is a 40/100 = .40 chance the quality of management will also be excellent.
Good—There is a 35/70 = .50 chance the quality of management will also be good.
Fair—There is a 15/30 = .50 chance the quality of management will also be fair.
The highest probabilities are that the two variables will have the same ratings. Thus, the two ratings are associated.
Movie Critic Opinions.
Expected frequencies:
2 = 45.36
Using the 2 table with df = 2, = 45.36 shows the p-value is less than .005.
2
p-value .01; reject H0. Conclude that the ratings of the two hosts are not independent. The host responses are
more similar than different and they tend to agree or be close in their ratings