SlideShare a Scribd company logo
1 of 30
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin
Chi-Square Applications
Chapter 15
2
GOALS
1. List the characteristics of the chi-square
distribution.
2. Conduct a test of hypothesis comparing an
observed set of frequencies to an expected
distribution.
3. Conduct a test of hypothesis to determine
whether two classification criteria are
related.
3
Characteristics of the Chi-Square
Distribution
The major
characteristics of
the chi-square
distribution are:
1. It is positively skewed.
2. It is non-negative.
3. It is based on degrees of
freedom.
4. When the degrees of
freedom change a new
distribution is created.
4
Goodness-of-Fit Test: Equal Expected
Frequencies
Let f0 and fe be the observed and
expected frequencies respectively.
H0: There is no difference between the
observed and expected frequencies.
H1: There is a difference between the
observed and the expected
frequencies.
5
Goodness-of-fit Test: Equal
Expected Frequencies
The test statistic is:
( )
∑ 






 −
=
e
eo
f
ff 2
2
χ
The critical value is a chi-square value with
(k-1) degrees of freedom, where k is the
number of categories
6
Goodness-of-Fit Example
Ms. Jan Kilpatrick is the marketing
manager for a manufacturer of
sports cards. She plans to begin
selling a series of cards with
pictures and playing statistics of
former Major League Baseball
players. One of the problems is the
selection of the former players. At a
baseball card show at Southwyck
Mall last weekend, she set up a
booth and offered cards of the
following six Hall of Fame baseball
players: Tom Seaver, Nolan Ryan,
Ty Cobb, George Brett, Hank
Aaron, and Johnny Bench. At the
end of the day she sold a total of
120 cards. The number of cards
sold for each old-time player is
shown in the table on the right. Can
she conclude the sales are not the
same for each player? Use 0.05
significance level.
7
Step 1: State the null hypothesis and the alternate hypothesis.
H0: there is no difference between fo and fe
H1: there is a difference between fo and fe
Step 2: Select the level of significance.
α = 0.05 as stated in the problem
Step 3: Select the test statistic.
The test statistic follows the chi-square distribution,
designated as χ2
8
Step 4: Formulate the decision rule.
( )
( )
( )
( ) 070.11
ifHReject
2
5,05.
2
2
16,05.
2
2
1,
2
2
1,
22
0
>




 −
>




 −
>




 −
>




 −
>
∑
∑
∑
∑
−
−
−
e
eo
e
eo
e
eo
k
e
eo
k
f
ff
f
ff
f
ff
f
ff
χ
χ
χ
χχ
α
α
9
10
Step 5: Compute the value of the Chi-square
statistic and make a decision ( )
∑ 






 −
=
e
eo
f
ff 2
2
χ
11
34.40
The computed χ2
of 34.40 is in the rejection region, beyond the critical value of 11.070. The
decision, therefore, is to reject H0 at the .05 level .
Conclusion: The difference between the observed and the expected frequencies is not due to
chance. Rather, the differences between f0 and fe and are large enough to be considered
significant. It is unlikely that card sales are the same among the six players.
12
Chi-square - MegaStat
13
Goodness-of-Fit Test: Unequal
Expected Frequencies
Let f0 and fe be the observed and
expected frequencies respectively.
H0: There is no difference between the
observed and expected frequencies.
H1: There is a difference between the
observed and the expected
frequencies.
14
The American Hospital Administrators Association (AHAA) reports
the following information concerning the number of times senior
citizens are admitted to a hospital during a one-year period.
Forty percent are not admitted; 30 percent are admitted once;
20 percent are admitted twice, and the remaining 10 percent
are admitted three or more times.
A survey of 150 residents of Bartow Estates, a community devoted
to active seniors located in central Florida, revealed 55
residents were not admitted during the last year, 50 were
admitted to a hospital once, 32 were admitted twice, and the
rest of those in the survey were admitted three or more times.
Can we conclude the survey at Bartow Estates is consistent with
the information suggested by the AHAA? Use the .05
significance level.
Goodness-of-Fit Test: Unequal Expected
Frequencies - Example
15
Step 1: State the null hypothesis and the alternate hypothesis.
H0: There is no difference between local and national
experience for hospital admissions.
H1: There is a difference between local and national
experience for hospital admissions.
Step 2: Select the level of significance.
α = 0.05 as stated in the problem
Step 3: Select the test statistic.
The test statistic follows the chi-square distribution,
designated as χ2
Goodness-of-Fit Test: Unequal Expected
Frequencies - Example
16
Step 4: Formulate the decision rule.
( )
( )
( )
( ) 815.7
ifHReject
2
3,05.
2
2
14,05.
2
2
1,
2
2
1,
22
0
>




 −
>




 −
>




 −
>




 −
>
∑
∑
∑
∑
−
−
−
e
eo
e
eo
e
eo
k
e
eo
k
f
ff
f
ff
f
ff
f
ff
χ
χ
χ
χχ
α
α
17
Expected frequencies of
sample if the distribution
stated in the Null Hypothesis
is correct
Frequencies observed in
a sample of 150 Bartow
residents
Distribution stated in
the problem
Computation of fe
0.40 X 150 = 60
0.30 X 150 = 45
0.30 X 150 = 30
0.10 X 150= 15
18
Step 5: Compute the value of the Chi-square
statistic and make a decision ( )
∑ 






 −
=
e
eo
f
ff 2
2
χ
Computed χ2
19
1.3723
The computed χ2
of 1.3723 is in the “Do not reject H0” region. The
difference between the observed and the expected frequencies is due to
chance.
We conclude that there is no evidence of a difference between the local
and national experience for hospital admissions.
20
Contingency Table Analysis
A contingency table is used to investigate whether two
traits or characteristics are related. Each observation is
classified according to two criteria. We use the usual
hypothesis testing procedure.
 The degrees of freedom is equal to:
(number of rows-1)(number of columns-1).
 The expected frequency is computed as:
21
Contingency Analysis
We can use the chi-square statistic to formally test for a relationship
between two nominal-scaled variables. To put it another way, Is one
variable independent of the other?
 Ford Motor Company operates an assembly plant in Dearborn, Michigan. The
plant operates three shifts per day, 5 days a week. The quality control
manager wishes to compare the quality level on the three shifts. Vehicles are
classified by quality level (acceptable, unacceptable) and shift (day, afternoon,
night). Is there a difference in the quality level on the three shifts? That is, is
the quality of the product related to the shift when it was manufactured? Or is
the quality of the product independent of the shift on which it was
manufactured?
 A sample of 100 drivers who were stopped for speeding violations was
classified by gender and whether or not they were wearing a seat belt. For this
sample, is wearing a seatbelt related to gender?
 Does a male released from federal prison make a different adjustment to
civilian life if he returns to his hometown or if he goes elsewhere to live? The
two variables are adjustment to civilian life and place of residence. Note that
both variables are measured on the nominal scale.
22
The Federal Correction Agency is investigating
the last question cited above: Does a male
released from federal prison make a different
adjustment to civilian life if he returns to his
hometown or if he goes elsewhere to live? To
put it another way, is there a relationship
between adjustment to civilian life and place
of residence after release from prison? Use
the .01 significance level.
Contingency Analysis - Example
23
Contingency Analysis - Example
The agency’s psychologists
interviewed 200 randomly
selected former prisoners.
Using a series of questions,
the psychologists classified
the adjustment of each
individual to civilian life as
outstanding, good, fair, or
unsatisfactory. The
classifications for the 200
former prisoners were
tallied as follows. Joseph
Camden, for example,
returned to his hometown
and has shown outstanding
adjustment to civilian life.
His case is one of the 27
tallies in the upper left box
(circled).
24
Step 1: State the null hypothesis and the alternate hypothesis.
H0: There is no relationship between adjustment to civilian life
and where the individual lives after being released from prison.
H1: There is a relationship between adjustment to civilian life
and where the individual lives after being released from prison.
Step 2: Select the level of significance.
α = 0.01 as stated in the problem
Step 3: Select the test statistic.
The test statistic follows the chi-square distribution, designated as χ2
Contingency Analysis - Example
25
Step 4: Formulate the decision rule.
( )
( )
( )
( ) 345.11
ifHReject
2
3,01.
2
2
)3)(1(,01.
2
2
)14)(12(,
2
2
)1)(1(,
22
0
>




 −
>




 −
>




 −
>




 −
>
∑
∑
∑
∑ −−
−−
e
eo
e
eo
e
eo
e
eo
cr
f
ff
f
ff
f
ff
f
ff
χ
χ
χ
χχ
α
α
Contingency Analysis - Example
26
Computing Expected Frequencies (fe)
(120)(50)
200
27
Computing the Chi-square Statistic
28
Conclusion
5.729
The computed χ2
of 5.729 is in the “Do not reject H0” region. The null hypothesis is not
rejected at the .01 significance level.
Conclusion: There is no evidence of a relationship between adjustment to civilian life and
where the prisoner resides after being released from prison. For the Federal Correction
Agency’s advisement program, adjustment to civilian life is not related to where the ex-
prisoner lives.
29
Contingency Analysis - Minitab
30
End of Chapter 15

More Related Content

What's hot

Business Statistics Chapter 9
Business Statistics Chapter 9Business Statistics Chapter 9
Business Statistics Chapter 9Lux PP
 
What is a single sample t test?
What is a single sample t test?What is a single sample t test?
What is a single sample t test?Ken Plummer
 
Advance Statistics - Wilcoxon Signed Rank Test
Advance Statistics - Wilcoxon Signed Rank TestAdvance Statistics - Wilcoxon Signed Rank Test
Advance Statistics - Wilcoxon Signed Rank TestJoshua Batalla
 
Test of hypothesis test of significance
Test of hypothesis test of significanceTest of hypothesis test of significance
Test of hypothesis test of significanceDr. Jayesh Vyas
 
Chapter 12
Chapter 12Chapter 12
Chapter 12bmcfad01
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samplesshoffma5
 
LECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptLECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptKEHKASHANNIZAM
 
Chapter 04
Chapter 04Chapter 04
Chapter 04bmcfad01
 
Repeated-Measures and Two-Factor Analysis of Variance
Repeated-Measures and Two-Factor Analysis of VarianceRepeated-Measures and Two-Factor Analysis of Variance
Repeated-Measures and Two-Factor Analysis of Variancejasondroesch
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis TestingSr Edith Bogue
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...nszakir
 
Chapter 09
Chapter 09Chapter 09
Chapter 09bmcfad01
 
Reporting a single sample t-test
Reporting a single sample t-testReporting a single sample t-test
Reporting a single sample t-testKen Plummer
 

What's hot (20)

Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Business Statistics Chapter 9
Business Statistics Chapter 9Business Statistics Chapter 9
Business Statistics Chapter 9
 
Chi square
Chi squareChi square
Chi square
 
Chi square
Chi squareChi square
Chi square
 
What is a single sample t test?
What is a single sample t test?What is a single sample t test?
What is a single sample t test?
 
Advance Statistics - Wilcoxon Signed Rank Test
Advance Statistics - Wilcoxon Signed Rank TestAdvance Statistics - Wilcoxon Signed Rank Test
Advance Statistics - Wilcoxon Signed Rank Test
 
Test of hypothesis test of significance
Test of hypothesis test of significanceTest of hypothesis test of significance
Test of hypothesis test of significance
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
 
Inferential statistics-estimation
Inferential statistics-estimationInferential statistics-estimation
Inferential statistics-estimation
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samples
 
LECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptLECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.ppt
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
Assessing Normality
Assessing NormalityAssessing Normality
Assessing Normality
 
Repeated-Measures and Two-Factor Analysis of Variance
Repeated-Measures and Two-Factor Analysis of VarianceRepeated-Measures and Two-Factor Analysis of Variance
Repeated-Measures and Two-Factor Analysis of Variance
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
Chapter 09
Chapter 09Chapter 09
Chapter 09
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
 
One-Way ANOVA
One-Way ANOVAOne-Way ANOVA
One-Way ANOVA
 
Reporting a single sample t-test
Reporting a single sample t-testReporting a single sample t-test
Reporting a single sample t-test
 

Viewers also liked

Multiple regression in spss
Multiple regression in spssMultiple regression in spss
Multiple regression in spssDr. Ravneet Kaur
 
Linear Regression Using SPSS
Linear Regression Using SPSSLinear Regression Using SPSS
Linear Regression Using SPSSDr Athar Khan
 
Chapter 4 - multiple regression
Chapter 4  - multiple regressionChapter 4  - multiple regression
Chapter 4 - multiple regressionTauseef khan
 
Eco Basic 1 8
Eco Basic 1 8Eco Basic 1 8
Eco Basic 1 8kit11229
 
Income & expenditure ppt
Income & expenditure pptIncome & expenditure ppt
Income & expenditure pptMsOBrien
 
Multiple Regression Analysis
Multiple Regression AnalysisMultiple Regression Analysis
Multiple Regression AnalysisMinha Hwang
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentationCarlo Magno
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regressionJames Neill
 
Статистикийн үндсэн аргууд түүний хэрэглээ
Статистикийн үндсэн аргууд түүний хэрэглээСтатистикийн үндсэн аргууд түүний хэрэглээ
Статистикийн үндсэн аргууд түүний хэрэглээTuul Tuul
 

Viewers also liked (12)

Multiple regression in spss
Multiple regression in spssMultiple regression in spss
Multiple regression in spss
 
Linear Regression Using SPSS
Linear Regression Using SPSSLinear Regression Using SPSS
Linear Regression Using SPSS
 
Chapter 14
Chapter 14 Chapter 14
Chapter 14
 
Linear regression
Linear regression Linear regression
Linear regression
 
Chapter 4 - multiple regression
Chapter 4  - multiple regressionChapter 4  - multiple regression
Chapter 4 - multiple regression
 
Eco Basic 1 8
Eco Basic 1 8Eco Basic 1 8
Eco Basic 1 8
 
Income & expenditure ppt
Income & expenditure pptIncome & expenditure ppt
Income & expenditure ppt
 
Multiple Regression Analysis
Multiple Regression AnalysisMultiple Regression Analysis
Multiple Regression Analysis
 
Multiple regression
Multiple regressionMultiple regression
Multiple regression
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentation
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
Статистикийн үндсэн аргууд түүний хэрэглээ
Статистикийн үндсэн аргууд түүний хэрэглээСтатистикийн үндсэн аргууд түүний хэрэглээ
Статистикийн үндсэн аргууд түүний хэрэглээ
 

Similar to Chapter 15

Ch 11.2 Chi Squared Test for Independence.pptx
Ch 11.2 Chi Squared Test for Independence.pptxCh 11.2 Chi Squared Test for Independence.pptx
Ch 11.2 Chi Squared Test for Independence.pptxBAGARAGAZAROMUALD2
 
Statr session 17 and 18
Statr session 17 and 18Statr session 17 and 18
Statr session 17 and 18Ruru Chowdhury
 
Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Ruru Chowdhury
 
Categorical Data and Statistical Analysis
Categorical Data and Statistical AnalysisCategorical Data and Statistical Analysis
Categorical Data and Statistical AnalysisMichael770443
 
1667390753_Lind Chapter 10-14.pdf
1667390753_Lind Chapter 10-14.pdf1667390753_Lind Chapter 10-14.pdf
1667390753_Lind Chapter 10-14.pdfAriniputriLestari
 
Statistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxStatistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxdessiechisomjj4
 
Chi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxChi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxlushomo3
 
Chi-square test.pptx
Chi-square test.pptxChi-square test.pptx
Chi-square test.pptxagtech7
 
Chapter 10 One sample test of hypothesis.ppt
Chapter 10 One sample test of hypothesis.pptChapter 10 One sample test of hypothesis.ppt
Chapter 10 One sample test of hypothesis.pptrhanik1596
 
QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments  QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments student ehelp
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleAhmadullah
 

Similar to Chapter 15 (20)

Ch 11.2 Chi Squared Test for Independence.pptx
Ch 11.2 Chi Squared Test for Independence.pptxCh 11.2 Chi Squared Test for Independence.pptx
Ch 11.2 Chi Squared Test for Independence.pptx
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Statr session 17 and 18
Statr session 17 and 18Statr session 17 and 18
Statr session 17 and 18
 
Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)
 
Categorical Data and Statistical Analysis
Categorical Data and Statistical AnalysisCategorical Data and Statistical Analysis
Categorical Data and Statistical Analysis
 
1667390753_Lind Chapter 10-14.pdf
1667390753_Lind Chapter 10-14.pdf1667390753_Lind Chapter 10-14.pdf
1667390753_Lind Chapter 10-14.pdf
 
Statistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxStatistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docx
 
Chi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxChi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptx
 
Chi-square test.pptx
Chi-square test.pptxChi-square test.pptx
Chi-square test.pptx
 
Chapter 10 One sample test of hypothesis.ppt
Chapter 10 One sample test of hypothesis.pptChapter 10 One sample test of hypothesis.ppt
Chapter 10 One sample test of hypothesis.ppt
 
Unit 3
Unit 3Unit 3
Unit 3
 
Chi square
Chi squareChi square
Chi square
 
Day 3 SPSS
Day 3 SPSSDay 3 SPSS
Day 3 SPSS
 
QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments  QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments
 
Basics of Hypothesis Testing
Basics of Hypothesis Testing  Basics of Hypothesis Testing
Basics of Hypothesis Testing
 
Chisquared test.pptx
Chisquared test.pptxChisquared test.pptx
Chisquared test.pptx
 
Chi square
Chi square Chi square
Chi square
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Chap010.ppt
Chap010.pptChap010.ppt
Chap010.ppt
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two Sample
 

More from Tuul Tuul

2019 12etses
2019 12etses2019 12etses
2019 12etsesTuul Tuul
 
2018 12etses
2018 12etses2018 12etses
2018 12etsesTuul Tuul
 
2017 12etses
2017 12etses2017 12etses
2017 12etsesTuul Tuul
 
2016 12etses
2016 12etses2016 12etses
2016 12etsesTuul Tuul
 
Bbs11 ppt ch19
Bbs11 ppt ch19Bbs11 ppt ch19
Bbs11 ppt ch19Tuul Tuul
 
Bbs11 ppt ch17
Bbs11 ppt ch17Bbs11 ppt ch17
Bbs11 ppt ch17Tuul Tuul
 
Bbs11 ppt ch16
Bbs11 ppt ch16Bbs11 ppt ch16
Bbs11 ppt ch16Tuul Tuul
 
Bbs11 ppt ch14
Bbs11 ppt ch14Bbs11 ppt ch14
Bbs11 ppt ch14Tuul Tuul
 
Bbs11 ppt ch13
Bbs11 ppt ch13Bbs11 ppt ch13
Bbs11 ppt ch13Tuul Tuul
 
Bbs11 ppt ch12
Bbs11 ppt ch12Bbs11 ppt ch12
Bbs11 ppt ch12Tuul Tuul
 
Bbs11 ppt ch11
Bbs11 ppt ch11Bbs11 ppt ch11
Bbs11 ppt ch11Tuul Tuul
 
Bbs11 ppt ch10
Bbs11 ppt ch10Bbs11 ppt ch10
Bbs11 ppt ch10Tuul Tuul
 
Bbs11 ppt ch08
Bbs11 ppt ch08Bbs11 ppt ch08
Bbs11 ppt ch08Tuul Tuul
 
Bbs11 ppt ch07
Bbs11 ppt ch07Bbs11 ppt ch07
Bbs11 ppt ch07Tuul Tuul
 
Bbs11 ppt ch06
Bbs11 ppt ch06Bbs11 ppt ch06
Bbs11 ppt ch06Tuul Tuul
 
Bbs11 ppt ch05
Bbs11 ppt ch05Bbs11 ppt ch05
Bbs11 ppt ch05Tuul Tuul
 
Bbs11 ppt ch04
Bbs11 ppt ch04Bbs11 ppt ch04
Bbs11 ppt ch04Tuul Tuul
 
Bbs11 ppt ch03
Bbs11 ppt ch03Bbs11 ppt ch03
Bbs11 ppt ch03Tuul Tuul
 
Bbs11 ppt ch02
Bbs11 ppt ch02Bbs11 ppt ch02
Bbs11 ppt ch02Tuul Tuul
 

More from Tuul Tuul (20)

2019 12etses
2019 12etses2019 12etses
2019 12etses
 
2018 12etses
2018 12etses2018 12etses
2018 12etses
 
2017 12etses
2017 12etses2017 12etses
2017 12etses
 
2016 12etses
2016 12etses2016 12etses
2016 12etses
 
Jishee
JisheeJishee
Jishee
 
Bbs11 ppt ch19
Bbs11 ppt ch19Bbs11 ppt ch19
Bbs11 ppt ch19
 
Bbs11 ppt ch17
Bbs11 ppt ch17Bbs11 ppt ch17
Bbs11 ppt ch17
 
Bbs11 ppt ch16
Bbs11 ppt ch16Bbs11 ppt ch16
Bbs11 ppt ch16
 
Bbs11 ppt ch14
Bbs11 ppt ch14Bbs11 ppt ch14
Bbs11 ppt ch14
 
Bbs11 ppt ch13
Bbs11 ppt ch13Bbs11 ppt ch13
Bbs11 ppt ch13
 
Bbs11 ppt ch12
Bbs11 ppt ch12Bbs11 ppt ch12
Bbs11 ppt ch12
 
Bbs11 ppt ch11
Bbs11 ppt ch11Bbs11 ppt ch11
Bbs11 ppt ch11
 
Bbs11 ppt ch10
Bbs11 ppt ch10Bbs11 ppt ch10
Bbs11 ppt ch10
 
Bbs11 ppt ch08
Bbs11 ppt ch08Bbs11 ppt ch08
Bbs11 ppt ch08
 
Bbs11 ppt ch07
Bbs11 ppt ch07Bbs11 ppt ch07
Bbs11 ppt ch07
 
Bbs11 ppt ch06
Bbs11 ppt ch06Bbs11 ppt ch06
Bbs11 ppt ch06
 
Bbs11 ppt ch05
Bbs11 ppt ch05Bbs11 ppt ch05
Bbs11 ppt ch05
 
Bbs11 ppt ch04
Bbs11 ppt ch04Bbs11 ppt ch04
Bbs11 ppt ch04
 
Bbs11 ppt ch03
Bbs11 ppt ch03Bbs11 ppt ch03
Bbs11 ppt ch03
 
Bbs11 ppt ch02
Bbs11 ppt ch02Bbs11 ppt ch02
Bbs11 ppt ch02
 

Recently uploaded

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 

Recently uploaded (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

Chapter 15

  • 1. ©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Chi-Square Applications Chapter 15
  • 2. 2 GOALS 1. List the characteristics of the chi-square distribution. 2. Conduct a test of hypothesis comparing an observed set of frequencies to an expected distribution. 3. Conduct a test of hypothesis to determine whether two classification criteria are related.
  • 3. 3 Characteristics of the Chi-Square Distribution The major characteristics of the chi-square distribution are: 1. It is positively skewed. 2. It is non-negative. 3. It is based on degrees of freedom. 4. When the degrees of freedom change a new distribution is created.
  • 4. 4 Goodness-of-Fit Test: Equal Expected Frequencies Let f0 and fe be the observed and expected frequencies respectively. H0: There is no difference between the observed and expected frequencies. H1: There is a difference between the observed and the expected frequencies.
  • 5. 5 Goodness-of-fit Test: Equal Expected Frequencies The test statistic is: ( ) ∑         − = e eo f ff 2 2 χ The critical value is a chi-square value with (k-1) degrees of freedom, where k is the number of categories
  • 6. 6 Goodness-of-Fit Example Ms. Jan Kilpatrick is the marketing manager for a manufacturer of sports cards. She plans to begin selling a series of cards with pictures and playing statistics of former Major League Baseball players. One of the problems is the selection of the former players. At a baseball card show at Southwyck Mall last weekend, she set up a booth and offered cards of the following six Hall of Fame baseball players: Tom Seaver, Nolan Ryan, Ty Cobb, George Brett, Hank Aaron, and Johnny Bench. At the end of the day she sold a total of 120 cards. The number of cards sold for each old-time player is shown in the table on the right. Can she conclude the sales are not the same for each player? Use 0.05 significance level.
  • 7. 7 Step 1: State the null hypothesis and the alternate hypothesis. H0: there is no difference between fo and fe H1: there is a difference between fo and fe Step 2: Select the level of significance. α = 0.05 as stated in the problem Step 3: Select the test statistic. The test statistic follows the chi-square distribution, designated as χ2
  • 8. 8 Step 4: Formulate the decision rule. ( ) ( ) ( ) ( ) 070.11 ifHReject 2 5,05. 2 2 16,05. 2 2 1, 2 2 1, 22 0 >      − >      − >      − >      − > ∑ ∑ ∑ ∑ − − − e eo e eo e eo k e eo k f ff f ff f ff f ff χ χ χ χχ α α
  • 9. 9
  • 10. 10 Step 5: Compute the value of the Chi-square statistic and make a decision ( ) ∑         − = e eo f ff 2 2 χ
  • 11. 11 34.40 The computed χ2 of 34.40 is in the rejection region, beyond the critical value of 11.070. The decision, therefore, is to reject H0 at the .05 level . Conclusion: The difference between the observed and the expected frequencies is not due to chance. Rather, the differences between f0 and fe and are large enough to be considered significant. It is unlikely that card sales are the same among the six players.
  • 13. 13 Goodness-of-Fit Test: Unequal Expected Frequencies Let f0 and fe be the observed and expected frequencies respectively. H0: There is no difference between the observed and expected frequencies. H1: There is a difference between the observed and the expected frequencies.
  • 14. 14 The American Hospital Administrators Association (AHAA) reports the following information concerning the number of times senior citizens are admitted to a hospital during a one-year period. Forty percent are not admitted; 30 percent are admitted once; 20 percent are admitted twice, and the remaining 10 percent are admitted three or more times. A survey of 150 residents of Bartow Estates, a community devoted to active seniors located in central Florida, revealed 55 residents were not admitted during the last year, 50 were admitted to a hospital once, 32 were admitted twice, and the rest of those in the survey were admitted three or more times. Can we conclude the survey at Bartow Estates is consistent with the information suggested by the AHAA? Use the .05 significance level. Goodness-of-Fit Test: Unequal Expected Frequencies - Example
  • 15. 15 Step 1: State the null hypothesis and the alternate hypothesis. H0: There is no difference between local and national experience for hospital admissions. H1: There is a difference between local and national experience for hospital admissions. Step 2: Select the level of significance. α = 0.05 as stated in the problem Step 3: Select the test statistic. The test statistic follows the chi-square distribution, designated as χ2 Goodness-of-Fit Test: Unequal Expected Frequencies - Example
  • 16. 16 Step 4: Formulate the decision rule. ( ) ( ) ( ) ( ) 815.7 ifHReject 2 3,05. 2 2 14,05. 2 2 1, 2 2 1, 22 0 >      − >      − >      − >      − > ∑ ∑ ∑ ∑ − − − e eo e eo e eo k e eo k f ff f ff f ff f ff χ χ χ χχ α α
  • 17. 17 Expected frequencies of sample if the distribution stated in the Null Hypothesis is correct Frequencies observed in a sample of 150 Bartow residents Distribution stated in the problem Computation of fe 0.40 X 150 = 60 0.30 X 150 = 45 0.30 X 150 = 30 0.10 X 150= 15
  • 18. 18 Step 5: Compute the value of the Chi-square statistic and make a decision ( ) ∑         − = e eo f ff 2 2 χ Computed χ2
  • 19. 19 1.3723 The computed χ2 of 1.3723 is in the “Do not reject H0” region. The difference between the observed and the expected frequencies is due to chance. We conclude that there is no evidence of a difference between the local and national experience for hospital admissions.
  • 20. 20 Contingency Table Analysis A contingency table is used to investigate whether two traits or characteristics are related. Each observation is classified according to two criteria. We use the usual hypothesis testing procedure.  The degrees of freedom is equal to: (number of rows-1)(number of columns-1).  The expected frequency is computed as:
  • 21. 21 Contingency Analysis We can use the chi-square statistic to formally test for a relationship between two nominal-scaled variables. To put it another way, Is one variable independent of the other?  Ford Motor Company operates an assembly plant in Dearborn, Michigan. The plant operates three shifts per day, 5 days a week. The quality control manager wishes to compare the quality level on the three shifts. Vehicles are classified by quality level (acceptable, unacceptable) and shift (day, afternoon, night). Is there a difference in the quality level on the three shifts? That is, is the quality of the product related to the shift when it was manufactured? Or is the quality of the product independent of the shift on which it was manufactured?  A sample of 100 drivers who were stopped for speeding violations was classified by gender and whether or not they were wearing a seat belt. For this sample, is wearing a seatbelt related to gender?  Does a male released from federal prison make a different adjustment to civilian life if he returns to his hometown or if he goes elsewhere to live? The two variables are adjustment to civilian life and place of residence. Note that both variables are measured on the nominal scale.
  • 22. 22 The Federal Correction Agency is investigating the last question cited above: Does a male released from federal prison make a different adjustment to civilian life if he returns to his hometown or if he goes elsewhere to live? To put it another way, is there a relationship between adjustment to civilian life and place of residence after release from prison? Use the .01 significance level. Contingency Analysis - Example
  • 23. 23 Contingency Analysis - Example The agency’s psychologists interviewed 200 randomly selected former prisoners. Using a series of questions, the psychologists classified the adjustment of each individual to civilian life as outstanding, good, fair, or unsatisfactory. The classifications for the 200 former prisoners were tallied as follows. Joseph Camden, for example, returned to his hometown and has shown outstanding adjustment to civilian life. His case is one of the 27 tallies in the upper left box (circled).
  • 24. 24 Step 1: State the null hypothesis and the alternate hypothesis. H0: There is no relationship between adjustment to civilian life and where the individual lives after being released from prison. H1: There is a relationship between adjustment to civilian life and where the individual lives after being released from prison. Step 2: Select the level of significance. α = 0.01 as stated in the problem Step 3: Select the test statistic. The test statistic follows the chi-square distribution, designated as χ2 Contingency Analysis - Example
  • 25. 25 Step 4: Formulate the decision rule. ( ) ( ) ( ) ( ) 345.11 ifHReject 2 3,01. 2 2 )3)(1(,01. 2 2 )14)(12(, 2 2 )1)(1(, 22 0 >      − >      − >      − >      − > ∑ ∑ ∑ ∑ −− −− e eo e eo e eo e eo cr f ff f ff f ff f ff χ χ χ χχ α α Contingency Analysis - Example
  • 26. 26 Computing Expected Frequencies (fe) (120)(50) 200
  • 28. 28 Conclusion 5.729 The computed χ2 of 5.729 is in the “Do not reject H0” region. The null hypothesis is not rejected at the .01 significance level. Conclusion: There is no evidence of a relationship between adjustment to civilian life and where the prisoner resides after being released from prison. For the Federal Correction Agency’s advisement program, adjustment to civilian life is not related to where the ex- prisoner lives.