SlideShare una empresa de Scribd logo
1 de 53
TESTS OF STATISTICAL SIGNIFICANCE:
CHI SQUARE & SPSS
- DR. SNEHA
II YEAR POST GRADUATE
DEPARTMENT OF COMMUNITY MEDICINE
CONTENT
• P VALUE & HYPOTHESIS TESTING
• TESTS OF STATISTICAL SIGNIFICANCE
• WHAT IS CHI SQUARE?
• WHY TO USE CHI SQUARE?
• HOW TO CALCULATE MANUALLY?
• WHAT ARE THE VARIANTS OF CHI SQUARE?
• CHI SQUARE IN SPSS
• ANALYSIS IN CROSS SECTIONAL STUDIES
• SUMMARY
FIRST LETS SEE ABOUT RANDOM ERRORS …………
RANDOM ERRORS
VARIABILITY IN MEASURE DUE TO
CHANCE.
NOT DUE TO IMPROPER STUDY DESIGN
OR DATA COLLECTION ( SYSTEMATIC
ERROR)
RANDOM ERROR= THREAT TO
PRECISION.
SYSTEMATIC ERRORS AFFECT VALIDITY
OF STUDY.
SOURCES OF RANDOM ERROR
1. MEASUREMENT ERROR:
• Solution: Take average of serial measurements instead of a
single score.
2. SAMPLING VARIATION
• Aka sampling variability/sampling error/sampling fluctuation.
• Major source of random error
• When the estimate differs from sample to sample or sample to
population.
• Measured by standard error (SE).
• Mainly occurs due to small sample size
• Small sample size= not a representative of population
• Solution: increase the sample size
CHARACTERISTICS OF RANDOM ERROR
• Unpredictable
• Cannot be eliminated/ avoided
• CAN BE REDUCED !
HOW DO I DEAL WITH THE DIFFERENCE IN ESTIMATES?
ANS: CHECK FOR THE
SIGNIFICANCE OF
DIFFERENCE IN THE
ESTIMATES
TEST OF STATISTICAL SIGNIFICANCE
• Mathematical models by which p value is found
• P value: probability that the observed difference in estimates
occurred due to chance.
• P value is arbitrary.
• Usually fixed at 5% (0.05)
P value: <0.05
• An observed difference is unlikely to be due to chance alone and the
difference is significant.
P value : >0.05
• Observed difference is probably due to chance alone and the
observed difference is not statistically insignificant.
Eg: prevalence of hypertension in males is 12% and females is 9% in a
rural study. Is the difference in prevalence significant?
Ans: do a statistical test-> check for p value-> if ;
P value is <0.05= the difference in prevalence of hypertension between
males and females is statistically significant. Males have higher chance
of having hypertension than females.
LEVELS OF SIGNIFICANCE
If p value;
• Less than or equal to 0.05: significant
• Less than 0.01: very significant
• <0.001: highly significant
NULL & ALTERNATE HYPOTHESIS
NULL HYPOTHESIS:
• H0
• No difference between two groups
• No association between two variables
ALTERNATE HYPOTHESIS:
• H1
• Difference between two groups +
• Association between two variables +
HOW TO TEST THE HYPOTHESIS?
• Using p value ( statistical tests)
• Either accept or reject H0
• Accepting H0: no difference
• Rejecting H0: difference+
• P value is <0.05: reject H0 and accept H1
• P value is >0.05: accept H0 and reject H1
TWO/ ONE TAILED HYPOTHESIS
• Alternate hypothesis can be one or two tailed
• Eg: one tailed: hypertension is more in males than females
• Eg: two tailed: there is difference in hypertension prevalence between
males and females
• Usually two tailed is preferred
ERRORS WHILE TESTING THE HYPOTHESIS
• TYPE I : alpha error
• TYPE II: beta error
TYPE 1 ERROR
• Probability of finding an association when none really exists.
• Giving false positive results.
• Results when H0 is rejected , when it (H0) is actually true.
• False rejection of H0
• Nothing but p value
• P value: probability of making a type 1 error.
• Accepted alpha error is 0.05 or 5%
• SERIOUS ERROR
WHY TYPE 1 IS A SERIOUS ERROR?
• Lets assume a study on effectiveness of metformin use in PCOS
patients.
• H0= no association between metformin use and prognosis of PCOS
• H1= metformin usage improves the prognosis of PCOS.
• TYPE 1 ERROR: falsely rejecting H0
CONSEQUENCES OF TYPE 1 ERROR
• Increased burden for the patient.
• Unnecessary usage of metformin it actually has no effect on
prognosis.
• Economic burden for patient
• Side effects of drugs.
• Major burden to health care system.
TYPE 2 ERROR
• Probability of not finding an association when one actually exists.
• Failing to reject H0, when it is actually false.
• Measured by beta level
• Accepted beta error is 0.2 or 20%
• (1-beta)= power of the study
• Power of the study is largely affected by sample size
• Inadequate sample size: inadequate power to detect real association.
• Whenever there is no association in any study with small sample size,
the finding is inconclusive as the power will be less
BOTH TYPE 1 AND TYPE 2 ERROR ARE IMPORTANT. BUT
EPIDEMIOLOGISTS ARE MORE CONCERNED WITH TYPE 1 ERROR.
TYPES OF STATISTICAL TESTS
PARAMETRIC
Normal distribution of
data
Used only for
quantitative data
More powerful
NON PARAMETRIC
Not normal
distribution
Can be used for both
qualitative &
quantitative data
Less powerful
QUALTITATIVE VARIABLES
TO FIND THE ASSOCIATION BETWEEN TWO OR MORE THAN 2 GROUPS
CHI SQUARE TEST
QUANTITATIVE VARIABLE
TWO GROUPS:
Normal distribution= unpaired t test
Skewed distribution= Man whitney test
BEFORE AFTER STUDY:
Normal distribution= paired t test
Skewed distribution= Wilcoxon test
QUANTITATIVE CONTINUED
THREE GROUPS:
Normal distribution= one way ANOVA
Skewed distribution= Krusal Wallis test
THREE GROUPS ( REPEATED MEASURE):
Normal distribution = repeated ANOVA
Skewed distribution = Friedman’s ANOVA
CHI SQUARE TEST
WHAT IS CHI SQUARE TEST ?
• Non parametric test
• Developed by Karl Pearson
• Used for qualitative data analysis
• Can be used even if sample size is less
Than 30.
WHY TO USE CHI SQUARE TESTS?
1. To test the difference in proportions between 2/more groups.
2. To test the association between variables
STEPS OF CHI SQUARE TEST
Step 1
• Make a contingency table
• Calculate the degree of freedom
• Calculate the expected frequency for each cell.(E=RT*CT/GT)
Step 2
• Take the difference between observed and expected value for each cell and square the difference
Step 3
•Divide the squared value with expected frequency of the respected cell.
•Add all the values of each cell to get x2
• Compare x2 value with table values along the df
• Choose the corresponding p value
LETS DO A CHI SQUARE TEST MANUALLY …………
Eg: 2 X2 TABLE CONSTRUCTED
DISEASE ATTACK RATE DISEASE CURE RATE TOTAL
VACCINATED O=10 O=90 100
UN VACCINATED O=26 O=74 100
TOTAL 36 164 200
DEGREE OF FREEDOM CALCULATED
• (C-1) * (R-1)
• 2 X 2 table : df=1
CHI SQUARE VALUE = 8.670
DF = 1
P VALUE ?
EASY FORMULA !
• Used only for 2x2 table
• Df must be 1.
• n= grand total
x2 = n( ad-bc)2
-----------------
(a+b)(c+d)(a+c)(b+d)
Disease + Disease -
Exposure + a b
Exposure - c d
Common x2 values and p values with df 1
• Only for 2x2 table
X2 value df P value
0.00-3.83 1 >0.05
3.84-6.62 1 <_ 0.05
6.63-10.82 1 <_0.01
>_ 10.83 1 <_0.001
EXCEPTIONS IN CHI SQUARE
1. YATES CORRECTION: done only when any of the cell has expected
value between 5-10. applicable only for 2x2 table
2. FISHER EXACT TEST: done if any of the expected value is less than 5.
applicable only for 2x2 table.
3. If greater than 2x2 table and the expected value is less than 5, small
frequencies can be pooled or combined with that in the next group
or class in table.
LETS DO CHI SQUARE IN SPSS ………………………..
Step 1
Step 2
Step 3
Step 4
Step 5: select expected option also
Step 6: output
HOW TO INTERPRET THE OUTPUT??
• Number of Expected values in any cell less than 5 should be <20%
• In case more than 20% with df 1, use fisher exact test
• Software gives the p value directly for fisher exact test without x2
value.
• In case more than 20% with df >1 use likelihood ratio test result.
• If expected count is more than 20% with df >1
• Use likelihood ratio result.
ANALYSIS FOR CROSS SECTIONAL STUDIES
1. PREVALENCE RATIO = P e/ Pue
2. PREVALENCE ODDS RATIO = ad / bc
3. CHI SQUARE
4. Z TEST FOR PROPORTION :
= observed difference/ SE of dif btwn 2 proportions.
= P1-P2 / SQUARE ROOT ( P1Q1/NI + P2Q2/N2)
If z value is >1.96 : significant at 5%
If z value is >2.54: significant at 1%
SUMMARY
• Random errors are unavoidable but can be reduced
• P value = alpha error= type 1 error = usually 5%
• Beta error = type 2 error= usually 20%
• Power = 1-beta error
• When association is seen -> check the p value
• When association is not seen -> check for the power of the study.
• Use of parametric and non parametric tests depends on the normal
distribution of data.
Tests of statistical significance : chi square and spss

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Hypothesis testing and parametric test
Hypothesis testing and parametric testHypothesis testing and parametric test
Hypothesis testing and parametric test
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Lecture2 hypothesis testing
Lecture2 hypothesis testingLecture2 hypothesis testing
Lecture2 hypothesis testing
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSS
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Student T - test
Student T -  testStudent T -  test
Student T - test
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
t-TEst. :D
t-TEst. :Dt-TEst. :D
t-TEst. :D
 
wilcoxon signed rank test
wilcoxon signed rank testwilcoxon signed rank test
wilcoxon signed rank test
 
Z test
Z testZ test
Z test
 
Mann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsMann Whitney U Test | Statistics
Mann Whitney U Test | Statistics
 
Superiority, Equivalence, and Non-Inferiority Trial Designs
Superiority, Equivalence, and Non-Inferiority Trial DesignsSuperiority, Equivalence, and Non-Inferiority Trial Designs
Superiority, Equivalence, and Non-Inferiority Trial Designs
 
Chi -square test
Chi -square testChi -square test
Chi -square test
 
T12 non-parametric tests
T12 non-parametric testsT12 non-parametric tests
T12 non-parametric tests
 
factorial design.pptx
factorial design.pptxfactorial design.pptx
factorial design.pptx
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
6. Categorical data analysis - Chi-Square & Fisher Exact Test
6. Categorical data analysis - Chi-Square & Fisher Exact Test6. Categorical data analysis - Chi-Square & Fisher Exact Test
6. Categorical data analysis - Chi-Square & Fisher Exact Test
 

Similar a Tests of statistical significance : chi square and spss

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
 
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
 
Some statistical concepts relevant to proteomics data analysis
Some statistical concepts relevant to proteomics data analysisSome statistical concepts relevant to proteomics data analysis
Some statistical concepts relevant to proteomics data analysisUC Davis
 
univariate and bivariate analysis in spss
univariate and bivariate analysis in spss univariate and bivariate analysis in spss
univariate and bivariate analysis in spss Subodh Khanal
 
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 Presentation - Nikki.ppt
Chi-Square Presentation - Nikki.pptChi-Square Presentation - Nikki.ppt
Chi-Square Presentation - Nikki.pptBAGARAGAZAROMUALD2
 
inferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfinferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfChenPalaruan
 
scope and need of biostatics
scope and need of  biostaticsscope and need of  biostatics
scope and need of biostaticsdr_sharmajyoti01
 
Chapter 28 clincal trials
Chapter 28 clincal trials Chapter 28 clincal trials
Chapter 28 clincal trials Nilesh Kucha
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample testParag Shah
 
tests of significance
tests of significancetests of significance
tests of significancebenita regi
 
Hypothesis testing.ppt
Hypothesis testing.pptHypothesis testing.ppt
Hypothesis testing.pptSteevanTellis1
 
Application of statistical tests in Biomedical Research .pptx
Application of statistical tests in Biomedical Research .pptxApplication of statistical tests in Biomedical Research .pptx
Application of statistical tests in Biomedical Research .pptxHalim AS
 

Similar a Tests of statistical significance : chi square and spss (20)

Chisquare
ChisquareChisquare
Chisquare
 
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
 
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
 
Some statistical concepts relevant to proteomics data analysis
Some statistical concepts relevant to proteomics data analysisSome statistical concepts relevant to proteomics data analysis
Some statistical concepts relevant to proteomics data analysis
 
univariate and bivariate analysis in spss
univariate and bivariate analysis in spss univariate and bivariate analysis in spss
univariate and bivariate analysis in spss
 
Biostatistics.pptx
Biostatistics.pptxBiostatistics.pptx
Biostatistics.pptx
 
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 Presentation - Nikki.ppt
Chi-Square Presentation - Nikki.pptChi-Square Presentation - Nikki.ppt
Chi-Square Presentation - Nikki.ppt
 
inferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfinferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdf
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
scope and need of biostatics
scope and need of  biostaticsscope and need of  biostatics
scope and need of biostatics
 
Chi squared test
Chi squared test Chi squared test
Chi squared test
 
Chapter 28 clincal trials
Chapter 28 clincal trials Chapter 28 clincal trials
Chapter 28 clincal trials
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample test
 
tests of significance
tests of significancetests of significance
tests of significance
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-tests
 
Hypothesis testing.ppt
Hypothesis testing.pptHypothesis testing.ppt
Hypothesis testing.ppt
 
Overview of statistics: Statistical testing (Part I)
Overview of statistics: Statistical testing (Part I)Overview of statistics: Statistical testing (Part I)
Overview of statistics: Statistical testing (Part I)
 
Application of statistical tests in Biomedical Research .pptx
Application of statistical tests in Biomedical Research .pptxApplication of statistical tests in Biomedical Research .pptx
Application of statistical tests in Biomedical Research .pptx
 
Test of significance
Test of significanceTest of significance
Test of significance
 

Más de Drsnehas2

Critical appraisal of scientific articles overview
Critical appraisal of scientific articles  overviewCritical appraisal of scientific articles  overview
Critical appraisal of scientific articles overviewDrsnehas2
 
Telemedicine
Telemedicine Telemedicine
Telemedicine Drsnehas2
 
Public health bill 2017 & epidemic disease act
Public health bill 2017 & epidemic disease actPublic health bill 2017 & epidemic disease act
Public health bill 2017 & epidemic disease actDrsnehas2
 
Overview of systematic review and meta analysis
Overview of systematic review and meta  analysisOverview of systematic review and meta  analysis
Overview of systematic review and meta analysisDrsnehas2
 
Health planning and management
Health  planning  and managementHealth  planning  and management
Health planning and managementDrsnehas2
 
Introduction to Randomized control trial
 Introduction to Randomized control trial  Introduction to Randomized control trial
Introduction to Randomized control trial Drsnehas2
 
Disability indicators ppt
Disability indicators  pptDisability indicators  ppt
Disability indicators pptDrsnehas2
 
Types of research
Types of researchTypes of research
Types of researchDrsnehas2
 
World aids day 2019
World aids day 2019World aids day 2019
World aids day 2019Drsnehas2
 

Más de Drsnehas2 (9)

Critical appraisal of scientific articles overview
Critical appraisal of scientific articles  overviewCritical appraisal of scientific articles  overview
Critical appraisal of scientific articles overview
 
Telemedicine
Telemedicine Telemedicine
Telemedicine
 
Public health bill 2017 & epidemic disease act
Public health bill 2017 & epidemic disease actPublic health bill 2017 & epidemic disease act
Public health bill 2017 & epidemic disease act
 
Overview of systematic review and meta analysis
Overview of systematic review and meta  analysisOverview of systematic review and meta  analysis
Overview of systematic review and meta analysis
 
Health planning and management
Health  planning  and managementHealth  planning  and management
Health planning and management
 
Introduction to Randomized control trial
 Introduction to Randomized control trial  Introduction to Randomized control trial
Introduction to Randomized control trial
 
Disability indicators ppt
Disability indicators  pptDisability indicators  ppt
Disability indicators ppt
 
Types of research
Types of researchTypes of research
Types of research
 
World aids day 2019
World aids day 2019World aids day 2019
World aids day 2019
 

Último

Call Girl Price Amritsar ❤️🍑 9053900678 Call Girls in Amritsar Suman
Call Girl Price Amritsar ❤️🍑 9053900678 Call Girls in Amritsar SumanCall Girl Price Amritsar ❤️🍑 9053900678 Call Girls in Amritsar Suman
Call Girl Price Amritsar ❤️🍑 9053900678 Call Girls in Amritsar SumanCall Girls Service Chandigarh Ayushi
 
Local Housewife and effective ☎️ 8250192130 🍉🍓 Sexy Girls VIP Call Girls Chan...
Local Housewife and effective ☎️ 8250192130 🍉🍓 Sexy Girls VIP Call Girls Chan...Local Housewife and effective ☎️ 8250192130 🍉🍓 Sexy Girls VIP Call Girls Chan...
Local Housewife and effective ☎️ 8250192130 🍉🍓 Sexy Girls VIP Call Girls Chan...Russian Call Girls Amritsar
 
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking Models
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking ModelsDehradun Call Girls Service 08854095900 Real Russian Girls Looking Models
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking Modelsindiancallgirl4rent
 
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...Gfnyt.com
 
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...gurkirankumar98700
 
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Bangalore call girl 👯‍♀️@ Simran Independent Call Girls in Bangalore GIUXUZ...
Bangalore call girl  👯‍♀️@ Simran Independent Call Girls in Bangalore  GIUXUZ...Bangalore call girl  👯‍♀️@ Simran Independent Call Girls in Bangalore  GIUXUZ...
Bangalore call girl 👯‍♀️@ Simran Independent Call Girls in Bangalore GIUXUZ...Gfnyt
 
Call Girls Amritsar 💯Call Us 🔝 8725944379 🔝 💃 Independent Escort Service Amri...
Call Girls Amritsar 💯Call Us 🔝 8725944379 🔝 💃 Independent Escort Service Amri...Call Girls Amritsar 💯Call Us 🔝 8725944379 🔝 💃 Independent Escort Service Amri...
Call Girls Amritsar 💯Call Us 🔝 8725944379 🔝 💃 Independent Escort Service Amri...Niamh verma
 
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real MeetCall Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meetpriyashah722354
 
No Advance 9053900678 Chandigarh Call Girls , Indian Call Girls For Full Ni...
No Advance 9053900678 Chandigarh  Call Girls , Indian Call Girls  For Full Ni...No Advance 9053900678 Chandigarh  Call Girls , Indian Call Girls  For Full Ni...
No Advance 9053900678 Chandigarh Call Girls , Indian Call Girls For Full Ni...Vip call girls In Chandigarh
 
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋Sheetaleventcompany
 
Udaipur Call Girls 📲 9999965857 Call Girl in Udaipur
Udaipur Call Girls 📲 9999965857 Call Girl in UdaipurUdaipur Call Girls 📲 9999965857 Call Girl in Udaipur
Udaipur Call Girls 📲 9999965857 Call Girl in Udaipurseemahedar019
 
(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...
(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...
(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...indiancallgirl4rent
 
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.ktanvi103
 
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In FaridabadCall Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabadgragmanisha42
 
💚😋Kolkata Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Kolkata Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Kolkata Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Kolkata Escort Service Call Girls, ₹5000 To 25K With AC💚😋Sheetaleventcompany
 
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...Gfnyt.com
 
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Me
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near MeVIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Me
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Memriyagarg453
 
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...Call Girls Noida
 
Call Girls In ludhiana For Fun 9053900678 By ludhiana Call Girls For Pick...
Call Girls In  ludhiana  For Fun 9053900678 By  ludhiana  Call Girls For Pick...Call Girls In  ludhiana  For Fun 9053900678 By  ludhiana  Call Girls For Pick...
Call Girls In ludhiana For Fun 9053900678 By ludhiana Call Girls For Pick...Russian Call Girls in Ludhiana
 

Último (20)

Call Girl Price Amritsar ❤️🍑 9053900678 Call Girls in Amritsar Suman
Call Girl Price Amritsar ❤️🍑 9053900678 Call Girls in Amritsar SumanCall Girl Price Amritsar ❤️🍑 9053900678 Call Girls in Amritsar Suman
Call Girl Price Amritsar ❤️🍑 9053900678 Call Girls in Amritsar Suman
 
Local Housewife and effective ☎️ 8250192130 🍉🍓 Sexy Girls VIP Call Girls Chan...
Local Housewife and effective ☎️ 8250192130 🍉🍓 Sexy Girls VIP Call Girls Chan...Local Housewife and effective ☎️ 8250192130 🍉🍓 Sexy Girls VIP Call Girls Chan...
Local Housewife and effective ☎️ 8250192130 🍉🍓 Sexy Girls VIP Call Girls Chan...
 
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking Models
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking ModelsDehradun Call Girls Service 08854095900 Real Russian Girls Looking Models
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking Models
 
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
 
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...
 
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
 
Bangalore call girl 👯‍♀️@ Simran Independent Call Girls in Bangalore GIUXUZ...
Bangalore call girl  👯‍♀️@ Simran Independent Call Girls in Bangalore  GIUXUZ...Bangalore call girl  👯‍♀️@ Simran Independent Call Girls in Bangalore  GIUXUZ...
Bangalore call girl 👯‍♀️@ Simran Independent Call Girls in Bangalore GIUXUZ...
 
Call Girls Amritsar 💯Call Us 🔝 8725944379 🔝 💃 Independent Escort Service Amri...
Call Girls Amritsar 💯Call Us 🔝 8725944379 🔝 💃 Independent Escort Service Amri...Call Girls Amritsar 💯Call Us 🔝 8725944379 🔝 💃 Independent Escort Service Amri...
Call Girls Amritsar 💯Call Us 🔝 8725944379 🔝 💃 Independent Escort Service Amri...
 
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real MeetCall Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
 
No Advance 9053900678 Chandigarh Call Girls , Indian Call Girls For Full Ni...
No Advance 9053900678 Chandigarh  Call Girls , Indian Call Girls  For Full Ni...No Advance 9053900678 Chandigarh  Call Girls , Indian Call Girls  For Full Ni...
No Advance 9053900678 Chandigarh Call Girls , Indian Call Girls For Full Ni...
 
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋
 
Udaipur Call Girls 📲 9999965857 Call Girl in Udaipur
Udaipur Call Girls 📲 9999965857 Call Girl in UdaipurUdaipur Call Girls 📲 9999965857 Call Girl in Udaipur
Udaipur Call Girls 📲 9999965857 Call Girl in Udaipur
 
(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...
(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...
(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...
 
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
 
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In FaridabadCall Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
 
💚😋Kolkata Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Kolkata Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Kolkata Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Kolkata Escort Service Call Girls, ₹5000 To 25K With AC💚😋
 
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
 
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Me
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near MeVIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Me
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Me
 
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...
 
Call Girls In ludhiana For Fun 9053900678 By ludhiana Call Girls For Pick...
Call Girls In  ludhiana  For Fun 9053900678 By  ludhiana  Call Girls For Pick...Call Girls In  ludhiana  For Fun 9053900678 By  ludhiana  Call Girls For Pick...
Call Girls In ludhiana For Fun 9053900678 By ludhiana Call Girls For Pick...
 

Tests of statistical significance : chi square and spss

  • 1. TESTS OF STATISTICAL SIGNIFICANCE: CHI SQUARE & SPSS - DR. SNEHA II YEAR POST GRADUATE DEPARTMENT OF COMMUNITY MEDICINE
  • 2. CONTENT • P VALUE & HYPOTHESIS TESTING • TESTS OF STATISTICAL SIGNIFICANCE • WHAT IS CHI SQUARE? • WHY TO USE CHI SQUARE? • HOW TO CALCULATE MANUALLY? • WHAT ARE THE VARIANTS OF CHI SQUARE? • CHI SQUARE IN SPSS • ANALYSIS IN CROSS SECTIONAL STUDIES • SUMMARY
  • 3. FIRST LETS SEE ABOUT RANDOM ERRORS …………
  • 4. RANDOM ERRORS VARIABILITY IN MEASURE DUE TO CHANCE. NOT DUE TO IMPROPER STUDY DESIGN OR DATA COLLECTION ( SYSTEMATIC ERROR) RANDOM ERROR= THREAT TO PRECISION. SYSTEMATIC ERRORS AFFECT VALIDITY OF STUDY.
  • 5. SOURCES OF RANDOM ERROR 1. MEASUREMENT ERROR: • Solution: Take average of serial measurements instead of a single score.
  • 6. 2. SAMPLING VARIATION • Aka sampling variability/sampling error/sampling fluctuation. • Major source of random error • When the estimate differs from sample to sample or sample to population. • Measured by standard error (SE). • Mainly occurs due to small sample size • Small sample size= not a representative of population • Solution: increase the sample size
  • 7. CHARACTERISTICS OF RANDOM ERROR • Unpredictable • Cannot be eliminated/ avoided • CAN BE REDUCED !
  • 8. HOW DO I DEAL WITH THE DIFFERENCE IN ESTIMATES? ANS: CHECK FOR THE SIGNIFICANCE OF DIFFERENCE IN THE ESTIMATES
  • 9. TEST OF STATISTICAL SIGNIFICANCE • Mathematical models by which p value is found • P value: probability that the observed difference in estimates occurred due to chance. • P value is arbitrary. • Usually fixed at 5% (0.05)
  • 10. P value: <0.05 • An observed difference is unlikely to be due to chance alone and the difference is significant. P value : >0.05 • Observed difference is probably due to chance alone and the observed difference is not statistically insignificant.
  • 11. Eg: prevalence of hypertension in males is 12% and females is 9% in a rural study. Is the difference in prevalence significant? Ans: do a statistical test-> check for p value-> if ; P value is <0.05= the difference in prevalence of hypertension between males and females is statistically significant. Males have higher chance of having hypertension than females.
  • 12. LEVELS OF SIGNIFICANCE If p value; • Less than or equal to 0.05: significant • Less than 0.01: very significant • <0.001: highly significant
  • 13. NULL & ALTERNATE HYPOTHESIS NULL HYPOTHESIS: • H0 • No difference between two groups • No association between two variables ALTERNATE HYPOTHESIS: • H1 • Difference between two groups + • Association between two variables +
  • 14. HOW TO TEST THE HYPOTHESIS? • Using p value ( statistical tests) • Either accept or reject H0 • Accepting H0: no difference • Rejecting H0: difference+ • P value is <0.05: reject H0 and accept H1 • P value is >0.05: accept H0 and reject H1
  • 15. TWO/ ONE TAILED HYPOTHESIS • Alternate hypothesis can be one or two tailed • Eg: one tailed: hypertension is more in males than females • Eg: two tailed: there is difference in hypertension prevalence between males and females • Usually two tailed is preferred
  • 16. ERRORS WHILE TESTING THE HYPOTHESIS • TYPE I : alpha error • TYPE II: beta error
  • 17. TYPE 1 ERROR • Probability of finding an association when none really exists. • Giving false positive results. • Results when H0 is rejected , when it (H0) is actually true. • False rejection of H0 • Nothing but p value • P value: probability of making a type 1 error. • Accepted alpha error is 0.05 or 5% • SERIOUS ERROR
  • 18. WHY TYPE 1 IS A SERIOUS ERROR? • Lets assume a study on effectiveness of metformin use in PCOS patients. • H0= no association between metformin use and prognosis of PCOS • H1= metformin usage improves the prognosis of PCOS. • TYPE 1 ERROR: falsely rejecting H0
  • 19. CONSEQUENCES OF TYPE 1 ERROR • Increased burden for the patient. • Unnecessary usage of metformin it actually has no effect on prognosis. • Economic burden for patient • Side effects of drugs. • Major burden to health care system.
  • 20. TYPE 2 ERROR • Probability of not finding an association when one actually exists. • Failing to reject H0, when it is actually false. • Measured by beta level • Accepted beta error is 0.2 or 20%
  • 21. • (1-beta)= power of the study • Power of the study is largely affected by sample size • Inadequate sample size: inadequate power to detect real association. • Whenever there is no association in any study with small sample size, the finding is inconclusive as the power will be less
  • 22. BOTH TYPE 1 AND TYPE 2 ERROR ARE IMPORTANT. BUT EPIDEMIOLOGISTS ARE MORE CONCERNED WITH TYPE 1 ERROR.
  • 23. TYPES OF STATISTICAL TESTS PARAMETRIC Normal distribution of data Used only for quantitative data More powerful NON PARAMETRIC Not normal distribution Can be used for both qualitative & quantitative data Less powerful
  • 24. QUALTITATIVE VARIABLES TO FIND THE ASSOCIATION BETWEEN TWO OR MORE THAN 2 GROUPS CHI SQUARE TEST
  • 25. QUANTITATIVE VARIABLE TWO GROUPS: Normal distribution= unpaired t test Skewed distribution= Man whitney test BEFORE AFTER STUDY: Normal distribution= paired t test Skewed distribution= Wilcoxon test
  • 26. QUANTITATIVE CONTINUED THREE GROUPS: Normal distribution= one way ANOVA Skewed distribution= Krusal Wallis test THREE GROUPS ( REPEATED MEASURE): Normal distribution = repeated ANOVA Skewed distribution = Friedman’s ANOVA
  • 28. WHAT IS CHI SQUARE TEST ? • Non parametric test • Developed by Karl Pearson • Used for qualitative data analysis • Can be used even if sample size is less Than 30.
  • 29. WHY TO USE CHI SQUARE TESTS? 1. To test the difference in proportions between 2/more groups. 2. To test the association between variables
  • 30. STEPS OF CHI SQUARE TEST Step 1 • Make a contingency table • Calculate the degree of freedom • Calculate the expected frequency for each cell.(E=RT*CT/GT) Step 2 • Take the difference between observed and expected value for each cell and square the difference Step 3 •Divide the squared value with expected frequency of the respected cell. •Add all the values of each cell to get x2 • Compare x2 value with table values along the df • Choose the corresponding p value
  • 31. LETS DO A CHI SQUARE TEST MANUALLY …………
  • 32. Eg: 2 X2 TABLE CONSTRUCTED DISEASE ATTACK RATE DISEASE CURE RATE TOTAL VACCINATED O=10 O=90 100 UN VACCINATED O=26 O=74 100 TOTAL 36 164 200
  • 33. DEGREE OF FREEDOM CALCULATED • (C-1) * (R-1) • 2 X 2 table : df=1
  • 34.
  • 35. CHI SQUARE VALUE = 8.670 DF = 1 P VALUE ?
  • 36.
  • 37. EASY FORMULA ! • Used only for 2x2 table • Df must be 1. • n= grand total x2 = n( ad-bc)2 ----------------- (a+b)(c+d)(a+c)(b+d) Disease + Disease - Exposure + a b Exposure - c d
  • 38. Common x2 values and p values with df 1 • Only for 2x2 table X2 value df P value 0.00-3.83 1 >0.05 3.84-6.62 1 <_ 0.05 6.63-10.82 1 <_0.01 >_ 10.83 1 <_0.001
  • 39. EXCEPTIONS IN CHI SQUARE 1. YATES CORRECTION: done only when any of the cell has expected value between 5-10. applicable only for 2x2 table 2. FISHER EXACT TEST: done if any of the expected value is less than 5. applicable only for 2x2 table. 3. If greater than 2x2 table and the expected value is less than 5, small frequencies can be pooled or combined with that in the next group or class in table.
  • 40. LETS DO CHI SQUARE IN SPSS ………………………..
  • 45. Step 5: select expected option also
  • 47. HOW TO INTERPRET THE OUTPUT?? • Number of Expected values in any cell less than 5 should be <20% • In case more than 20% with df 1, use fisher exact test • Software gives the p value directly for fisher exact test without x2 value. • In case more than 20% with df >1 use likelihood ratio test result.
  • 48.
  • 49.
  • 50. • If expected count is more than 20% with df >1 • Use likelihood ratio result.
  • 51. ANALYSIS FOR CROSS SECTIONAL STUDIES 1. PREVALENCE RATIO = P e/ Pue 2. PREVALENCE ODDS RATIO = ad / bc 3. CHI SQUARE 4. Z TEST FOR PROPORTION : = observed difference/ SE of dif btwn 2 proportions. = P1-P2 / SQUARE ROOT ( P1Q1/NI + P2Q2/N2) If z value is >1.96 : significant at 5% If z value is >2.54: significant at 1%
  • 52. SUMMARY • Random errors are unavoidable but can be reduced • P value = alpha error= type 1 error = usually 5% • Beta error = type 2 error= usually 20% • Power = 1-beta error • When association is seen -> check the p value • When association is not seen -> check for the power of the study. • Use of parametric and non parametric tests depends on the normal distribution of data.