SlideShare a Scribd company logo
1 of 16
Download to read offline
CHI-SQUARED
TEST
Dr Lipilekha Patnaik
Professor, Community Medicine
Institute of Medical Sciences & SUM Hospital
Siksha ‘O’Anusandhan deemed to be University
Bhubaneswar, Odisha, India
Email: drlipilekha@yahoo.co.in
Pearson’s chi-squared test
• Chi- Square test is method of testing the significance of difference
between two proportions.
• It has the advantage that at can also be used when more than two
groups are to be compared.
• Commonly applied in biomedical research
2
• Used to test categorical Data
Especially when the outcomes are in counts or frequency
• Nominal variables
Sex, Blood group
• Ordinal Variables
Birth order
Severity of disease (absent, mild, moderate, severe)
3
Applications of chi-squared test
• This test is used as
• for finding difference in proportions
• for finding association between variables
4
Example
• In a prevalence study of Hypertension, we found that
Hypertension No Hypertension
Non smokers 10 (10%) 90
Smokers 26 (26%) 74
• It is visible from the table that the proportion of HTN was higher
among smokers . The question that arises is whether HTN was really
higher among smokers or the difference was merely due to chance.
5
Group
Result
Total
Hypertension No HTN
Non smokers 10 (a) 90 (b) 100
(a+b)
Smokers 26 (c) 74 (d) 100
(c+d)
Total 36 (a+c) 164 (b+d) 200 (N)
6
Steps
• Null hypothesis
• Calculation of expected values
• Calculation of Chi-square value
• Calculation of degrees of freedom
• Conclusion
7
Null hypothesis
• No significant difference in the proportions
• Alternate- significant difference in the proportions
8
Calculation of expected values
• Expected	value	in	any	cell	=
totalGrand
totalRowXtotalColumn
9
Expected	value	of	each	cell	should	be	more	than	5	in	
each	cell.
Expected values in cells
Thus expected value in each cell is
• First cell: 36 X 100 / 200 = 18
• Second cell: 164 X 100 / 200 = 82
• Third cell: 36 X 100 / 200 = 18
• Fourth cell: 164 X 100 / 200 = 82
10
Chi squared value
∑
−
=
E
EO 2
2 )(
χ
11
df =		(c	-1)	(r-1)	
where	c	and	r	stand	for	number	of	columns	and	
number	of	rows	respectively.
P	<	0.05	– Significant	difference	between	2	proportions
P	>	0.05	– No	significant	difference	between	2	
proportions
Calculation of Chi-squared value
12
82
)8274(
18
)1826(
82
)8290(
18
)1810( 2222
−
+
−
+
−
+
−
82
)8(
18
)8(
82
)8(
18
)8( 2222
+
−
++
−
=
78.056.378.056.3 +++=
82
64
18
64
82
64
18
64
+++=
68.8=
Calculation of degrees of freedom
df = (c -1) (r-1)
where c and r stand for number of columns and number of rows
respectively.
Thus df = (2 -1) X (2 – 1) = (1) X (1) = 1.
13
14
Conclusion
• As the Chi-square value is more than the table value for 5%
level of significance at 1 df (3.84), we reject the null hypothesis
and state that there is a statistically significant difference of
proportions of hypertension between smokers and nonsmokers
(P < 0.05).
• Smoking is associated with hypertension.
15
16

More Related Content

What's hot

non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statisticsAnchal Garg
 
Parametric tests
Parametric testsParametric tests
Parametric testsheena45
 
Non parametric test
Non parametric testNon parametric test
Non parametric testNeetathakur3
 
Parametric and non parametric test
Parametric and non parametric testParametric and non parametric test
Parametric and non parametric testAjay Malpani
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Tesfamichael Getu
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsBabasab Patil
 
LEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxLEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxRingoNavarro3
 
Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Upama Dwivedi
 
Parametric and nonparametric test
Parametric and nonparametric testParametric and nonparametric test
Parametric and nonparametric testponnienselvi
 
Confidence intervals
Confidence intervalsConfidence intervals
Confidence intervalsTanay Tandon
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingArnab Sadhu
 
Test of significance in Statistics
Test of significance in StatisticsTest of significance in Statistics
Test of significance in StatisticsVikash Keshri
 
One-Sample Hypothesis Tests
One-Sample Hypothesis TestsOne-Sample Hypothesis Tests
One-Sample Hypothesis TestsSr Edith Bogue
 

What's hot (20)

non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Non-Parametric Tests
Non-Parametric TestsNon-Parametric Tests
Non-Parametric Tests
 
Chi square
Chi squareChi square
Chi square
 
Parametric and non parametric test
Parametric and non parametric testParametric and non parametric test
Parametric and non parametric test
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec doms
 
LEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxLEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptx
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)
 
Parametric and nonparametric test
Parametric and nonparametric testParametric and nonparametric test
Parametric and nonparametric test
 
T test
T testT test
T test
 
Confidence intervals
Confidence intervalsConfidence intervals
Confidence intervals
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
Test of significance in Statistics
Test of significance in StatisticsTest of significance in Statistics
Test of significance in Statistics
 
One-Sample Hypothesis Tests
One-Sample Hypothesis TestsOne-Sample Hypothesis Tests
One-Sample Hypothesis Tests
 

Similar to Chi squared test

Test of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testTest of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testdr.balan shaikh
 
Tests of statistical significance : chi square and spss
Tests of statistical significance : chi square and spss Tests of statistical significance : chi square and spss
Tests of statistical significance : chi square and spss Drsnehas2
 
Chisquare Test of Association.pdf in biostatistics
Chisquare Test of Association.pdf in biostatisticsChisquare Test of Association.pdf in biostatistics
Chisquare Test of Association.pdf in biostatisticsmuhammadahmad00495
 
Intro to tests of significance qualitative
Intro to tests of significance qualitativeIntro to tests of significance qualitative
Intro to tests of significance qualitativePandurangi Raghavendra
 
CHI SQUARE biostat easy explained .pptx
CHI SQUARE biostat easy explained    .pptxCHI SQUARE biostat easy explained    .pptx
CHI SQUARE biostat easy explained .pptxDrDeveshPandey1
 
Chi-Square Presentation - Nikki.ppt
Chi-Square Presentation - Nikki.pptChi-Square Presentation - Nikki.ppt
Chi-Square Presentation - Nikki.pptBAGARAGAZAROMUALD2
 
Lecture 7 Hypothesis testing.pptx
Lecture 7 Hypothesis testing.pptxLecture 7 Hypothesis testing.pptx
Lecture 7 Hypothesis testing.pptxshakirRahman10
 
slides Testing of hypothesis.pptx
slides Testing  of  hypothesis.pptxslides Testing  of  hypothesis.pptx
slides Testing of hypothesis.pptxssuser504dda
 
Chapter 4Summarizing Data Collected in the Sample.docx
Chapter 4Summarizing Data Collected in the Sample.docxChapter 4Summarizing Data Collected in the Sample.docx
Chapter 4Summarizing Data Collected in the Sample.docxketurahhazelhurst
 
Introduction to Business Analytics Course Part 9
Introduction to Business Analytics Course Part 9Introduction to Business Analytics Course Part 9
Introduction to Business Analytics Course Part 9Beamsync
 

Similar to Chi squared test (20)

Test of significance
Test of significanceTest of significance
Test of significance
 
Test of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testTest of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square test
 
Chi square
Chi square Chi square
Chi square
 
Chi square test
Chi square testChi square test
Chi square test
 
Goodness of Fit Notation
Goodness of Fit NotationGoodness of Fit Notation
Goodness of Fit Notation
 
Tests of statistical significance : chi square and spss
Tests of statistical significance : chi square and spss Tests of statistical significance : chi square and spss
Tests of statistical significance : chi square and spss
 
Chisquare Test of Association.pdf in biostatistics
Chisquare Test of Association.pdf in biostatisticsChisquare Test of Association.pdf in biostatistics
Chisquare Test of Association.pdf in biostatistics
 
Statistics
StatisticsStatistics
Statistics
 
Intro to tests of significance qualitative
Intro to tests of significance qualitativeIntro to tests of significance qualitative
Intro to tests of significance qualitative
 
CHI SQUARE biostat easy explained .pptx
CHI SQUARE biostat easy explained    .pptxCHI SQUARE biostat easy explained    .pptx
CHI SQUARE biostat easy explained .pptx
 
Chi-Square Presentation - Nikki.ppt
Chi-Square Presentation - Nikki.pptChi-Square Presentation - Nikki.ppt
Chi-Square Presentation - Nikki.ppt
 
Lecture 7 Hypothesis testing.pptx
Lecture 7 Hypothesis testing.pptxLecture 7 Hypothesis testing.pptx
Lecture 7 Hypothesis testing.pptx
 
Chi square test
Chi square testChi square test
Chi square test
 
Parametric Statistics
Parametric StatisticsParametric Statistics
Parametric Statistics
 
slides Testing of hypothesis.pptx
slides Testing  of  hypothesis.pptxslides Testing  of  hypothesis.pptx
slides Testing of hypothesis.pptx
 
Chi square mahmoud
Chi square mahmoudChi square mahmoud
Chi square mahmoud
 
Chapter 4Summarizing Data Collected in the Sample.docx
Chapter 4Summarizing Data Collected in the Sample.docxChapter 4Summarizing Data Collected in the Sample.docx
Chapter 4Summarizing Data Collected in the Sample.docx
 
Chi square test
Chi square test Chi square test
Chi square test
 
Goodness of fit (ppt)
Goodness of fit (ppt)Goodness of fit (ppt)
Goodness of fit (ppt)
 
Introduction to Business Analytics Course Part 9
Introduction to Business Analytics Course Part 9Introduction to Business Analytics Course Part 9
Introduction to Business Analytics Course Part 9
 

More from Dr Lipilekha Patnaik

More from Dr Lipilekha Patnaik (20)

Health Programmes in India.pdf
Health Programmes in India.pdfHealth Programmes in India.pdf
Health Programmes in India.pdf
 
Concept of public health.pdf
Concept of public health.pdfConcept of public health.pdf
Concept of public health.pdf
 
Demographic profile of india
Demographic profile of indiaDemographic profile of india
Demographic profile of india
 
Indicators of health
Indicators of healthIndicators of health
Indicators of health
 
Immunization
ImmunizationImmunization
Immunization
 
Epidemic investigation
Epidemic investigationEpidemic investigation
Epidemic investigation
 
Study designs
Study designsStudy designs
Study designs
 
Cross sectional study
Cross sectional studyCross sectional study
Cross sectional study
 
Descriptive epidemiology
Descriptive epidemiologyDescriptive epidemiology
Descriptive epidemiology
 
Rate, ratio, proportion
Rate, ratio, proportionRate, ratio, proportion
Rate, ratio, proportion
 
Introduction to epidemiology
Introduction to epidemiologyIntroduction to epidemiology
Introduction to epidemiology
 
Health planning in india
Health planning in indiaHealth planning in india
Health planning in india
 
12th five year plan and NITI ayog
12th five year plan and NITI ayog12th five year plan and NITI ayog
12th five year plan and NITI ayog
 
National programme for prevention and control of cancer, diabetes, CVDs and s...
National programme for prevention and control of cancer, diabetes, CVDs and s...National programme for prevention and control of cancer, diabetes, CVDs and s...
National programme for prevention and control of cancer, diabetes, CVDs and s...
 
Universal immunization programme
Universal immunization programmeUniversal immunization programme
Universal immunization programme
 
Health education
Health educationHealth education
Health education
 
National AIDS Control Programme
National AIDS Control ProgrammeNational AIDS Control Programme
National AIDS Control Programme
 
ICD and ICF
ICD and ICFICD and ICF
ICD and ICF
 
Nutrition programmes in india
Nutrition programmes in indiaNutrition programmes in india
Nutrition programmes in india
 
Normality tests
Normality testsNormality tests
Normality tests
 

Recently uploaded

Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.MiadAlsulami
 
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...Taniya Sharma
 
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...astropune
 
Call Girl Number in Vashi Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Vashi Mumbai📲 9833363713 💞 Full Night EnjoyCall Girl Number in Vashi Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Vashi Mumbai📲 9833363713 💞 Full Night Enjoybabeytanya
 
Call Girl Coimbatore Prisha☎️ 8250192130 Independent Escort Service Coimbatore
Call Girl Coimbatore Prisha☎️  8250192130 Independent Escort Service CoimbatoreCall Girl Coimbatore Prisha☎️  8250192130 Independent Escort Service Coimbatore
Call Girl Coimbatore Prisha☎️ 8250192130 Independent Escort Service Coimbatorenarwatsonia7
 
CALL ON ➥9907093804 🔝 Call Girls Hadapsar ( Pune) Girls Service
CALL ON ➥9907093804 🔝 Call Girls Hadapsar ( Pune)  Girls ServiceCALL ON ➥9907093804 🔝 Call Girls Hadapsar ( Pune)  Girls Service
CALL ON ➥9907093804 🔝 Call Girls Hadapsar ( Pune) Girls ServiceMiss joya
 
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escorts
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore EscortsCall Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escorts
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escortsvidya singh
 
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...Miss joya
 
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...Miss joya
 
High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...narwatsonia7
 
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...narwatsonia7
 
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% SafeBangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safenarwatsonia7
 
VIP Russian Call Girls in Varanasi Samaira 8250192130 Independent Escort Serv...
VIP Russian Call Girls in Varanasi Samaira 8250192130 Independent Escort Serv...VIP Russian Call Girls in Varanasi Samaira 8250192130 Independent Escort Serv...
VIP Russian Call Girls in Varanasi Samaira 8250192130 Independent Escort Serv...Neha Kaur
 
Aspirin presentation slides by Dr. Rewas Ali
Aspirin presentation slides by Dr. Rewas AliAspirin presentation slides by Dr. Rewas Ali
Aspirin presentation slides by Dr. Rewas AliRewAs ALI
 
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls ServiceKesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Servicemakika9823
 
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls Available
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls AvailableVip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls Available
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls AvailableNehru place Escorts
 
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore EscortsVIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escortsaditipandeya
 
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...astropune
 

Recently uploaded (20)

Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
 
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
 
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
 
Call Girl Number in Vashi Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Vashi Mumbai📲 9833363713 💞 Full Night EnjoyCall Girl Number in Vashi Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Vashi Mumbai📲 9833363713 💞 Full Night Enjoy
 
Call Girl Coimbatore Prisha☎️ 8250192130 Independent Escort Service Coimbatore
Call Girl Coimbatore Prisha☎️  8250192130 Independent Escort Service CoimbatoreCall Girl Coimbatore Prisha☎️  8250192130 Independent Escort Service Coimbatore
Call Girl Coimbatore Prisha☎️ 8250192130 Independent Escort Service Coimbatore
 
CALL ON ➥9907093804 🔝 Call Girls Hadapsar ( Pune) Girls Service
CALL ON ➥9907093804 🔝 Call Girls Hadapsar ( Pune)  Girls ServiceCALL ON ➥9907093804 🔝 Call Girls Hadapsar ( Pune)  Girls Service
CALL ON ➥9907093804 🔝 Call Girls Hadapsar ( Pune) Girls Service
 
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escorts
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore EscortsCall Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escorts
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escorts
 
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...
 
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
 
High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...
 
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
 
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% SafeBangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safe
 
VIP Russian Call Girls in Varanasi Samaira 8250192130 Independent Escort Serv...
VIP Russian Call Girls in Varanasi Samaira 8250192130 Independent Escort Serv...VIP Russian Call Girls in Varanasi Samaira 8250192130 Independent Escort Serv...
VIP Russian Call Girls in Varanasi Samaira 8250192130 Independent Escort Serv...
 
Aspirin presentation slides by Dr. Rewas Ali
Aspirin presentation slides by Dr. Rewas AliAspirin presentation slides by Dr. Rewas Ali
Aspirin presentation slides by Dr. Rewas Ali
 
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls ServiceKesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
 
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls Available
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls AvailableVip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls Available
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls Available
 
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore EscortsVIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
 
Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...
Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...
Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...
 
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCREscort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
 
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
 

Chi squared test

  • 1. CHI-SQUARED TEST Dr Lipilekha Patnaik Professor, Community Medicine Institute of Medical Sciences & SUM Hospital Siksha ‘O’Anusandhan deemed to be University Bhubaneswar, Odisha, India Email: drlipilekha@yahoo.co.in
  • 2. Pearson’s chi-squared test • Chi- Square test is method of testing the significance of difference between two proportions. • It has the advantage that at can also be used when more than two groups are to be compared. • Commonly applied in biomedical research 2
  • 3. • Used to test categorical Data Especially when the outcomes are in counts or frequency • Nominal variables Sex, Blood group • Ordinal Variables Birth order Severity of disease (absent, mild, moderate, severe) 3
  • 4. Applications of chi-squared test • This test is used as • for finding difference in proportions • for finding association between variables 4
  • 5. Example • In a prevalence study of Hypertension, we found that Hypertension No Hypertension Non smokers 10 (10%) 90 Smokers 26 (26%) 74 • It is visible from the table that the proportion of HTN was higher among smokers . The question that arises is whether HTN was really higher among smokers or the difference was merely due to chance. 5
  • 6. Group Result Total Hypertension No HTN Non smokers 10 (a) 90 (b) 100 (a+b) Smokers 26 (c) 74 (d) 100 (c+d) Total 36 (a+c) 164 (b+d) 200 (N) 6
  • 7. Steps • Null hypothesis • Calculation of expected values • Calculation of Chi-square value • Calculation of degrees of freedom • Conclusion 7
  • 8. Null hypothesis • No significant difference in the proportions • Alternate- significant difference in the proportions 8
  • 9. Calculation of expected values • Expected value in any cell = totalGrand totalRowXtotalColumn 9 Expected value of each cell should be more than 5 in each cell.
  • 10. Expected values in cells Thus expected value in each cell is • First cell: 36 X 100 / 200 = 18 • Second cell: 164 X 100 / 200 = 82 • Third cell: 36 X 100 / 200 = 18 • Fourth cell: 164 X 100 / 200 = 82 10
  • 11. Chi squared value ∑ − = E EO 2 2 )( χ 11 df = (c -1) (r-1) where c and r stand for number of columns and number of rows respectively. P < 0.05 – Significant difference between 2 proportions P > 0.05 – No significant difference between 2 proportions
  • 12. Calculation of Chi-squared value 12 82 )8274( 18 )1826( 82 )8290( 18 )1810( 2222 − + − + − + − 82 )8( 18 )8( 82 )8( 18 )8( 2222 + − ++ − = 78.056.378.056.3 +++= 82 64 18 64 82 64 18 64 +++= 68.8=
  • 13. Calculation of degrees of freedom df = (c -1) (r-1) where c and r stand for number of columns and number of rows respectively. Thus df = (2 -1) X (2 – 1) = (1) X (1) = 1. 13
  • 14. 14
  • 15. Conclusion • As the Chi-square value is more than the table value for 5% level of significance at 1 df (3.84), we reject the null hypothesis and state that there is a statistically significant difference of proportions of hypertension between smokers and nonsmokers (P < 0.05). • Smoking is associated with hypertension. 15
  • 16. 16