Submit Search
Upload
Chi Square Tests and Nonparametric Tests
•
Download as PPT, PDF
•
1 like
•
378 views
Yesica Adicondro
Follow
Chi Square Tests and Nonparametric Tests
Read less
Read more
Data & Analytics
Report
Share
Report
Share
1 of 47
Download now
Recommended
Regresi linear
Regresi linear
mery gita
Apa 6th-edition-template-without-abstract
Apa 6th-edition-template-without-abstract
Kim Spivey
T2 Hottelling
T2 Hottelling
Ratnajulie Yatnaningtyas
Korelasi parsial dan ganda
Korelasi parsial dan ganda
indahnuur
Forecasting
Forecasting
Vikash Kumar
02 history of management (chapter 2)
02 history of management (chapter 2)
Zafar Sani
Chap11 chie square & non parametrics
Chap11 chie square & non parametrics
Uni Azza Aunillah
Chi square using excel
Chi square using excel
vermaumeshverma
Recommended
Regresi linear
Regresi linear
mery gita
Apa 6th-edition-template-without-abstract
Apa 6th-edition-template-without-abstract
Kim Spivey
T2 Hottelling
T2 Hottelling
Ratnajulie Yatnaningtyas
Korelasi parsial dan ganda
Korelasi parsial dan ganda
indahnuur
Forecasting
Forecasting
Vikash Kumar
02 history of management (chapter 2)
02 history of management (chapter 2)
Zafar Sani
Chap11 chie square & non parametrics
Chap11 chie square & non parametrics
Uni Azza Aunillah
Chi square using excel
Chi square using excel
vermaumeshverma
Bbs11 ppt ch12
Bbs11 ppt ch12
Tuul Tuul
Chap10 anova
Chap10 anova
Uni Azza Aunillah
Fundamentals of Testing Hypothesis
Fundamentals of Testing Hypothesis
Yesica Adicondro
The Normal Distribution and Other Continuous Distributions
The Normal Distribution and Other Continuous Distributions
Yesica Adicondro
Chap06 normal distributions & continous
Chap06 normal distributions & continous
Uni Azza Aunillah
Chap08 fundamentals of hypothesis
Chap08 fundamentals of hypothesis
Uni Azza Aunillah
chi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistan
muhammad shahid
Chapter12
Chapter12
Richard Ferreria
Analysis of Variance
Analysis of Variance
Yesica Adicondro
chap08.pptx
chap08.pptx
SoujanyaLk1
Contingency Tables
Contingency Tables
Long Beach City College
Newbold_chap16.ppt
Newbold_chap16.ppt
cfisicaster
qm2CHAP12.ppt
qm2CHAP12.ppt
HieuNguyen477759
chap06-1.pptx
chap06-1.pptx
SoujanyaLk1
Chap12 simple regression
Chap12 simple regression
Uni Azza Aunillah
ICTIR2016tutorial
ICTIR2016tutorial
Tetsuya Sakai
Hypothesis testing chi square test for independence
Hypothesis testing chi square test for independence
Nadeem Uddin
C2 st lecture 12 the chi squared-test handout
C2 st lecture 12 the chi squared-test handout
fatima d
Chap05 discrete probability distributions
Chap05 discrete probability distributions
Uni Azza Aunillah
Chapter 11 Chi-Square Tests and ANOVA 359 Chapter .docx
Chapter 11 Chi-Square Tests and ANOVA 359 Chapter .docx
bartholomeocoombs
Strategi Tata Letak
Strategi Tata Letak
Yesica Adicondro
Konsep Balanced Score Card
Konsep Balanced Score Card
Yesica Adicondro
More Related Content
Similar to Chi Square Tests and Nonparametric Tests
Bbs11 ppt ch12
Bbs11 ppt ch12
Tuul Tuul
Chap10 anova
Chap10 anova
Uni Azza Aunillah
Fundamentals of Testing Hypothesis
Fundamentals of Testing Hypothesis
Yesica Adicondro
The Normal Distribution and Other Continuous Distributions
The Normal Distribution and Other Continuous Distributions
Yesica Adicondro
Chap06 normal distributions & continous
Chap06 normal distributions & continous
Uni Azza Aunillah
Chap08 fundamentals of hypothesis
Chap08 fundamentals of hypothesis
Uni Azza Aunillah
chi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistan
muhammad shahid
Chapter12
Chapter12
Richard Ferreria
Analysis of Variance
Analysis of Variance
Yesica Adicondro
chap08.pptx
chap08.pptx
SoujanyaLk1
Contingency Tables
Contingency Tables
Long Beach City College
Newbold_chap16.ppt
Newbold_chap16.ppt
cfisicaster
qm2CHAP12.ppt
qm2CHAP12.ppt
HieuNguyen477759
chap06-1.pptx
chap06-1.pptx
SoujanyaLk1
Chap12 simple regression
Chap12 simple regression
Uni Azza Aunillah
ICTIR2016tutorial
ICTIR2016tutorial
Tetsuya Sakai
Hypothesis testing chi square test for independence
Hypothesis testing chi square test for independence
Nadeem Uddin
C2 st lecture 12 the chi squared-test handout
C2 st lecture 12 the chi squared-test handout
fatima d
Chap05 discrete probability distributions
Chap05 discrete probability distributions
Uni Azza Aunillah
Chapter 11 Chi-Square Tests and ANOVA 359 Chapter .docx
Chapter 11 Chi-Square Tests and ANOVA 359 Chapter .docx
bartholomeocoombs
Similar to Chi Square Tests and Nonparametric Tests
(20)
Bbs11 ppt ch12
Bbs11 ppt ch12
Chap10 anova
Chap10 anova
Fundamentals of Testing Hypothesis
Fundamentals of Testing Hypothesis
The Normal Distribution and Other Continuous Distributions
The Normal Distribution and Other Continuous Distributions
Chap06 normal distributions & continous
Chap06 normal distributions & continous
Chap08 fundamentals of hypothesis
Chap08 fundamentals of hypothesis
chi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistan
Chapter12
Chapter12
Analysis of Variance
Analysis of Variance
chap08.pptx
chap08.pptx
Contingency Tables
Contingency Tables
Newbold_chap16.ppt
Newbold_chap16.ppt
qm2CHAP12.ppt
qm2CHAP12.ppt
chap06-1.pptx
chap06-1.pptx
Chap12 simple regression
Chap12 simple regression
ICTIR2016tutorial
ICTIR2016tutorial
Hypothesis testing chi square test for independence
Hypothesis testing chi square test for independence
C2 st lecture 12 the chi squared-test handout
C2 st lecture 12 the chi squared-test handout
Chap05 discrete probability distributions
Chap05 discrete probability distributions
Chapter 11 Chi-Square Tests and ANOVA 359 Chapter .docx
Chapter 11 Chi-Square Tests and ANOVA 359 Chapter .docx
More from Yesica Adicondro
Strategi Tata Letak
Strategi Tata Letak
Yesica Adicondro
Konsep Balanced Score Card
Konsep Balanced Score Card
Yesica Adicondro
Makalah kelompok Analisis Taksi Bakri
Makalah kelompok Analisis Taksi Bakri
Yesica Adicondro
Makalah kelompok Analisis Taksi Bakri
Makalah kelompok Analisis Taksi Bakri
Yesica Adicondro
Makalah Analisis PT Kereta API Indonesia
Makalah Analisis PT Kereta API Indonesia
Yesica Adicondro
Makalah Analisis PT Kereta API Indonesia
Makalah Analisis PT Kereta API Indonesia
Yesica Adicondro
Makalah kelompok 3 gudang garam
Makalah kelompok 3 gudang garam
Yesica Adicondro
Makalah Perusahaan Gudang Garam
Makalah Perusahaan Gudang Garam
Yesica Adicondro
Makalah kelompok 2 garuda citilink PPT
Makalah kelompok 2 garuda citilink PPT
Yesica Adicondro
Makalah kelompok 2 garuda citilink
Makalah kelompok 2 garuda citilink
Yesica Adicondro
Dmfi leaflet indonesian
Dmfi leaflet indonesian
Yesica Adicondro
Dmfi booklet indonesian
Dmfi booklet indonesian
Yesica Adicondro
Makalah kinerja operasi Indonesia PPT
Makalah kinerja operasi Indonesia PPT
Yesica Adicondro
Makalah kinerja operasi Indonesia
Makalah kinerja operasi Indonesia
Yesica Adicondro
Business process reengineering PPT
Business process reengineering PPT
Yesica Adicondro
Business process reengineering Makalah
Business process reengineering Makalah
Yesica Adicondro
PPT Balanced Scorecard
PPT Balanced Scorecard
Yesica Adicondro
Makalah Balanced Scorecard
Makalah Balanced Scorecard
Yesica Adicondro
Analisis Manajemen strategik PT garuda citilink
Analisis Manajemen strategik PT garuda citilink
Yesica Adicondro
analisis PPT PT Japfa
analisis PPT PT Japfa
Yesica Adicondro
More from Yesica Adicondro
(20)
Strategi Tata Letak
Strategi Tata Letak
Konsep Balanced Score Card
Konsep Balanced Score Card
Makalah kelompok Analisis Taksi Bakri
Makalah kelompok Analisis Taksi Bakri
Makalah kelompok Analisis Taksi Bakri
Makalah kelompok Analisis Taksi Bakri
Makalah Analisis PT Kereta API Indonesia
Makalah Analisis PT Kereta API Indonesia
Makalah Analisis PT Kereta API Indonesia
Makalah Analisis PT Kereta API Indonesia
Makalah kelompok 3 gudang garam
Makalah kelompok 3 gudang garam
Makalah Perusahaan Gudang Garam
Makalah Perusahaan Gudang Garam
Makalah kelompok 2 garuda citilink PPT
Makalah kelompok 2 garuda citilink PPT
Makalah kelompok 2 garuda citilink
Makalah kelompok 2 garuda citilink
Dmfi leaflet indonesian
Dmfi leaflet indonesian
Dmfi booklet indonesian
Dmfi booklet indonesian
Makalah kinerja operasi Indonesia PPT
Makalah kinerja operasi Indonesia PPT
Makalah kinerja operasi Indonesia
Makalah kinerja operasi Indonesia
Business process reengineering PPT
Business process reengineering PPT
Business process reengineering Makalah
Business process reengineering Makalah
PPT Balanced Scorecard
PPT Balanced Scorecard
Makalah Balanced Scorecard
Makalah Balanced Scorecard
Analisis Manajemen strategik PT garuda citilink
Analisis Manajemen strategik PT garuda citilink
analisis PPT PT Japfa
analisis PPT PT Japfa
Recently uploaded
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Boston Institute of Analytics
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
ffjhghh
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
Samantha Rae Coolbeth
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
Neil Barnes
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Delhi Call girls
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
soniya singh
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
Pramod Kumar Srivastava
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Suhani Kapoor
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
Suhani Kapoor
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
sapnasaifi408
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
Lars Albertsson
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
YohFuh
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Social Samosa
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
ccctableauusergroup
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
shivangimorya083
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
thyngster
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
shivangimorya083
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
hf8803863
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
dajasot375
Recently uploaded
(20)
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Chi Square Tests and Nonparametric Tests
1.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for Managers Using Microsoft® Excel 4th Edition
2.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-2 Chapter Goals After completing this chapter, you should be able to: Perform a χ2 test for the difference between two proportions Use a χ2 test for differences in more than two proportions Perform a χ2 test of independence Apply and interpret the Wilcoxon rank sum test for the difference between two medians Perform nonparametric analysis of variance using the Kruskal-Wallis rank test for one-way ANOVA
3.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-3 Contingency Tables Contingency Tables Useful in situations involving multiple population proportions Used to classify sample observations according to two or more characteristics Also called a cross-classification table.
4.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-4 Contingency Table Example Left-Handed vs. Gender Dominant Hand: Left vs. Right Gender: Male vs. Female 2 categories for each variable, so called a 2 x 2 table Suppose we examine a sample of size 300
5.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-5 Contingency Table Example Sample results organized in a contingency table: (continued) Gender Hand Preference Left Right Female 12 108 120 Male 24 156 180 36 264 300 120 Females, 12 were left handed 180 Males, 24 were left handed sample size = n = 300:
6.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-6 χ2 Test for the Difference Between Two Proportions If H0 is true, then the proportion of left-handed females should be the same as the proportion of left-handed males The two proportions above should be the same as the proportion of left-handed people overall H0: p1 = p2 (Proportion of females who are left handed is equal to the proportion of males who are left handed) H1: p1 ≠ p2 (The two proportions are not the same – Hand preference is not independent of gender)
7.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-7 The Chi-Square Test Statistic where: fo = observed frequency in a particular cell fe = expected frequency in a particular cell if H0 is true χ2 for the 2 x 2 case has 1 degree of freedom (Assumed: each cell in the contingency table has expected frequency of at least 5) ∑ − =χ cellsall e 2 eo2 f )ff( The Chi-square test statistic is:
8.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-8 Decision Rule χ2 χ2 U Decision Rule: If χ2 > χ2 U, reject H0, otherwise, do not reject H0 The χ2 test statistic approximately follows a chi- squared distribution with one degree of freedom 0 α Reject H0Do not reject H0
9.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-9 Computing the Average Proportion Here:120 Females, 12 were left handed 180 Males, 24 were left handed i.e., the proportion of left handers overall is 12% n X nn XX p 21 21 = + + = 12.0 300 36 180120 2412 p == + + = The average proportion is:
10.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-10 Finding Expected Frequencies To obtain the expected frequency for left handed females, multiply the average proportion left handed (p) by the total number of females To obtain the expected frequency for left handed males, multiply the average proportion left handed (p) by the total number of males If the two proportions are equal, then P(Left Handed | Female) = P(Left Handed | Male) = .12 i.e., we would expect (.12)(120) = 14.4 females to be left handed (.12)(180) = 21.6 males to be left handed
11.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-11 Observed vs. Expected Frequencies Gender Hand Preference Left Right Female Observed = 12 Expected = 14.4 Observed = 108 Expected = 105.6 120 Male Observed = 24 Expected = 21.6 Observed = 156 Expected = 158.4 180 36 264 300
12.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-12 Gender Hand Preference Left Right Female Observed = 12 Expected = 14.4 Observed = 108 Expected = 105.6 120 Male Observed = 24 Expected = 21.6 Observed = 156 Expected = 158.4 180 36 264 300 6848.0 4.158 )4.158156( 6.21 )6.2124( 6.105 )6.105108( 4.14 )4.1412( f )ff( 2222 cellsall e 2 eo2 = − + − + − + − = − =χ ∑ The Chi-Square Test Statistic The test statistic is:
13.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-13 Decision Rule Decision Rule: If χ2 > 3.841, reject H0, otherwise, do not reject H0 3.841d.f.1with,6848.0isstatistictestThe 2 U 2 =χ=χ Here, χ2 = 0.6848 < χ2 U = 3.841, so we do not reject H0 and conclude that there is not sufficient evidence that the two proportions are different at α = .05 χ2 χ2 U=3.841 0 α Reject H0Do not reject H0
14.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-14 Extend the χ2 test to the case with more than two independent populations: χ2 Test for the Differences in More Than Two Proportions H0: p1 = p2 = … = pc H1: Not all of the pj are equal (j = 1, 2, …, c)
15.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-15 The Chi-Square Test Statistic where: fo = observed frequency in a particular cell of the 2 x c table fe = expected frequency in a particular cell if H0 is true χ2 for the 2 x c case has (2-1)(c-1) = c - 1 degrees of freedom (Assumed: each cell in the contingency table has expected frequency of at least 1) ∑ − =χ cellsall e 2 eo2 f )ff( The Chi-square test statistic is:
16.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-16 Computing the Overall Proportion n X nnn XXX p c21 c21 = +++ +++ = The overall proportion is: Expected cell frequencies for the c categories are calculated as in the 2 x 2 case, and the decision rule is the same: Decision Rule: If χ2 > χ2 U, reject H0, otherwise, do not reject H0 Where χ2 U is from the chi-squared distribution with c – 1 degrees of freedom
17.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-17 χ2 Test of Independence Similar to the χ2 test for equality of more than two proportions, but extends the concept to contingency tables with r rows and c columns H0: The two categorical variables are independent (i.e., there is no relationship between them) H1: The two categorical variables are dependent (i.e., there is a relationship between them)
18.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-18 χ2 Test of Independence where: fo = observed frequency in a particular cell of the r x c table fe = expected frequency in a particular cell if H0 is true χ2 for the r x c case has (r-1)(c-1) degrees of freedom (Assumed: each cell in the contingency table has expected frequency of at least 1) ∑ − =χ cellsall e 2 eo2 f )ff( The Chi-square test statistic is: (continued)
19.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-19 Expected Cell Frequencies Expected cell frequencies: n totalcolumntotalrow fe × = Where: row total = sum of all frequencies in the row column total = sum of all frequencies in the column n = overall sample size
20.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-20 Decision Rule The decision rule is If χ2 > χ2 U, reject H0, otherwise, do not reject H0 Where χ2 U is from the chi-squared distribution with (r – 1)(c – 1) degrees of freedom
21.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-21 Example The meal plan selected by 200 students is shown below: Class Standing Number of meals per week Total20/week 10/week none Fresh. 24 32 14 70 Soph. 22 26 12 60 Junior 10 14 6 30 Senior 14 16 10 40 Total 70 88 42 200
22.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-22 Example The hypothesis to be tested is: (continued) H0: Meal plan and class standing are independent (i.e., there is no relationship between them) H1: Meal plan and class standing are dependent (i.e., there is a relationship between them)
23.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-23 Class Standing Number of meals per week Total 20/wk 10/wk none Fresh. 24 32 14 70 Soph. 22 26 12 60 Junior 10 14 6 30 Senior 14 16 10 40 Total 70 88 42 200 Class Standing Number of meals per week Total 20/wk 10/wk none Fresh. 24.5 30.8 14.7 70 Soph. 21.0 26.4 12.6 60 Junior 10.5 13.2 6.3 30 Senior 14.0 17.6 8.4 40 Total 70 88 42 200 Observed: Expected cell frequencies if H0 is true: 5.10 200 7030 n totalcolumntotalrow fe = × = × = Example for one cell: Example: Expected Cell Frequencies (continued)
24.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-24 Example: The Test Statistic The test statistic value is: 709.0 4.8 )4.810( 8.30 )8.3032( 5.24 )5.2424( f )ff( 222 cellsall e 2 eo2 = − ++ − + − = − =χ ∑ (continued) χ2 U = 12.592 for α = .05 from the chi-squared distribution with (4 – 1)(3 – 1) = 6 degrees of freedom
25.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-25 Example: Decision and Interpretation (continued) Decision Rule: If χ2 > 12.592, reject H0, otherwise, do not reject H0 12.592d.f.6with,709.0isstatistictestThe 2 U 2 =χ=χ Here, χ2 = 0.709 < χ2 U = 12.592, so do not reject H0 Conclusion: there is not sufficient evidence that meal plan and class standing are related at α = .05 χ2 χ2 U=12.592 0 α Reject H0Do not reject H0
26.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-26 Wilcoxon Rank-Sum Test for Differences in 2 Medians Test two independent population medians Populations need not be normally distributed Distribution free procedure Used when only rank data are available Must use normal approximation if either of the sample sizes is larger than 10
27.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-27 Wilcoxon Rank-Sum Test: Small Samples Can use when both n1 , n2 ≤ 10 Assign ranks to the combined n1 + n2 sample observations If unequal sample sizes, let n1 refer to smaller-sized sample Smallest value rank = 1, largest value rank = n1 + n2 Assign average rank for ties Sum the ranks for each sample: T1 and T2 Obtain test statistic, T1 (from smaller sample)
28.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-28 Checking the Rankings The sum of the rankings must satisfy the formula below Can use this to verify the sums T1 and T2 2 1)n(n TT 21 + =+ where n = n1 + n2
29.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-29 Wilcoxon Rank-Sum Test: Hypothesis and Decision Rule H0: M1 = M2 H1: M1 ≠ M2 H0: M1 ≤ M2 H1: M1 > M2 H0: M1 ≥ M2 H1: M1 < M2 Two-Tail Test Left-Tail Test Right-Tail Test M1 = median of population 1; M2 = median of population 2 Reject T1L T1U RejectDo Not Reject Reject T1L Do Not Reject T1U RejectDo Not Reject Test statistic = T1 (Sum of ranks from smaller sample) Reject H0 if T1 < T1L or if T1 > T1U Reject H0 if T1 < T1L Reject H0 if T1 > T1U
30.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-30 Sample data is collected on the capacity rates (% of capacity) for two factories. Are the median operating rates for two factories the same? For factory A, the rates are 71, 82, 77, 94, 88 For factory B, the rates are 85, 82, 92, 97 Test for equality of the sample medians at the 0.05 significance level Wilcoxon Rank-Sum Test: Small Sample Example
31.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-31 Wilcoxon Rank-Sum Test: Small Sample Example Capacity Rank Factory A Factory B Factory A Factory B 71 1 77 2 82 3.5 82 3.5 85 5 88 6 92 7 94 8 97 9 Rank Sums: 20.5 24.5 Tie in 3rd and 4th places Ranked Capacity values: (continued)
32.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-32 Wilcoxon Rank-Sum Test: Small Sample Example (continued) Factory B has the smaller sample size, so the test statistic is the sum of the Factory B ranks: T1 = 24.5 The sample sizes are: n1 = 4 (factory B) n2 = 5 (factory A) The level of significance is α = .05
33.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-33 n2 α n1 One- Tailed Two- Tailed 4 5 4 5 .05 .10 12, 28 19, 36 .025 .05 11, 29 17, 38 .01 .02 10, 30 16, 39 .005 .01 --, -- 15, 40 6 Wilcoxon Rank-Sum Test: Small Sample Example Lower and Upper Critical Values for T1 from Appendix table E.8: (continued) T1L = 11 and T1U = 29
34.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-34 H0: M1 = M2 H1: M1 ≠ M2 Two-Tail Test Reject T1L=11 T1U=29 RejectDo Not Reject Reject H0 if T1 < T1L=11 or if T1 > T1U=29 α = .05 n1 = 4 , n2 = 5 Test Statistic (Sum of ranks from smaller sample): T1 = 24.5 Decision: Conclusion: Do not reject at α = 0.05 There is not enough evidence to prove that the medians are not equal. Wilcoxon Rank-Sum Test: Small Sample Solution (continued)
35.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-35 Wilcoxon Rank-Sum Test (Large Sample) For large samples, the test statistic T1 is approximately normal with mean and standard deviation : Must use the normal approximation if either n1 or n2 > 10 Assign n1 to be the smaller of the two sample sizes Can use the normal approximation for small samples 1Tμ 1Tσ 2 )1n(n μ 1 T1 + = 12 )1n(nn σ 21 T1 + =
36.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-36 Wilcoxon Rank-Sum Test (Large Sample) The Z test statistic is Where Z approximately follows a standardized normal distribution 1 1 T T1 σ μT Z − = (continued)
37.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-37 Wilcoxon Rank-Sum Test: Normal Approximation Example Use the setting of the prior example: The sample sizes were: n1 = 4 (factory B) n2 = 5 (factory A) The level of significance was α = .05 The test statistic was T1 = 24.5
38.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-38 Wilcoxon Rank-Sum Test: Normal Approximation Example The test statistic is 20 2 )19(4 2 )1n(n μ 1 T1 = + = + = 739.2 12 )19()5(4 12 )1n(nn σ 21 T1 = + = + = (continued) 64.1 2.739 205.24 σ μT Z 1 1 T T1 = − = − = Z = 1.64 is not greater than the critical Z value of 1.96 (for α = .05) so we do not reject H0 – there is not sufficient evidence that the medians are not equal
39.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-39 Kruskal-Wallis Rank Test Tests the equality of more than 2 population medians Use when the normality assumption for one- way ANOVA is violated Assumptions: The samples are random and independent variables have a continuous distribution the data can be ranked populations have the same variability populations have the same shape
40.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-40 Kruskal-Wallis Test Procedure Obtain relative rankings for each value In event of tie, each of the tied values gets the average rank Sum the rankings for data from each of the c groups Compute the H test statistic
41.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-41 Kruskal - Wallis Test Procedure The Kruskal - Wallis H test statistic: (with c – 1 degrees of freedom) )1n(3 n T )1n(n 12 H c 1j j 2 j +− + = ∑= where: n = sum of sample sizes in all samples c = Number of samples Tj = Sum of ranks in the jth sample nj = Size of the jth sample (continued)
42.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-42 Decision rule Reject H0 if test statistic H > χ2 U Otherwise do not reject H0 (continued) Kruskal-Wallis Test Procedure Complete the test by comparing the calculated H value to a critical χ2 value from the chi-square distribution with c – 1 degrees of freedom χ2 χ2 U 0 α Reject H0Do not reject H0
43.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-43 Do different departments have different class sizes? Kruskal-Wallis Example Class size (Math, M) Class size (English, E) Class size (Biology, B) 23 45 54 78 66 55 60 72 45 70 30 40 18 34 44
44.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-44 Do different departments have different class sizes? Kruskal-Wallis Example Class size (Math, M) Ranking Class size (English, E) Ranking Class size (Biology, B) Ranking 23 41 54 78 66 2 6 9 15 12 55 60 72 45 70 10 11 14 8 13 30 40 18 34 44 3 5 1 4 7 Σ = 44 Σ = 56 Σ = 20
45.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-45 The H statistic is (continued) Kruskal-Wallis Example 72.6)115(3 5 20 5 56 5 44 )115(15 12 )1n(3 n R )1n(n 12 H 222 c 1j j 2 j =+− ++ + = +− + = ∑= equalareMedianspopulationallotN:H MedianMedianMedian:H A HEM0 ==
46.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-46 Since H = 6.72 < do not reject H0 (continued) Kruskal-Wallis Example 4877.92 U =χ Compare H = 6.72 to the critical value from the chi-square distribution for 5 – 1 = 4 degrees of freedom and α = .05: 4877.92 U =χ There is not sufficient evidence to reject that the population medians are all equal
47.
Statistics for Managers
Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-47 Chapter Summary Developed and applied the χ2 test for the difference between two proportions Developed and applied the χ2 test for differences in more than two proportions Examined the χ2 test for independence Used the Wilcoxon rank sum test for two population medians Small Samples Large sample Z approximation Applied the Kruskal - Wallis H-test for multiple population medians
Download now