SlideShare uma empresa Scribd logo
1 de 8
Chi square test
Uses and Applications
   Used when you have frequency
    distribution of qualitative type of variables.
   Applications:
   To test goodness of fit.
   In the 2X2 table, it is used to test whether
    there is an association between the row
    and the column variables; ie whether the
    distribution of individuals among the
    categories of one variable is
    independent of their distribution among
    the categories of the other.
Example, Influenza vaccination trial

          Influenza       No      Total
                      influenza
Vaccine      20         220       240
           (8.3%)
Placebo      80         140       220
          (36.4%)
Total       100         360       460
          (21.7%)
The question is:
   Is the difference (in the percentages of
    influenza) due to vaccination or occurred
    by chance?
   To answer, a Chi square test is done
    which compares the observed numbers in
    each of the four categories in the
    contingency table with the numbers to be
    expected if there was no difference in the
    effectiveness between the vaccine and
    placebo.
The expected frequencies:

          Influenza       No      Total
                      influenza
Vaccine     52.2       187.8      240

Placebo     47.8       172.2      220


Total       100         360       460
Solution, continued
   Ho: The proportion of influenza among the vaccine
    group = The proportion of influenza among the
    placebo group.
   Level of significance (alpha) = 0.05
   D.f. = (No. of rows-1) (No. of columns-1).
   Test statistics: Chi square test.

        ∑ (O − E )    2
    χ =
     2

            E
Solution, continued

     (20 − 52.2) 2 (80 − 47.8) 2 (220 − 187.8) 2 (140 − 172.2) 2
χ2 =              +             +               +                = 53.09
         52.2          47.8          187.8           172.2

The tabulated value for X2 for 1 d.f. is 3.841
The calculated value (53.09) > tabulated value
Therefore reject Ho and conclude that there is statistically
significant difference between the 2 proportions. This
difference is unlikely to be due to chance.
Therefore the vaccine is effective.
P < 0.05
Stat6 chi square test

Mais conteúdo relacionado

Mais procurados

Test for equal variances
Test for equal variancesTest for equal variances
Test for equal variancesJohn Smith
 
Effect size presentation revised
Effect size presentation revised Effect size presentation revised
Effect size presentation revised Carlo Magno
 
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...Satish Khadia
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samplesshoffma5
 
Two-way Mixed Design with SPSS
Two-way Mixed Design with SPSSTwo-way Mixed Design with SPSS
Two-way Mixed Design with SPSSJ P Verma
 
Statistics-Non parametric test
Statistics-Non parametric testStatistics-Non parametric test
Statistics-Non parametric testRabin BK
 
Quantitative method compare means test (independent and paired)
Quantitative method compare means test (independent and paired)Quantitative method compare means test (independent and paired)
Quantitative method compare means test (independent and paired)Keiko Ono
 
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 TestAzmi Mohd Tamil
 
Repeated Measures ANOVA
Repeated Measures ANOVARepeated Measures ANOVA
Repeated Measures ANOVASr Edith Bogue
 
T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2Oj Acopiado
 
Lesson 6 Nonparametric Test 2009 Ta
Lesson 6 Nonparametric Test 2009 TaLesson 6 Nonparametric Test 2009 Ta
Lesson 6 Nonparametric Test 2009 TaSumit Prajapati
 
Testing Assumptions in repeated Measures Design using SPSS
Testing Assumptions in repeated Measures Design using SPSSTesting Assumptions in repeated Measures Design using SPSS
Testing Assumptions in repeated Measures Design using SPSSJ P Verma
 
Chapter 4(2) Hypothesisi Testing
Chapter 4(2)  Hypothesisi TestingChapter 4(2)  Hypothesisi Testing
Chapter 4(2) Hypothesisi Testingghalan
 
One-Sample Hypothesis Tests
One-Sample Hypothesis TestsOne-Sample Hypothesis Tests
One-Sample Hypothesis TestsSr Edith Bogue
 
Analysis of Variance-ANOVA
Analysis of Variance-ANOVAAnalysis of Variance-ANOVA
Analysis of Variance-ANOVARabin BK
 

Mais procurados (20)

Test for equal variances
Test for equal variancesTest for equal variances
Test for equal variances
 
Effect size presentation revised
Effect size presentation revised Effect size presentation revised
Effect size presentation revised
 
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...
 
Bartlett's test
Bartlett's testBartlett's test
Bartlett's test
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samples
 
Posthoc
PosthocPosthoc
Posthoc
 
Repeated Measures ANOVA
Repeated Measures ANOVARepeated Measures ANOVA
Repeated Measures ANOVA
 
Two-way Mixed Design with SPSS
Two-way Mixed Design with SPSSTwo-way Mixed Design with SPSS
Two-way Mixed Design with SPSS
 
Statistics-Non parametric test
Statistics-Non parametric testStatistics-Non parametric test
Statistics-Non parametric test
 
Quantitative method compare means test (independent and paired)
Quantitative method compare means test (independent and paired)Quantitative method compare means test (independent and paired)
Quantitative method compare means test (independent and paired)
 
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
 
Repeated Measures ANOVA
Repeated Measures ANOVARepeated Measures ANOVA
Repeated Measures ANOVA
 
T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2
 
f and t test
f and t testf and t test
f and t test
 
Lesson 6 Nonparametric Test 2009 Ta
Lesson 6 Nonparametric Test 2009 TaLesson 6 Nonparametric Test 2009 Ta
Lesson 6 Nonparametric Test 2009 Ta
 
Testing Assumptions in repeated Measures Design using SPSS
Testing Assumptions in repeated Measures Design using SPSSTesting Assumptions in repeated Measures Design using SPSS
Testing Assumptions in repeated Measures Design using SPSS
 
Paired t Test
Paired t TestPaired t Test
Paired t Test
 
Chapter 4(2) Hypothesisi Testing
Chapter 4(2)  Hypothesisi TestingChapter 4(2)  Hypothesisi Testing
Chapter 4(2) Hypothesisi Testing
 
One-Sample Hypothesis Tests
One-Sample Hypothesis TestsOne-Sample Hypothesis Tests
One-Sample Hypothesis Tests
 
Analysis of Variance-ANOVA
Analysis of Variance-ANOVAAnalysis of Variance-ANOVA
Analysis of Variance-ANOVA
 

Destaque

Mrotek Schmitz 2010 Cas Annual Meeting Final
Mrotek Schmitz 2010 Cas Annual Meeting FinalMrotek Schmitz 2010 Cas Annual Meeting Final
Mrotek Schmitz 2010 Cas Annual Meeting Finalkylemrotek
 
Failure Analysis, benefits, logistics and limitations
Failure Analysis, benefits, logistics and limitationsFailure Analysis, benefits, logistics and limitations
Failure Analysis, benefits, logistics and limitationsAccendo Reliability
 
Chap19 time series-analysis_and_forecasting
Chap19 time series-analysis_and_forecastingChap19 time series-analysis_and_forecasting
Chap19 time series-analysis_and_forecastingVishal Kukreja
 
Demand forecasting by time series analysis
Demand forecasting by time series analysisDemand forecasting by time series analysis
Demand forecasting by time series analysisSunny Gandhi
 
Data analysis powerpoint
Data analysis powerpointData analysis powerpoint
Data analysis powerpointjamiebrandon
 

Destaque (10)

Mrotek Schmitz 2010 Cas Annual Meeting Final
Mrotek Schmitz 2010 Cas Annual Meeting FinalMrotek Schmitz 2010 Cas Annual Meeting Final
Mrotek Schmitz 2010 Cas Annual Meeting Final
 
Business Forecasting
Business ForecastingBusiness Forecasting
Business Forecasting
 
Failure Analysis, benefits, logistics and limitations
Failure Analysis, benefits, logistics and limitationsFailure Analysis, benefits, logistics and limitations
Failure Analysis, benefits, logistics and limitations
 
Chap19 time series-analysis_and_forecasting
Chap19 time series-analysis_and_forecastingChap19 time series-analysis_and_forecasting
Chap19 time series-analysis_and_forecasting
 
Demand forecasting by time series analysis
Demand forecasting by time series analysisDemand forecasting by time series analysis
Demand forecasting by time series analysis
 
time series analysis
time series analysistime series analysis
time series analysis
 
Data analysis powerpoint
Data analysis powerpointData analysis powerpoint
Data analysis powerpoint
 
Chi square test
Chi square testChi square test
Chi square test
 
Chapter 10-DATA ANALYSIS & PRESENTATION
Chapter 10-DATA ANALYSIS & PRESENTATIONChapter 10-DATA ANALYSIS & PRESENTATION
Chapter 10-DATA ANALYSIS & PRESENTATION
 
Data analysis using spss
Data analysis using spssData analysis using spss
Data analysis using spss
 

Semelhante a Stat6 chi square test

Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarAzmi Mohd Tamil
 
Unit # 04, chi-square test.ppt
Unit # 04, chi-square test.pptUnit # 04, chi-square test.ppt
Unit # 04, chi-square test.pptHarryPuri
 
Chi square test social research refer.ppt
Chi square test social research refer.pptChi square test social research refer.ppt
Chi square test social research refer.pptSnehamurali18
 
Chi square test
Chi square testChi square test
Chi square testNayna Azad
 
Non parametric tests by meenu
Non parametric tests by meenuNon parametric tests by meenu
Non parametric tests by meenumeenu saharan
 
anovappt-141025002857-conversion-gate01 (1).pdf
anovappt-141025002857-conversion-gate01 (1).pdfanovappt-141025002857-conversion-gate01 (1).pdf
anovappt-141025002857-conversion-gate01 (1).pdfGorachandChakraborty
 
Lecture # 10 chi-square test of association
Lecture # 10  chi-square test of associationLecture # 10  chi-square test of association
Lecture # 10 chi-square test of associationLalaZaheer
 
Applied Statistics And Doe Mayank
Applied Statistics And Doe MayankApplied Statistics And Doe Mayank
Applied Statistics And Doe Mayankrealmayank
 
ANOVA BY IIT MADRAS.pdf
ANOVA BY IIT MADRAS.pdfANOVA BY IIT MADRAS.pdf
ANOVA BY IIT MADRAS.pdfRashmiSahoo27
 
One-way ANOVA research paper
One-way ANOVA research paperOne-way ANOVA research paper
One-way ANOVA research paperJose Dela Cruz
 
Quantitative Analysis for Emperical Research
Quantitative Analysis for Emperical ResearchQuantitative Analysis for Emperical Research
Quantitative Analysis for Emperical ResearchAmit Kamble
 

Semelhante a Stat6 chi square test (20)

Stat6 chi square test
Stat6 chi square testStat6 chi square test
Stat6 chi square test
 
Contingency Tables
Contingency TablesContingency Tables
Contingency Tables
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
Chi square
Chi square Chi square
Chi square
 
Unit # 04, chi-square test.ppt
Unit # 04, chi-square test.pptUnit # 04, chi-square test.ppt
Unit # 04, chi-square test.ppt
 
Chapter12
Chapter12Chapter12
Chapter12
 
Chi square test social research refer.ppt
Chi square test social research refer.pptChi square test social research refer.ppt
Chi square test social research refer.ppt
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi square test
Chi square testChi square test
Chi square test
 
Non parametric tests by meenu
Non parametric tests by meenuNon parametric tests by meenu
Non parametric tests by meenu
 
anovappt-141025002857-conversion-gate01 (1).pdf
anovappt-141025002857-conversion-gate01 (1).pdfanovappt-141025002857-conversion-gate01 (1).pdf
anovappt-141025002857-conversion-gate01 (1).pdf
 
Chi square test
Chi square testChi square test
Chi square test
 
Lecture # 10 chi-square test of association
Lecture # 10  chi-square test of associationLecture # 10  chi-square test of association
Lecture # 10 chi-square test of association
 
lecture12.ppt
lecture12.pptlecture12.ppt
lecture12.ppt
 
lecture12.ppt
lecture12.pptlecture12.ppt
lecture12.ppt
 
Applied Statistics And Doe Mayank
Applied Statistics And Doe MayankApplied Statistics And Doe Mayank
Applied Statistics And Doe Mayank
 
ANOVA BY IIT MADRAS.pdf
ANOVA BY IIT MADRAS.pdfANOVA BY IIT MADRAS.pdf
ANOVA BY IIT MADRAS.pdf
 
One-way ANOVA research paper
One-way ANOVA research paperOne-way ANOVA research paper
One-way ANOVA research paper
 
Quantitative Analysis for Emperical Research
Quantitative Analysis for Emperical ResearchQuantitative Analysis for Emperical Research
Quantitative Analysis for Emperical Research
 
Chi square test
Chi square testChi square test
Chi square test
 

Mais de Forensic Pathology (20)

Stat3 central tendency & dispersion
Stat3 central tendency & dispersionStat3 central tendency & dispersion
Stat3 central tendency & dispersion
 
Exercise 1 12 no solution
Exercise 1 12 no solutionExercise 1 12 no solution
Exercise 1 12 no solution
 
Writing a research protocol 2011
Writing a research protocol 2011Writing a research protocol 2011
Writing a research protocol 2011
 
Some statistical defenition
Some statistical defenitionSome statistical defenition
Some statistical defenition
 
Prac excises 3[1].5
Prac excises 3[1].5Prac excises 3[1].5
Prac excises 3[1].5
 
Exercise 1 12 no solution
Exercise 1 12 no solutionExercise 1 12 no solution
Exercise 1 12 no solution
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Stat3 central tendency & dispersion
Stat3 central tendency & dispersionStat3 central tendency & dispersion
Stat3 central tendency & dispersion
 
Stat 4 the normal distribution & steps of testing hypothesis
Stat 4 the normal distribution & steps of testing hypothesisStat 4 the normal distribution & steps of testing hypothesis
Stat 4 the normal distribution & steps of testing hypothesis
 
Stat 2 data presentation2
Stat 2 data presentation2Stat 2 data presentation2
Stat 2 data presentation2
 
Correlation 3rd
Correlation 3rdCorrelation 3rd
Correlation 3rd
 
Stat 1 variables & sampling
Stat 1 variables & samplingStat 1 variables & sampling
Stat 1 variables & sampling
 
Pancreas 2
Pancreas 2Pancreas 2
Pancreas 2
 
Pancreas 1
Pancreas 1Pancreas 1
Pancreas 1
 
Liver 3
Liver 3Liver 3
Liver 3
 
Liver 2
Liver 2Liver 2
Liver 2
 
Liver 1
Liver 1Liver 1
Liver 1
 
The biliary tract
The biliary tractThe biliary tract
The biliary tract
 
Valvular heart diseases 4
Valvular heart diseases 4Valvular heart diseases 4
Valvular heart diseases 4
 
Pericardial dis.&cardiactumors 5
Pericardial dis.&cardiactumors 5Pericardial dis.&cardiactumors 5
Pericardial dis.&cardiactumors 5
 

Stat6 chi square test

  • 2. Uses and Applications  Used when you have frequency distribution of qualitative type of variables.  Applications:  To test goodness of fit.  In the 2X2 table, it is used to test whether there is an association between the row and the column variables; ie whether the distribution of individuals among the categories of one variable is independent of their distribution among the categories of the other.
  • 3. Example, Influenza vaccination trial Influenza No Total influenza Vaccine 20 220 240 (8.3%) Placebo 80 140 220 (36.4%) Total 100 360 460 (21.7%)
  • 4. The question is:  Is the difference (in the percentages of influenza) due to vaccination or occurred by chance?  To answer, a Chi square test is done which compares the observed numbers in each of the four categories in the contingency table with the numbers to be expected if there was no difference in the effectiveness between the vaccine and placebo.
  • 5. The expected frequencies: Influenza No Total influenza Vaccine 52.2 187.8 240 Placebo 47.8 172.2 220 Total 100 360 460
  • 6. Solution, continued  Ho: The proportion of influenza among the vaccine group = The proportion of influenza among the placebo group.  Level of significance (alpha) = 0.05  D.f. = (No. of rows-1) (No. of columns-1).  Test statistics: Chi square test. ∑ (O − E ) 2 χ = 2 E
  • 7. Solution, continued (20 − 52.2) 2 (80 − 47.8) 2 (220 − 187.8) 2 (140 − 172.2) 2 χ2 = + + + = 53.09 52.2 47.8 187.8 172.2 The tabulated value for X2 for 1 d.f. is 3.841 The calculated value (53.09) > tabulated value Therefore reject Ho and conclude that there is statistically significant difference between the 2 proportions. This difference is unlikely to be due to chance. Therefore the vaccine is effective. P < 0.05