SlideShare a Scribd company logo
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%).

More Related Content

What's hot

What is bias in statistics its definition and types
What is bias in statistics its definition and typesWhat is bias in statistics its definition and types
What is bias in statistics its definition and types
Stat Analytica
 
1 statistical description
1 statistical description1 statistical description
1 statistical description
Anas Farooq Maniya AFM
 
Epidata ppt user guide
Epidata ppt user guideEpidata ppt user guide
Epidata ppt user guide
Sadat Mohammed
 
Biostats epidemiological studies
Biostats epidemiological studiesBiostats epidemiological studies
Biostats epidemiological studiesJagdish Dukre
 
Measures of association - Biostatistics
Measures of association - BiostatisticsMeasures of association - Biostatistics
Measures of association - Biostatistics
HelpWithAssignment.com
 
Association and Causation
Association and CausationAssociation and Causation
Association and Causation
Jayaramachandran S
 
Vaccination as a health prevention strategy for elderly
Vaccination as a health prevention strategy for elderlyVaccination as a health prevention strategy for elderly
Vaccination as a health prevention strategy for elderlyMarc Evans Abat
 
Research methods
Research methodsResearch methods
Research methods
kbolinsky
 
L5 rm cohort studies case control studies
L5 rm cohort studies case control studiesL5 rm cohort studies case control studies
L5 rm cohort studies case control studies
Dr Ghaiath Hussein
 
Calculating person time
Calculating person timeCalculating person time
Calculating person time
Kadium
 
Article presentation on clinical trial
Article presentation on clinical trialArticle presentation on clinical trial
Article presentation on clinical trialPriyamadhaba Behera
 
Advanced Biostatistics Course Note_Summer_Tadesse Awoke 2018.pptx
Advanced Biostatistics Course Note_Summer_Tadesse Awoke 2018.pptxAdvanced Biostatistics Course Note_Summer_Tadesse Awoke 2018.pptx
Advanced Biostatistics Course Note_Summer_Tadesse Awoke 2018.pptx
MohammedAbdela7
 
Clinical Research for Medical Students
Clinical Research for Medical StudentsClinical Research for Medical Students
Clinical Research for Medical Students
Ahmed Negida
 
6. Calculate samplesize for cohort studies
6. Calculate samplesize for cohort studies6. Calculate samplesize for cohort studies
6. Calculate samplesize for cohort studies
Azmi Mohd Tamil
 
writing references
writing referenceswriting references
writing references
VIPIN PATIDAR
 
How to analyse data using Stata
How to analyse data using StataHow to analyse data using Stata
How to analyse data using Stata
Azmi Mohd Tamil
 
Gastroenterology SCE MCQ
Gastroenterology SCE MCQGastroenterology SCE MCQ
Gastroenterology SCE MCQ
juuraju
 
Survival analysis
Survival analysisSurvival analysis
Survival analysis
Har Jindal
 
Error, confounding and bias
Error, confounding and biasError, confounding and bias
Error, confounding and bias
Amandeep Kaur
 
How to calculate Sample Size
How to calculate Sample SizeHow to calculate Sample Size
How to calculate Sample Size
MNDU net
 

What's hot (20)

What is bias in statistics its definition and types
What is bias in statistics its definition and typesWhat is bias in statistics its definition and types
What is bias in statistics its definition and types
 
1 statistical description
1 statistical description1 statistical description
1 statistical description
 
Epidata ppt user guide
Epidata ppt user guideEpidata ppt user guide
Epidata ppt user guide
 
Biostats epidemiological studies
Biostats epidemiological studiesBiostats epidemiological studies
Biostats epidemiological studies
 
Measures of association - Biostatistics
Measures of association - BiostatisticsMeasures of association - Biostatistics
Measures of association - Biostatistics
 
Association and Causation
Association and CausationAssociation and Causation
Association and Causation
 
Vaccination as a health prevention strategy for elderly
Vaccination as a health prevention strategy for elderlyVaccination as a health prevention strategy for elderly
Vaccination as a health prevention strategy for elderly
 
Research methods
Research methodsResearch methods
Research methods
 
L5 rm cohort studies case control studies
L5 rm cohort studies case control studiesL5 rm cohort studies case control studies
L5 rm cohort studies case control studies
 
Calculating person time
Calculating person timeCalculating person time
Calculating person time
 
Article presentation on clinical trial
Article presentation on clinical trialArticle presentation on clinical trial
Article presentation on clinical trial
 
Advanced Biostatistics Course Note_Summer_Tadesse Awoke 2018.pptx
Advanced Biostatistics Course Note_Summer_Tadesse Awoke 2018.pptxAdvanced Biostatistics Course Note_Summer_Tadesse Awoke 2018.pptx
Advanced Biostatistics Course Note_Summer_Tadesse Awoke 2018.pptx
 
Clinical Research for Medical Students
Clinical Research for Medical StudentsClinical Research for Medical Students
Clinical Research for Medical Students
 
6. Calculate samplesize for cohort studies
6. Calculate samplesize for cohort studies6. Calculate samplesize for cohort studies
6. Calculate samplesize for cohort studies
 
writing references
writing referenceswriting references
writing references
 
How to analyse data using Stata
How to analyse data using StataHow to analyse data using Stata
How to analyse data using Stata
 
Gastroenterology SCE MCQ
Gastroenterology SCE MCQGastroenterology SCE MCQ
Gastroenterology SCE MCQ
 
Survival analysis
Survival analysisSurvival analysis
Survival analysis
 
Error, confounding and bias
Error, confounding and biasError, confounding and bias
Error, confounding and bias
 
How to calculate Sample Size
How to calculate Sample SizeHow to calculate Sample Size
How to calculate Sample Size
 

Viewers also liked

Student's t-test
Student's t-testStudent's t-test
Student's t-test
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
How to run ANOVA on SPSS
How to run ANOVA on SPSSHow to run ANOVA on SPSS
How to run ANOVA on SPSS
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
Introduction to spss: define variables
Introduction to spss: define variablesIntroduction to spss: define variables
Introduction to spss: define variables
Azmi Mohd Tamil
 
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...
Azmi Mohd Tamil
 
Running Pearson's Correlation on SPSS
Running Pearson's Correlation on SPSSRunning Pearson's Correlation on SPSS
Running Pearson's Correlation on SPSS
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
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...
Azmi Mohd Tamil
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
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
 
Exploratory Data Analysis - Checking For Normality
Exploratory Data Analysis - Checking For NormalityExploratory Data Analysis - Checking For Normality
Exploratory Data Analysis - Checking For Normality
Azmi Mohd Tamil
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
Azmi Mohd Tamil
 
Sample size calculation - a brief overview
Sample size calculation - a brief overviewSample size calculation - a brief overview
Sample size calculation - a brief overview
Azmi Mohd Tamil
 
Pearson Correlation, Spearman Correlation &Linear Regression
Pearson Correlation, Spearman Correlation &Linear RegressionPearson Correlation, Spearman Correlation &Linear Regression
Pearson Correlation, Spearman Correlation &Linear Regression
Azmi Mohd Tamil
 
How to create a MOOC account
How to create a MOOC accountHow to create a MOOC account
How to create a MOOC account
Azmi Mohd Tamil
 
iPad in Education Part 1 - Screencasting
iPad in Education Part 1 - ScreencastingiPad in Education Part 1 - Screencasting
iPad in Education Part 1 - Screencasting
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 

Viewers also liked (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
 

Similar to Pearson Chi-Square

Introduction to medical statistics
Introduction to medical statistics Introduction to medical statistics
Introduction to medical statistics
Mohamed Alhelaly
 
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 2016Regine du Plessis
 
Statistical analysis
Statistical analysisStatistical analysis
Statistical analysishighlandn
 
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
Leonard Tulipan
 
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 ReportCity of San Angelo Texas
 
Gestational Diabetes outcome from India
Gestational Diabetes outcome from IndiaGestational Diabetes outcome from India
Gestational Diabetes outcome from India
Jain hospital,Mahavir Sikshan Sansthan
 
Threats and Analysis
Threats and AnalysisThreats and Analysis
Threats and Analysis
clearsateam
 
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...
Jain hospital,Mahavir Sikshan Sansthan
 
Analyzing the diabettes datasheet using python
Analyzing the diabettes datasheet using pythonAnalyzing the diabettes datasheet using python
Analyzing the diabettes datasheet using python
AmirthaRadhakrishnan
 
3 6 datatests-slides
3 6 datatests-slides3 6 datatests-slides
3 6 datatests-slidescrisabel sosa
 
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
Azmi Mohd Tamil
 
Two sample t-test
Two sample t-testTwo sample t-test
Two sample t-test
Stephen Lange
 
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
 
Crash Course in A/B testing
Crash Course in A/B testingCrash Course in A/B testing
Crash Course in A/B testing
Wayne Lee
 
Causality in Python PyCon 2021 ISRAEL
Causality in Python PyCon 2021 ISRAELCausality in Python PyCon 2021 ISRAEL
Causality in Python PyCon 2021 ISRAEL
Hanan Shteingart
 
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
 
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
Bernard Deepal W. Jayamanne
 
Statistics trinity college
Statistics trinity collegeStatistics trinity college
Statistics trinity collegeStacy Carter
 
Statistics trinity college
Statistics trinity collegeStatistics trinity college
Statistics trinity collegeStacy Carter
 

Similar to 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
 

More from Azmi Mohd Tamil

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...
Azmi Mohd Tamil
 
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...
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
Video for Teaching & Learning: OBS
Video for Teaching & Learning: OBSVideo for Teaching & Learning: OBS
Video for Teaching & Learning: OBS
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
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)
Azmi Mohd Tamil
 
Blended e-learning in UKMFolio
Blended e-learning in UKMFolioBlended e-learning in UKMFolio
Blended e-learning in UKMFolio
Azmi Mohd Tamil
 
How to Compute & Recode SPSS Data
How to Compute & Recode SPSS DataHow to Compute & Recode SPSS Data
How to Compute & Recode SPSS Data
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
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...
Azmi Mohd Tamil
 
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...
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
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
Azmi Mohd Tamil
 
Hack#33 How To FB-Live
Hack#33 How To FB-LiveHack#33 How To FB-Live
Hack#33 How To FB-Live
Azmi Mohd Tamil
 
Skype for Business for UKM
Skype for Business for UKM Skype for Business for UKM
Skype for Business for UKM
Azmi Mohd Tamil
 
Introduction to Structural Equation Modeling
Introduction to Structural Equation ModelingIntroduction to Structural Equation Modeling
Introduction to Structural Equation Modeling
Azmi Mohd Tamil
 
Safe computing (circa 2004)
Safe computing (circa 2004)Safe computing (circa 2004)
Safe computing (circa 2004)
Azmi Mohd Tamil
 

More from 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)
 

Recently uploaded

For Better Surat #ℂall #Girl Service ❤85270-49040❤ Surat #ℂall #Girls
For Better Surat #ℂall #Girl Service ❤85270-49040❤ Surat #ℂall #GirlsFor Better Surat #ℂall #Girl Service ❤85270-49040❤ Surat #ℂall #Girls
For Better Surat #ℂall #Girl Service ❤85270-49040❤ Surat #ℂall #Girls
Savita Shen $i11
 
Physiology of Chemical Sensation of smell.pdf
Physiology of Chemical Sensation of smell.pdfPhysiology of Chemical Sensation of smell.pdf
Physiology of Chemical Sensation of smell.pdf
MedicoseAcademics
 
ARTIFICIAL INTELLIGENCE IN HEALTHCARE.pdf
ARTIFICIAL INTELLIGENCE IN  HEALTHCARE.pdfARTIFICIAL INTELLIGENCE IN  HEALTHCARE.pdf
ARTIFICIAL INTELLIGENCE IN HEALTHCARE.pdf
Anujkumaranit
 
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
kevinkariuki227
 
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptxANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
Swetaba Besh
 
New Drug Discovery and Development .....
New Drug Discovery and Development .....New Drug Discovery and Development .....
New Drug Discovery and Development .....
NEHA GUPTA
 
Prix Galien International 2024 Forum Program
Prix Galien International 2024 Forum ProgramPrix Galien International 2024 Forum Program
Prix Galien International 2024 Forum Program
Levi Shapiro
 
24 Upakrama.pptx class ppt useful in all
24 Upakrama.pptx class ppt useful in all24 Upakrama.pptx class ppt useful in all
24 Upakrama.pptx class ppt useful in all
DrSathishMS1
 
Flu Vaccine Alert in Bangalore Karnataka
Flu Vaccine Alert in Bangalore KarnatakaFlu Vaccine Alert in Bangalore Karnataka
Flu Vaccine Alert in Bangalore Karnataka
addon Scans
 
Non-respiratory Functions of the Lungs.pdf
Non-respiratory Functions of the Lungs.pdfNon-respiratory Functions of the Lungs.pdf
Non-respiratory Functions of the Lungs.pdf
MedicoseAcademics
 
263778731218 Abortion Clinic /Pills In Harare ,
263778731218 Abortion Clinic /Pills In Harare ,263778731218 Abortion Clinic /Pills In Harare ,
263778731218 Abortion Clinic /Pills In Harare ,
sisternakatoto
 
basicmodesofventilation2022-220313203758.pdf
basicmodesofventilation2022-220313203758.pdfbasicmodesofventilation2022-220313203758.pdf
basicmodesofventilation2022-220313203758.pdf
aljamhori teaching hospital
 
Knee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdfKnee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdf
vimalpl1234
 
ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTSARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
Dr. Vinay Pareek
 
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptxMaxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
Dr. Rabia Inam Gandapore
 
Physiology of Special Chemical Sensation of Taste
Physiology of Special Chemical Sensation of TastePhysiology of Special Chemical Sensation of Taste
Physiology of Special Chemical Sensation of Taste
MedicoseAcademics
 
Charaka Samhita Sutra sthana Chapter 15 Upakalpaniyaadhyaya
Charaka Samhita Sutra sthana Chapter 15 UpakalpaniyaadhyayaCharaka Samhita Sutra sthana Chapter 15 Upakalpaniyaadhyaya
Charaka Samhita Sutra sthana Chapter 15 Upakalpaniyaadhyaya
Dr KHALID B.M
 
heat stroke and heat exhaustion in children
heat stroke and heat exhaustion in childrenheat stroke and heat exhaustion in children
heat stroke and heat exhaustion in children
SumeraAhmad5
 
KDIGO 2024 guidelines for diabetologists
KDIGO 2024 guidelines for diabetologistsKDIGO 2024 guidelines for diabetologists
KDIGO 2024 guidelines for diabetologists
د.محمود نجيب
 
The Normal Electrocardiogram - Part I of II
The Normal Electrocardiogram - Part I of IIThe Normal Electrocardiogram - Part I of II
The Normal Electrocardiogram - Part I of II
MedicoseAcademics
 

Recently uploaded (20)

For Better Surat #ℂall #Girl Service ❤85270-49040❤ Surat #ℂall #Girls
For Better Surat #ℂall #Girl Service ❤85270-49040❤ Surat #ℂall #GirlsFor Better Surat #ℂall #Girl Service ❤85270-49040❤ Surat #ℂall #Girls
For Better Surat #ℂall #Girl Service ❤85270-49040❤ Surat #ℂall #Girls
 
Physiology of Chemical Sensation of smell.pdf
Physiology of Chemical Sensation of smell.pdfPhysiology of Chemical Sensation of smell.pdf
Physiology of Chemical Sensation of smell.pdf
 
ARTIFICIAL INTELLIGENCE IN HEALTHCARE.pdf
ARTIFICIAL INTELLIGENCE IN  HEALTHCARE.pdfARTIFICIAL INTELLIGENCE IN  HEALTHCARE.pdf
ARTIFICIAL INTELLIGENCE IN HEALTHCARE.pdf
 
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
 
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptxANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
 
New Drug Discovery and Development .....
New Drug Discovery and Development .....New Drug Discovery and Development .....
New Drug Discovery and Development .....
 
Prix Galien International 2024 Forum Program
Prix Galien International 2024 Forum ProgramPrix Galien International 2024 Forum Program
Prix Galien International 2024 Forum Program
 
24 Upakrama.pptx class ppt useful in all
24 Upakrama.pptx class ppt useful in all24 Upakrama.pptx class ppt useful in all
24 Upakrama.pptx class ppt useful in all
 
Flu Vaccine Alert in Bangalore Karnataka
Flu Vaccine Alert in Bangalore KarnatakaFlu Vaccine Alert in Bangalore Karnataka
Flu Vaccine Alert in Bangalore Karnataka
 
Non-respiratory Functions of the Lungs.pdf
Non-respiratory Functions of the Lungs.pdfNon-respiratory Functions of the Lungs.pdf
Non-respiratory Functions of the Lungs.pdf
 
263778731218 Abortion Clinic /Pills In Harare ,
263778731218 Abortion Clinic /Pills In Harare ,263778731218 Abortion Clinic /Pills In Harare ,
263778731218 Abortion Clinic /Pills In Harare ,
 
basicmodesofventilation2022-220313203758.pdf
basicmodesofventilation2022-220313203758.pdfbasicmodesofventilation2022-220313203758.pdf
basicmodesofventilation2022-220313203758.pdf
 
Knee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdfKnee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdf
 
ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTSARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
 
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptxMaxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
 
Physiology of Special Chemical Sensation of Taste
Physiology of Special Chemical Sensation of TastePhysiology of Special Chemical Sensation of Taste
Physiology of Special Chemical Sensation of Taste
 
Charaka Samhita Sutra sthana Chapter 15 Upakalpaniyaadhyaya
Charaka Samhita Sutra sthana Chapter 15 UpakalpaniyaadhyayaCharaka Samhita Sutra sthana Chapter 15 Upakalpaniyaadhyaya
Charaka Samhita Sutra sthana Chapter 15 Upakalpaniyaadhyaya
 
heat stroke and heat exhaustion in children
heat stroke and heat exhaustion in childrenheat stroke and heat exhaustion in children
heat stroke and heat exhaustion in children
 
KDIGO 2024 guidelines for diabetologists
KDIGO 2024 guidelines for diabetologistsKDIGO 2024 guidelines for diabetologists
KDIGO 2024 guidelines for diabetologists
 
The Normal Electrocardiogram - Part I of II
The Normal Electrocardiogram - Part I of IIThe Normal Electrocardiogram - Part I of II
The Normal Electrocardiogram - Part I of II
 

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%).