SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Dr Azmi Mohd Tamil
n > 20
No expected value <5.
Pearson’s
Chi-Square Test
1 drtamil@gmail.com 2015
Concept
drtamil@gmail.com 20152
 Basically we are comparing the rate of the
disease among the exposed against the rate of
the disease among the non-exposed.
 If the exposure is related to the disease, we
would expect those exposed to have a
significantly higher (“causative”) or lower
(“protective”) rate of the disease compared to
those unexposed.Disease + Disease - TOTAL
Exposure + a b a+b
Exposure - c d c+d
TOTAL a+c b+d n
e.g. Obesity & Diabetes Mellitus
Observed Diabetes
YES
Diabetes
NO
TOTAL
Overweight 32
(32%)
68 100
Normal 7
(7%)
93 100
TOTAL 39
(19.5%)
161 200
3 drtamil@gmail.com 2015
Research Question
 Are overweight respondents more likely to
develop diabetes mellitus (DM) compared to
normal weight respondents?
 If it is true, then we expect a higher rate of DM
among overweight respondents (32%)
compared to among normal weight
respondents (7%).
 Chi-Square test whether the rate difference
(32% vs 7%) is significantly different than the
expected values.
4 drtamil@gmail.com 2015
Null hypothesis
 Null hypothesis assumes that there is no
association between overweight and diabetes
mellitus. As though being overweight has no
effect on the risk of developing diabetes.
 If being overweight has no effect on
developing diabetes mellitus, then the rate of
diabetes mellitus for both overweight and
normal weight should be the same. This is
the expected value as calculated in the
expected table.
 The statistical test conducted is to decide
whether or not to reject the null hypothesis.
So if the observed table is sig. diff. than5 drtamil@gmail.com 2015
Null hypothesis
If there is no difference of diabetes mellitus rate between
the two groups, then the rate of diabetes mellitus is
similar between the two groups (overweight=19.5% &
normal weight=19.5%).
Expected Diabetes No Diabetes Total
Overweight 19.5 (19.5%) 80.5 (80.5%) 100
Normal weight 19.5 (19.5%) 80.5 (80.5%) 100
Total 39 (19.5%) 161 (80.5%) 200
6 drtamil@gmail.com 2015
 There is no association between overweight and
diabetes mellitus.
 Therefore there is no difference of DM (disease) rate
among the overweight (exposed) and normal weight
(non-exposed)
Why do we need to calculate the
expected value?
 Because we are testing whether to
reject or not the null hypothesis. Null
hypothesis stated that there is no
difference of diabetes mellitus rate
between overweight group and normal
weight group.
 Expected value is the value if there is no
difference of diabetes mellitus rate
between the overweight and normal
weight groups.7 drtamil@gmail.com 2015
Why do we need to calculate
expected value?
Observed Diabetes No Diabetes Total
Overweight 32 (32%) 68 (68%) 100
Normal weight 7 (7%) 93 (93%) 100
Total 39 (19.5%) 161 (80.5%) 200
If there is no difference of diabetes mellitus rate between the
two groups, then the diabetes mellitus rate is similar between
the two groups (overweight=19.5% & normal weight=19.5%).
Expected Diabetes No Diabetes Total
Overweight 19.5 (19.5%) 80.5 (80.5%) 100
Normal weight 19.5 (19.5%) 80.5 (80.5%) 100
Total 39 (19.5%) 161 (80.5%) 200
8 drtamil@gmail.com 2015
FORMULA
2= [ (O – E) 2 ]
E
- How different is the observed value compared to the expected
value? To get the difference, we deduct the expected value from
the observed value. By squaring the difference, we nullify the
negative value that may arises. Thus Chi-”Square”! Then that is
compared against the expected value (as in the formula above).
- Therefore the larger the difference between the rate of the
disease (DM) among the exposed (overweight) compared to the
rate of the disease among the non-exposed (normal weight), the
larger is the value of the chi-square. The larger the value of chi-
square, the smaller is the value of p, therefore more significant.
9 drtamil@gmail.com 2015
Reject or Not the Null
hypothesis
If the observed table is significantly different than the
expected table, then we will reject the null hypothesis.
Expected Diabetes No Diabetes Total
Overweight 19.5 (19.5%) 80.5 (80.5%) 100
Normal weight 19.5 (19.5%) 80.5 (80.5%) 100
Total 39 (19.5%) 161 (80.5%) 200
10 drtamil@gmail.com 2015
 Basically we are testing whether to reject or not the
null hypothesis.
 Therefore if the observed table is similar to the
expected table, then we will not reject the null
hypothesis
Is the observed table similar of
different than expected table?
Observed Diabetes No Diabetes Total
Overweight 32 (32%) 68 (68%) 100
Normal weight 7 (7%) 93 (93%) 100
Total 39 (19.5%) 161 (80.5%) 200
We can clearly see that there is a huge difference between the
two tables. Chances are that difference is statistically
significant. For that test we use Pearson Chi-Square Test.
Expected Diabetes No Diabetes Total
Overweight 19.5 (19.5%) 80.5 (80.5%) 100
Normal weight 19.5 (19.5%) 80.5 (80.5%) 100
Total 39 (19.5%) 161 (80.5%) 200
11 drtamil@gmail.com 2015
Example:
 2 = (32 – 19.5)2 + (7 – 19.5)2 + (68-80.5)2 + (93 –
80.5)2
19.5 19.5 80.5
80.5
 2 = 8.0128+8.0128+1.9410+1.9410=19.9076
 df = (2-1)(2-1) = 1
 Critical value for df = 1 for p=0.05 is 3.84,
 The calculated 2 is larger than the critical value,
therefore the null hypothesis is rejected.
 Conclusion: There is a sig. diff. of diabetes
mellitus rate between overweight & normal
weight. The overweight respondents has a
significantly (p<0.05) higher rate of DM (32%)
compared to normal weight respondents (7%).
 Hint: Memorise critical values of 3.84 for df=1
and 5.99 for df=2.
12 drtamil@gmail.com 2015
Refer to Table 3.
Look at df = 1.
X2 = 19.91, larger than 10.83
(p=0.001)
10.83(p=0.001) < 19.91
Therefore if 2 = 19.91, p<0.001.
Since the calculated p < 0.05, null
hypothesis rejected.
13 drtamil@gmail.com 2015
Summary
drtamil@gmail.com 201514
 Hypothesis – Overweight higher risk of
developing DM compared to normal weight.
Therefore overweight has higher rate of DM
(32%) compared to normal weight (7%).
 Null hypothesis
 No difference of DM rate between overweight and
normal weight; or
 There is no association between being overweight
and the risk of developing DM.
 Suitable statistical test – Pearson Chi-Square
(n=200, no expected value less than 5).
Summary
drtamil@gmail.com 201515
 Calculation;
  2 = (32 – 19.5)2 + (7 – 19.5)2 + (68-80.5)2 + (93 –
80.5)2
19.5 19.5 80.5
80.5
=
8.0128+8.0128+1.9410+1.9410=19.9076
 df = (2-1)(2-1) = 1
 p < 0.001
 Null hypothesis rejected because p < 0.05
 Conclusion: There is a sig. diff. of DM rate
between overweight & normal weight
respondents. The overweight respondents
has a significantly (p<0.05) higher rate of
DM (32%) compared to normal weight
respondents (7%).

Weitere ähnliche Inhalte

Was ist angesagt?

Journal club vitamin c
Journal club vitamin c Journal club vitamin c
Journal club vitamin c
Yassin Alsaleh
 
toaz.info-mba-strategic-management-notes-pr_9e58f798e270ba3b893de6e76cb34f5e.pdf
toaz.info-mba-strategic-management-notes-pr_9e58f798e270ba3b893de6e76cb34f5e.pdftoaz.info-mba-strategic-management-notes-pr_9e58f798e270ba3b893de6e76cb34f5e.pdf
toaz.info-mba-strategic-management-notes-pr_9e58f798e270ba3b893de6e76cb34f5e.pdf
drsalamdarwish
 
Research Methodology (Mid Term : Solution)
Research Methodology (Mid Term : Solution)Research Methodology (Mid Term : Solution)
Research Methodology (Mid Term : Solution)
nurlianimohdisa
 

Was ist angesagt? (10)

Journal club vitamin c
Journal club vitamin c Journal club vitamin c
Journal club vitamin c
 
2. Tools to calculate samplesize
2. Tools to calculate samplesize2. Tools to calculate samplesize
2. Tools to calculate samplesize
 
11 deepa-khanal journal club presentation
11 deepa-khanal journal club presentation11 deepa-khanal journal club presentation
11 deepa-khanal journal club presentation
 
toaz.info-mba-strategic-management-notes-pr_9e58f798e270ba3b893de6e76cb34f5e.pdf
toaz.info-mba-strategic-management-notes-pr_9e58f798e270ba3b893de6e76cb34f5e.pdftoaz.info-mba-strategic-management-notes-pr_9e58f798e270ba3b893de6e76cb34f5e.pdf
toaz.info-mba-strategic-management-notes-pr_9e58f798e270ba3b893de6e76cb34f5e.pdf
 
Analysis and Interpretation
Analysis and InterpretationAnalysis and Interpretation
Analysis and Interpretation
 
Introduction to multilevel modelling | Ian Brunton-Smith
Introduction to multilevel modelling | Ian Brunton-SmithIntroduction to multilevel modelling | Ian Brunton-Smith
Introduction to multilevel modelling | Ian Brunton-Smith
 
Research Methodology (Mid Term : Solution)
Research Methodology (Mid Term : Solution)Research Methodology (Mid Term : Solution)
Research Methodology (Mid Term : Solution)
 
Presenting the results of meta-analysis
Presenting the results of meta-analysisPresenting the results of meta-analysis
Presenting the results of meta-analysis
 
Introduction to biostatistics
Introduction to biostatisticsIntroduction to biostatistics
Introduction to biostatistics
 
Guess paper biostate
Guess paper biostateGuess paper biostate
Guess paper biostate
 

Andere mochten auch

Deciding on a medical research topic: your first challenge
Deciding on a medical research topic: your first challengeDeciding on a medical research topic: your first challenge
Deciding on a medical research topic: your first challenge
Azmi Mohd Tamil
 

Andere mochten auch (20)

Student's t-test
Student's t-testStudent's t-test
Student's t-test
 
How to run Pearson's Chi-square for SPSS
How to run Pearson's Chi-square for SPSSHow to run Pearson's Chi-square for SPSS
How to run Pearson's Chi-square for SPSS
 
How to run ANOVA on SPSS
How to run ANOVA on SPSSHow to run ANOVA on SPSS
How to run ANOVA on SPSS
 
How to run Student's t-test on SPSS
How to run Student's t-test on SPSSHow to run Student's t-test on SPSS
How to run Student's t-test on SPSS
 
How to draw Scatter plot on SPSS
How to draw Scatter plot on SPSSHow to draw Scatter plot on SPSS
How to draw Scatter plot on SPSS
 
Introduction to spss: define variables
Introduction to spss: define variablesIntroduction to spss: define variables
Introduction to spss: define variables
 
MOOC for Public Health Physicians: Innovative Method in Ensuring Continuous C...
MOOC for Public Health Physicians: Innovative Method in Ensuring Continuous C...MOOC for Public Health Physicians: Innovative Method in Ensuring Continuous C...
MOOC for Public Health Physicians: Innovative Method in Ensuring Continuous C...
 
Running Pearson's Correlation on SPSS
Running Pearson's Correlation on SPSSRunning Pearson's Correlation on SPSS
Running Pearson's Correlation on SPSS
 
How to run Simple Linear Regression on SPSS
How to run Simple Linear Regression on SPSSHow to run Simple Linear Regression on SPSS
How to run Simple Linear Regression on SPSS
 
Difficulty Index, Discrimination Index, Reliability and Rasch Measurement Ana...
Difficulty Index, Discrimination Index, Reliability and Rasch Measurement Ana...Difficulty Index, Discrimination Index, Reliability and Rasch Measurement Ana...
Difficulty Index, Discrimination Index, Reliability and Rasch Measurement Ana...
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestStudent's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
 
Deciding on a medical research topic: your first challenge
Deciding on a medical research topic: your first challengeDeciding on a medical research topic: your first challenge
Deciding on a medical research topic: your first challenge
 
Exploratory Data Analysis - Checking For Normality
Exploratory Data Analysis - Checking For NormalityExploratory Data Analysis - Checking For Normality
Exploratory Data Analysis - Checking For Normality
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Sample size calculation - a brief overview
Sample size calculation - a brief overviewSample size calculation - a brief overview
Sample size calculation - a brief overview
 
Pearson Correlation, Spearman Correlation &Linear Regression
Pearson Correlation, Spearman Correlation &Linear RegressionPearson Correlation, Spearman Correlation &Linear Regression
Pearson Correlation, Spearman Correlation &Linear Regression
 
How to create a MOOC account
How to create a MOOC accountHow to create a MOOC account
How to create a MOOC account
 
iPad in Education Part 1 - Screencasting
iPad in Education Part 1 - ScreencastingiPad in Education Part 1 - Screencasting
iPad in Education Part 1 - Screencasting
 
Introduction to Statistical Analysis Using Graphpad Prism 6
Introduction to Statistical Analysis Using Graphpad Prism 6Introduction to Statistical Analysis Using Graphpad Prism 6
Introduction to Statistical Analysis Using Graphpad Prism 6
 

Ähnlich wie Pearson Chi-Square

Sanitized Company TA Lifestyle Challenge report 2016
Sanitized Company TA  Lifestyle Challenge report 2016Sanitized Company TA  Lifestyle Challenge report 2016
Sanitized Company TA Lifestyle Challenge report 2016
Regine du Plessis
 
Statistical analysis
Statistical analysisStatistical analysis
Statistical analysis
highlandn
 
City Council December 20, 2011 Wellness Report
City Council December 20, 2011 Wellness ReportCity Council December 20, 2011 Wellness Report
City Council December 20, 2011 Wellness Report
City of San Angelo Texas
 
3 6 datatests-slides
3 6 datatests-slides3 6 datatests-slides
3 6 datatests-slides
crisabel sosa
 
How to relationship between body wight and pre diabetes
How to relationship between body wight and pre diabetesHow to relationship between body wight and pre diabetes
How to relationship between body wight and pre diabetes
Shantha Lokuge
 
You are an employee at Novartis. The company is currently addres.docx
You are an employee at Novartis. The company is currently addres.docxYou are an employee at Novartis. The company is currently addres.docx
You are an employee at Novartis. The company is currently addres.docx
odiliagilby
 
You are an employee at Novartis. The company is currently addres.docx
You are an employee at Novartis. The company is currently addres.docxYou are an employee at Novartis. The company is currently addres.docx
You are an employee at Novartis. The company is currently addres.docx
avaforman16457
 
Statistics trinity college
Statistics trinity collegeStatistics trinity college
Statistics trinity college
Stacy Carter
 
Statistics trinity college
Statistics trinity collegeStatistics trinity college
Statistics trinity college
Stacy Carter
 

Ähnlich wie Pearson Chi-Square (20)

Introduction to medical statistics
Introduction to medical statistics Introduction to medical statistics
Introduction to medical statistics
 
Sanitized Company TA Lifestyle Challenge report 2016
Sanitized Company TA  Lifestyle Challenge report 2016Sanitized Company TA  Lifestyle Challenge report 2016
Sanitized Company TA Lifestyle Challenge report 2016
 
Statistical analysis
Statistical analysisStatistical analysis
Statistical analysis
 
Vanity Metrics #QS: Stop to measure the wrong things
Vanity Metrics #QS: Stop to measure the wrong thingsVanity Metrics #QS: Stop to measure the wrong things
Vanity Metrics #QS: Stop to measure the wrong things
 
City Council December 20, 2011 Wellness Report
City Council December 20, 2011 Wellness ReportCity Council December 20, 2011 Wellness Report
City Council December 20, 2011 Wellness Report
 
Gestational Diabetes outcome from India
Gestational Diabetes outcome from IndiaGestational Diabetes outcome from India
Gestational Diabetes outcome from India
 
Threats and Analysis
Threats and AnalysisThreats and Analysis
Threats and Analysis
 
Can the management of blood sugar levels in gestational diabetes mellitus cas...
Can the management of blood sugar levels in gestational diabetes mellitus cas...Can the management of blood sugar levels in gestational diabetes mellitus cas...
Can the management of blood sugar levels in gestational diabetes mellitus cas...
 
Analyzing the diabettes datasheet using python
Analyzing the diabettes datasheet using pythonAnalyzing the diabettes datasheet using python
Analyzing the diabettes datasheet using python
 
3 6 datatests-slides
3 6 datatests-slides3 6 datatests-slides
3 6 datatests-slides
 
Cochran-Mantel-Haenszel Test with Breslow-Day & Tarone Correction
Cochran-Mantel-Haenszel Test with Breslow-Day & Tarone CorrectionCochran-Mantel-Haenszel Test with Breslow-Day & Tarone Correction
Cochran-Mantel-Haenszel Test with Breslow-Day & Tarone Correction
 
Two sample t-test
Two sample t-testTwo sample t-test
Two sample t-test
 
How to relationship between body wight and pre diabetes
How to relationship between body wight and pre diabetesHow to relationship between body wight and pre diabetes
How to relationship between body wight and pre diabetes
 
Crash Course in A/B testing
Crash Course in A/B testingCrash Course in A/B testing
Crash Course in A/B testing
 
Causality in Python PyCon 2021 ISRAEL
Causality in Python PyCon 2021 ISRAELCausality in Python PyCon 2021 ISRAEL
Causality in Python PyCon 2021 ISRAEL
 
You are an employee at Novartis. The company is currently addres.docx
You are an employee at Novartis. The company is currently addres.docxYou are an employee at Novartis. The company is currently addres.docx
You are an employee at Novartis. The company is currently addres.docx
 
You are an employee at Novartis. The company is currently addres.docx
You are an employee at Novartis. The company is currently addres.docxYou are an employee at Novartis. The company is currently addres.docx
You are an employee at Novartis. The company is currently addres.docx
 
MD Paediatricts (Part 2) - Epidemiology and Statistics
MD Paediatricts (Part 2) - Epidemiology and StatisticsMD Paediatricts (Part 2) - Epidemiology and Statistics
MD Paediatricts (Part 2) - Epidemiology and Statistics
 
Statistics trinity college
Statistics trinity collegeStatistics trinity college
Statistics trinity college
 
Statistics trinity college
Statistics trinity collegeStatistics trinity college
Statistics trinity college
 

Mehr von Azmi Mohd Tamil

Mehr von Azmi Mohd Tamil (20)

Hybrid setup - How to conduct simultaneous face-to-face and online presentati...
Hybrid setup - How to conduct simultaneous face-to-face and online presentati...Hybrid setup - How to conduct simultaneous face-to-face and online presentati...
Hybrid setup - How to conduct simultaneous face-to-face and online presentati...
 
Audiovisual and technicalities from preparation to retrieval how to enhance m...
Audiovisual and technicalities from preparation to retrieval how to enhance m...Audiovisual and technicalities from preparation to retrieval how to enhance m...
Audiovisual and technicalities from preparation to retrieval how to enhance m...
 
Broadcast quality online teaching at zero budget
Broadcast quality online teaching at zero budgetBroadcast quality online teaching at zero budget
Broadcast quality online teaching at zero budget
 
Video for Teaching & Learning: OBS
Video for Teaching & Learning: OBSVideo for Teaching & Learning: OBS
Video for Teaching & Learning: OBS
 
Bengkel 21-12-2020 - Etika atas Talian & Alat Minima
Bengkel 21-12-2020 - Etika atas Talian & Alat MinimaBengkel 21-12-2020 - Etika atas Talian & Alat Minima
Bengkel 21-12-2020 - Etika atas Talian & Alat Minima
 
GIS & History of Mapping in Malaya (lecture notes circa 2009)
GIS & History of Mapping in Malaya (lecture notes circa 2009)GIS & History of Mapping in Malaya (lecture notes circa 2009)
GIS & History of Mapping in Malaya (lecture notes circa 2009)
 
Blended e-learning in UKMFolio
Blended e-learning in UKMFolioBlended e-learning in UKMFolio
Blended e-learning in UKMFolio
 
How to Compute & Recode SPSS Data
How to Compute & Recode SPSS DataHow to Compute & Recode SPSS Data
How to Compute & Recode SPSS Data
 
Introduction to Data Analysis With R and R Studio
Introduction to Data Analysis With R and R StudioIntroduction to Data Analysis With R and R Studio
Introduction to Data Analysis With R and R Studio
 
Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...
Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...
Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...
 
Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...
Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...
Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...
 
Cochran Mantel Haenszel Test with Breslow-Day Test & Quadratic Equation
Cochran Mantel Haenszel Test with Breslow-Day Test & Quadratic EquationCochran Mantel Haenszel Test with Breslow-Day Test & Quadratic Equation
Cochran Mantel Haenszel Test with Breslow-Day Test & Quadratic Equation
 
New Emerging And Reemerging Infections circa 2006
New Emerging And Reemerging Infections circa 2006New Emerging And Reemerging Infections circa 2006
New Emerging And Reemerging Infections circa 2006
 
Hacks#36 -Raspberry Pi 4 Mini Computer
Hacks#36 -Raspberry Pi 4 Mini ComputerHacks#36 -Raspberry Pi 4 Mini Computer
Hacks#36 -Raspberry Pi 4 Mini Computer
 
Hack#35 How to FB Live using a Video Encoder
Hack#35 How to FB Live using a Video EncoderHack#35 How to FB Live using a Video Encoder
Hack#35 How to FB Live using a Video Encoder
 
Hack#34 - Online Teaching with Microsoft Teams
Hack#34 - Online Teaching with Microsoft TeamsHack#34 - Online Teaching with Microsoft Teams
Hack#34 - Online Teaching with Microsoft Teams
 
Hack#33 How To FB-Live
Hack#33 How To FB-LiveHack#33 How To FB-Live
Hack#33 How To FB-Live
 
Skype for Business for UKM
Skype for Business for UKM Skype for Business for UKM
Skype for Business for UKM
 
Introduction to Structural Equation Modeling
Introduction to Structural Equation ModelingIntroduction to Structural Equation Modeling
Introduction to Structural Equation Modeling
 
Safe computing (circa 2004)
Safe computing (circa 2004)Safe computing (circa 2004)
Safe computing (circa 2004)
 

KĂźrzlich hochgeladen

👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
rajnisinghkjn
 
Pune Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Pune No💰Adva...
Pune Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Pune No💰Adva...Pune Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Pune No💰Adva...
Pune Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Pune No💰Adva...
Sheetaleventcompany
 
Low Cost Call Girls Bangalore {9179660964} ❤️VVIP NISHA Call Girls in Bangalo...
Low Cost Call Girls Bangalore {9179660964} ❤️VVIP NISHA Call Girls in Bangalo...Low Cost Call Girls Bangalore {9179660964} ❤️VVIP NISHA Call Girls in Bangalo...
Low Cost Call Girls Bangalore {9179660964} ❤️VVIP NISHA Call Girls in Bangalo...
Sheetaleventcompany
 
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Sheetaleventcompany
 
Call Girl in Chennai | Whatsapp No 📞 7427069034 📞 VIP Escorts Service Availab...
Call Girl in Chennai | Whatsapp No 📞 7427069034 📞 VIP Escorts Service Availab...Call Girl in Chennai | Whatsapp No 📞 7427069034 📞 VIP Escorts Service Availab...
Call Girl in Chennai | Whatsapp No 📞 7427069034 📞 VIP Escorts Service Availab...
amritaverma53
 

KĂźrzlich hochgeladen (20)

Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service AvailableCall Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
 
(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...
(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...
(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...
 
Kolkata Call Girls Shobhabazar 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Gir...
Kolkata Call Girls Shobhabazar  💯Call Us 🔝 8005736733 🔝 💃  Top Class Call Gir...Kolkata Call Girls Shobhabazar  💯Call Us 🔝 8005736733 🔝 💃  Top Class Call Gir...
Kolkata Call Girls Shobhabazar 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Gir...
 
Call Girl In Chandigarh 📞9809698092📞 Just📲 Call Inaaya Chandigarh Call Girls ...
Call Girl In Chandigarh 📞9809698092📞 Just📲 Call Inaaya Chandigarh Call Girls ...Call Girl In Chandigarh 📞9809698092📞 Just📲 Call Inaaya Chandigarh Call Girls ...
Call Girl In Chandigarh 📞9809698092📞 Just📲 Call Inaaya Chandigarh Call Girls ...
 
7 steps How to prevent Thalassemia : Dr Sharda Jain & Vandana Gupta
7 steps How to prevent Thalassemia : Dr Sharda Jain & Vandana Gupta7 steps How to prevent Thalassemia : Dr Sharda Jain & Vandana Gupta
7 steps How to prevent Thalassemia : Dr Sharda Jain & Vandana Gupta
 
ANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptxANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptx
 
Call Girls in Lucknow Just Call 👉👉 8875999948 Top Class Call Girl Service Ava...
Call Girls in Lucknow Just Call 👉👉 8875999948 Top Class Call Girl Service Ava...Call Girls in Lucknow Just Call 👉👉 8875999948 Top Class Call Girl Service Ava...
Call Girls in Lucknow Just Call 👉👉 8875999948 Top Class Call Girl Service Ava...
 
Call Girls Kathua Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Kathua Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Kathua Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Kathua Just Call 8250077686 Top Class Call Girl Service Available
 
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
 
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
 
Pune Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Pune No💰Adva...
Pune Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Pune No💰Adva...Pune Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Pune No💰Adva...
Pune Call Girl Service 📞9xx000xx09📞Just Call Divya📲 Call Girl In Pune No💰Adva...
 
💰Call Girl In Bangalore☎️63788-78445💰 Call Girl service in Bangalore☎️Bangalo...
💰Call Girl In Bangalore☎️63788-78445💰 Call Girl service in Bangalore☎️Bangalo...💰Call Girl In Bangalore☎️63788-78445💰 Call Girl service in Bangalore☎️Bangalo...
💰Call Girl In Bangalore☎️63788-78445💰 Call Girl service in Bangalore☎️Bangalo...
 
Call Girls Rishikesh Just Call 9667172968 Top Class Call Girl Service Available
Call Girls Rishikesh Just Call 9667172968 Top Class Call Girl Service AvailableCall Girls Rishikesh Just Call 9667172968 Top Class Call Girl Service Available
Call Girls Rishikesh Just Call 9667172968 Top Class Call Girl Service Available
 
Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...
Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...
Call Girls Bangalore - 450+ Call Girl Cash Payment 💯Call Us 🔝 6378878445 🔝 💃 ...
 
Call Girls in Lucknow Just Call 👉👉8630512678 Top Class Call Girl Service Avai...
Call Girls in Lucknow Just Call 👉👉8630512678 Top Class Call Girl Service Avai...Call Girls in Lucknow Just Call 👉👉8630512678 Top Class Call Girl Service Avai...
Call Girls in Lucknow Just Call 👉👉8630512678 Top Class Call Girl Service Avai...
 
Low Cost Call Girls Bangalore {9179660964} ❤️VVIP NISHA Call Girls in Bangalo...
Low Cost Call Girls Bangalore {9179660964} ❤️VVIP NISHA Call Girls in Bangalo...Low Cost Call Girls Bangalore {9179660964} ❤️VVIP NISHA Call Girls in Bangalo...
Low Cost Call Girls Bangalore {9179660964} ❤️VVIP NISHA Call Girls in Bangalo...
 
ANATOMY AND PHYSIOLOGY OF REPRODUCTIVE SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF REPRODUCTIVE SYSTEM.pptxANATOMY AND PHYSIOLOGY OF REPRODUCTIVE SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF REPRODUCTIVE SYSTEM.pptx
 
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
 
Call Girl in Chennai | Whatsapp No 📞 7427069034 📞 VIP Escorts Service Availab...
Call Girl in Chennai | Whatsapp No 📞 7427069034 📞 VIP Escorts Service Availab...Call Girl in Chennai | Whatsapp No 📞 7427069034 📞 VIP Escorts Service Availab...
Call Girl in Chennai | Whatsapp No 📞 7427069034 📞 VIP Escorts Service Availab...
 
Call 8250092165 Patna Call Girls ₹4.5k Cash Payment With Room Delivery
Call 8250092165 Patna Call Girls ₹4.5k Cash Payment With Room DeliveryCall 8250092165 Patna Call Girls ₹4.5k Cash Payment With Room Delivery
Call 8250092165 Patna Call Girls ₹4.5k Cash Payment With Room Delivery
 

Pearson Chi-Square

  • 1. Dr Azmi Mohd Tamil n > 20 No expected value <5. Pearson’s Chi-Square Test 1 drtamil@gmail.com 2015
  • 2. Concept drtamil@gmail.com 20152  Basically we are comparing the rate of the disease among the exposed against the rate of the disease among the non-exposed.  If the exposure is related to the disease, we would expect those exposed to have a significantly higher (“causative”) or lower (“protective”) rate of the disease compared to those unexposed.Disease + Disease - TOTAL Exposure + a b a+b Exposure - c d c+d TOTAL a+c b+d n
  • 3. e.g. Obesity & Diabetes Mellitus Observed Diabetes YES Diabetes NO TOTAL Overweight 32 (32%) 68 100 Normal 7 (7%) 93 100 TOTAL 39 (19.5%) 161 200 3 drtamil@gmail.com 2015
  • 4. Research Question  Are overweight respondents more likely to develop diabetes mellitus (DM) compared to normal weight respondents?  If it is true, then we expect a higher rate of DM among overweight respondents (32%) compared to among normal weight respondents (7%).  Chi-Square test whether the rate difference (32% vs 7%) is significantly different than the expected values. 4 drtamil@gmail.com 2015
  • 5. Null hypothesis  Null hypothesis assumes that there is no association between overweight and diabetes mellitus. As though being overweight has no effect on the risk of developing diabetes.  If being overweight has no effect on developing diabetes mellitus, then the rate of diabetes mellitus for both overweight and normal weight should be the same. This is the expected value as calculated in the expected table.  The statistical test conducted is to decide whether or not to reject the null hypothesis. So if the observed table is sig. diff. than5 drtamil@gmail.com 2015
  • 6. Null hypothesis If there is no difference of diabetes mellitus rate between the two groups, then the rate of diabetes mellitus is similar between the two groups (overweight=19.5% & normal weight=19.5%). Expected Diabetes No Diabetes Total Overweight 19.5 (19.5%) 80.5 (80.5%) 100 Normal weight 19.5 (19.5%) 80.5 (80.5%) 100 Total 39 (19.5%) 161 (80.5%) 200 6 drtamil@gmail.com 2015  There is no association between overweight and diabetes mellitus.  Therefore there is no difference of DM (disease) rate among the overweight (exposed) and normal weight (non-exposed)
  • 7. Why do we need to calculate the expected value?  Because we are testing whether to reject or not the null hypothesis. Null hypothesis stated that there is no difference of diabetes mellitus rate between overweight group and normal weight group.  Expected value is the value if there is no difference of diabetes mellitus rate between the overweight and normal weight groups.7 drtamil@gmail.com 2015
  • 8. Why do we need to calculate expected value? Observed Diabetes No Diabetes Total Overweight 32 (32%) 68 (68%) 100 Normal weight 7 (7%) 93 (93%) 100 Total 39 (19.5%) 161 (80.5%) 200 If there is no difference of diabetes mellitus rate between the two groups, then the diabetes mellitus rate is similar between the two groups (overweight=19.5% & normal weight=19.5%). Expected Diabetes No Diabetes Total Overweight 19.5 (19.5%) 80.5 (80.5%) 100 Normal weight 19.5 (19.5%) 80.5 (80.5%) 100 Total 39 (19.5%) 161 (80.5%) 200 8 drtamil@gmail.com 2015
  • 9. FORMULA 2= [ (O – E) 2 ] E - How different is the observed value compared to the expected value? To get the difference, we deduct the expected value from the observed value. By squaring the difference, we nullify the negative value that may arises. Thus Chi-”Square”! Then that is compared against the expected value (as in the formula above). - Therefore the larger the difference between the rate of the disease (DM) among the exposed (overweight) compared to the rate of the disease among the non-exposed (normal weight), the larger is the value of the chi-square. The larger the value of chi- square, the smaller is the value of p, therefore more significant. 9 drtamil@gmail.com 2015
  • 10. Reject or Not the Null hypothesis If the observed table is significantly different than the expected table, then we will reject the null hypothesis. Expected Diabetes No Diabetes Total Overweight 19.5 (19.5%) 80.5 (80.5%) 100 Normal weight 19.5 (19.5%) 80.5 (80.5%) 100 Total 39 (19.5%) 161 (80.5%) 200 10 drtamil@gmail.com 2015  Basically we are testing whether to reject or not the null hypothesis.  Therefore if the observed table is similar to the expected table, then we will not reject the null hypothesis
  • 11. Is the observed table similar of different than expected table? Observed Diabetes No Diabetes Total Overweight 32 (32%) 68 (68%) 100 Normal weight 7 (7%) 93 (93%) 100 Total 39 (19.5%) 161 (80.5%) 200 We can clearly see that there is a huge difference between the two tables. Chances are that difference is statistically significant. For that test we use Pearson Chi-Square Test. Expected Diabetes No Diabetes Total Overweight 19.5 (19.5%) 80.5 (80.5%) 100 Normal weight 19.5 (19.5%) 80.5 (80.5%) 100 Total 39 (19.5%) 161 (80.5%) 200 11 drtamil@gmail.com 2015
  • 12. Example:  2 = (32 – 19.5)2 + (7 – 19.5)2 + (68-80.5)2 + (93 – 80.5)2 19.5 19.5 80.5 80.5  2 = 8.0128+8.0128+1.9410+1.9410=19.9076  df = (2-1)(2-1) = 1  Critical value for df = 1 for p=0.05 is 3.84,  The calculated 2 is larger than the critical value, therefore the null hypothesis is rejected.  Conclusion: There is a sig. diff. of diabetes mellitus rate between overweight & normal weight. The overweight respondents has a significantly (p<0.05) higher rate of DM (32%) compared to normal weight respondents (7%).  Hint: Memorise critical values of 3.84 for df=1 and 5.99 for df=2. 12 drtamil@gmail.com 2015
  • 13. Refer to Table 3. Look at df = 1. X2 = 19.91, larger than 10.83 (p=0.001) 10.83(p=0.001) < 19.91 Therefore if 2 = 19.91, p<0.001. Since the calculated p < 0.05, null hypothesis rejected. 13 drtamil@gmail.com 2015
  • 14. Summary drtamil@gmail.com 201514  Hypothesis – Overweight higher risk of developing DM compared to normal weight. Therefore overweight has higher rate of DM (32%) compared to normal weight (7%).  Null hypothesis  No difference of DM rate between overweight and normal weight; or  There is no association between being overweight and the risk of developing DM.  Suitable statistical test – Pearson Chi-Square (n=200, no expected value less than 5).
  • 15. Summary drtamil@gmail.com 201515  Calculation;   2 = (32 – 19.5)2 + (7 – 19.5)2 + (68-80.5)2 + (93 – 80.5)2 19.5 19.5 80.5 80.5 = 8.0128+8.0128+1.9410+1.9410=19.9076  df = (2-1)(2-1) = 1  p < 0.001  Null hypothesis rejected because p < 0.05  Conclusion: There is a sig. diff. of DM rate between overweight & normal weight respondents. The overweight respondents has a significantly (p<0.05) higher rate of DM (32%) compared to normal weight respondents (7%).