SlideShare une entreprise Scribd logo
1  sur  19
Chi Square Test
RAHUL BABAR
Chi Square Test
Simplest & the most widely used
non-parametric test in statistical work
NON PARAMETRIC TEST
The test don’t rely on assumptions about
population parameters:
Population Mean
Population Standard Deviation
Chi Square
Sum
Observed frequency
Expected (theoretical) frequency,
asserted by the null hypothesis
Null Hypothesis
There is no significant difference between the
observed and expected frequencies
Chi-square distribution values
Degree of freedom : number of elements that can
be chosen freely
Critical value
Degree of freedom
Goodness of Fit
Independent Variables
&
Homogeneity of
proportion
Number of outcomes – 1
( No of rows – 1)( No of Columns -1)
( r - 1 )( c - 1 )
Applications of Chi-square test
Goodness of fit
Independent variables
Homogeneity of proportion
Goodness of fit
Test of the consistency between a hypothetical
and a sample distribution.
Example : Coin is tossed 50 times
Null hypothesis is that it’s
25 times heads and 25 times tails
( expected observation E )
Event Frequency
Head 28
Tail 22
Total 50
Observed Values is,
Event O E O - E ( O – E ) ² ( O – E ) ²
E
Head 28 25 3 9 0.36
Tail 22 25 -3 9 0.36
Total 0.72
Solution :
= 0.72 Degree of freedom is = (outcomes – 1) = 2 – 1 = 1
Critical value is 3.841 for df 1 at 0.05
Since 0.72 < 3.841 , our null hypothesis is acceptable which means our coin is fair
Test of Independence
To ascertain whether there is any dependency
relationship between the two attributes.
Example: A company introduced new drug B to
cure malaria. It is being compared with
existing drug A. Data is shown in next slide.
We need to find whether the new drug B is
more effective in curing malaria.
Helped
(C1)
Harmed
(C2)
No effect
(C3)
Total
Drug A
(R1)
44 10 26 80
Drug B
(R2)
52 10 18 80
Total 96 20 44 160
Solution :
O E O - E ( O-E ) ² ( O – E ) ²
E
R1C1 44 48 -4 16 0.333
R1C2 10 10 0 0 0
R1C3 26 22 4 16 0.727
R2C1 52 48 4 16 0.333
R2C2 10 10 0 0 0
R2C3 18 22 -4 16 0.727
Total = 2.12
We setup two hypothesis,
H0 :There is no difference in the effectiveness of
the two drugs
H1 : There is difference in the effectiveness of
the two drugs
Degree of freedom = (r-1)(c-1) = (2-1)(3-1) = 2
Critical value at 0.05 for df 2 is 5.991,
and 2.12 < 5.991
So, there is no difference in the effectiveness of
the two drugs
Alternative method:
Helped Harmed No effect Total
Drug A 44
(a)
10
(b)
26
(c)
80
(a+b+c)
Drug B 52
(d)
10
(e)
18
(f)
80
(d+e+f)
Total 96
(a+d)
20
(b+e)
44
(c+f)
160
(N)
Its 2x3 table so for calculating chi-square we use formula:
= N a² + b² + c² + N d² + e² + f² - N
a+b+c a+d b+e c+f d+e+f a+d b+e c+f
= 160 44² + 10² + 26² + 160 52² + 10² + 18² - 160
80 96 20 44 80 96 20 44
= 2.12
Both methods give same value for which is 2.12
Test of homogeneity
Test indicates whether the proportions of
elements belonging to different groups in two
or more populations are similar or not.
Example : A company has two factories in Delhi
and Mumbai. It is interested to know whether
its workers are satisfied with their jobs or not
at both places.
Delhi Mumbai Total
Fully satisfied 50 70 120
Moderately satisfied 90 110 200
Moderately dissatisfied 160 130 290
Fully dissatisfied 200 190 390
Total 500 500 1000
We setup two hypothesis,
H0 :The proportions of workers who belong to the four job satisfaction categories are
the same in both Delhi and Mumbai
H1 : The proportions of workers who belong to the four job satisfaction categories are
not the same in both Delhi and Mumbai
Degrees of freedom = (r-1)(c-1) = (4-1)(2-1) = 3
Critical value for 3 df at 0.05 is 7.815
Delhi Mumbai
O E O E
Fully satisfied 50 60 70 60
Moderately satisfied 90 100 110 100
Moderately dissatisfied 160 145 130 145
Fully dissatisfied 200 195 190 195
= (50-60) ² + (90-100) ² + (160-145) ² + (200-195) ² + (70-60) ² + (110-100) ² + (130-145) ² + (190-195) ²
60 100 145 195 60 100 145 195
= 1.667 + 1.000 + 1.552 + 0.128 + 1.667 + 1.000 + 1.522 + 0.128
= 8.694
Since the value 8.694 > 7.815
we therefore, reject the null hypothesis and conclude that the distribution of job
satisfaction for workers in Delhi and Mumbai is not homogeneous
IMPORTANT CHARACTERISTICS OF A CHI SQUARE TEST
 This test (as a non-parametric test) is based on frequencies
and not on the parameters like mean and standard
deviation.
 The test is used for testing the hypothesis and is not useful
for estimation.
 This test can also be applied to a complex contingency
table with several classes and as such is a very useful test in
research work.
 This test is an important non-parametric test as no rigid
assumptions are necessary in regard to the type of
population, no need of parameter values and relatively
less mathematical details are involved.
Chi square Test

Contenu connexe

Tendances

Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Muhammadasif909
 
Chi square test final
Chi square test finalChi square test final
Chi square test finalHar Jindal
 
Analysis of covariance
Analysis of covarianceAnalysis of covariance
Analysis of covariancemikko656
 
Test of significance
Test of significanceTest of significance
Test of significancemigom doley
 
LEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxLEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxRingoNavarro3
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testBPKIHS
 
Binomial probability distribution
Binomial probability distributionBinomial probability distribution
Binomial probability distributionhamza munir
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: EstimationParag Shah
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarAzmi Mohd Tamil
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regressiondessybudiyanti
 
Standard Error of Proportion & Two Proportions
Standard Error of Proportion & Two ProportionsStandard Error of Proportion & Two Proportions
Standard Error of Proportion & Two ProportionsJagdish Powar
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewRizwan S A
 

Tendances (20)

Significance test
Significance testSignificance test
Significance test
 
Statistical Inference
Statistical Inference Statistical Inference
Statistical Inference
 
Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)
 
Chi square test final
Chi square test finalChi square test final
Chi square test final
 
Chi square
Chi squareChi square
Chi square
 
Analysis of covariance
Analysis of covarianceAnalysis of covariance
Analysis of covariance
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Chi square
Chi squareChi square
Chi square
 
Kruskal wallis test
Kruskal wallis testKruskal wallis test
Kruskal wallis test
 
LEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxLEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptx
 
Chi square
Chi squareChi square
Chi square
 
{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-test
 
Binomial probability distribution
Binomial probability distributionBinomial probability distribution
Binomial probability distribution
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regression
 
Standard Error of Proportion & Two Proportions
Standard Error of Proportion & Two ProportionsStandard Error of Proportion & Two Proportions
Standard Error of Proportion & Two Proportions
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overview
 

En vedette

Parametric and non parametric test
Parametric and non parametric testParametric and non parametric test
Parametric and non parametric testAjay Malpani
 
DIstinguish between Parametric vs nonparametric test
 DIstinguish between Parametric vs nonparametric test DIstinguish between Parametric vs nonparametric test
DIstinguish between Parametric vs nonparametric testsai prakash
 
Chi square test
Chi square testChi square test
Chi square testasmhemu
 
Chi-Square test of Homogeneity by Pops P. Macalino (TSU-MAEd)
Chi-Square test of Homogeneity by Pops P. Macalino (TSU-MAEd)Chi-Square test of Homogeneity by Pops P. Macalino (TSU-MAEd)
Chi-Square test of Homogeneity by Pops P. Macalino (TSU-MAEd)pops macalino
 
Non-Parametric Inference : Chi-Square and The Sign Test
Non-Parametric Inference : Chi-Square and The Sign TestNon-Parametric Inference : Chi-Square and The Sign Test
Non-Parametric Inference : Chi-Square and The Sign TestLucky Maharani Safitri
 
Test of hypothesis (z)
Test of hypothesis (z)Test of hypothesis (z)
Test of hypothesis (z)Marlon Gomez
 
Review Z Test Ci 1
Review Z Test Ci 1Review Z Test Ci 1
Review Z Test Ci 1shoffma5
 
Nonparametric tests
Nonparametric testsNonparametric tests
Nonparametric testsArun Kumar
 

En vedette (20)

Chi sqyre test
Chi sqyre testChi sqyre test
Chi sqyre test
 
Parametric and non parametric test
Parametric and non parametric testParametric and non parametric test
Parametric and non parametric test
 
DIstinguish between Parametric vs nonparametric test
 DIstinguish between Parametric vs nonparametric test DIstinguish between Parametric vs nonparametric test
DIstinguish between Parametric vs nonparametric test
 
chi square test ( homo)
chi square test ( homo)chi square test ( homo)
chi square test ( homo)
 
Quality driven management
Quality driven managementQuality driven management
Quality driven management
 
Chi square test
Chi square testChi square test
Chi square test
 
Chapter12
Chapter12Chapter12
Chapter12
 
Chi-Square test of Homogeneity by Pops P. Macalino (TSU-MAEd)
Chi-Square test of Homogeneity by Pops P. Macalino (TSU-MAEd)Chi-Square test of Homogeneity by Pops P. Macalino (TSU-MAEd)
Chi-Square test of Homogeneity by Pops P. Macalino (TSU-MAEd)
 
The median test
The median testThe median test
The median test
 
Non-Parametric Inference : Chi-Square and The Sign Test
Non-Parametric Inference : Chi-Square and The Sign TestNon-Parametric Inference : Chi-Square and The Sign Test
Non-Parametric Inference : Chi-Square and The Sign Test
 
Chi square
Chi squareChi square
Chi square
 
Sign test
Sign testSign test
Sign test
 
The Sign Test
The Sign TestThe Sign Test
The Sign Test
 
Parametric vs Non-Parametric
Parametric vs Non-ParametricParametric vs Non-Parametric
Parametric vs Non-Parametric
 
Test of hypothesis (z)
Test of hypothesis (z)Test of hypothesis (z)
Test of hypothesis (z)
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Review Z Test Ci 1
Review Z Test Ci 1Review Z Test Ci 1
Review Z Test Ci 1
 
Nonparametric tests
Nonparametric testsNonparametric tests
Nonparametric tests
 
The Chi-Squared Test
The Chi-Squared TestThe Chi-Squared Test
The Chi-Squared Test
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 

Similaire à Chi square Test

C2 st lecture 12 the chi squared-test handout
C2 st lecture 12   the chi squared-test handoutC2 st lecture 12   the chi squared-test handout
C2 st lecture 12 the chi squared-test handoutfatima d
 
CHI SQUARE ANALYSIS.pptx - Advanced Business Statistics
CHI SQUARE ANALYSIS.pptx - Advanced Business StatisticsCHI SQUARE ANALYSIS.pptx - Advanced Business Statistics
CHI SQUARE ANALYSIS.pptx - Advanced Business Statisticsindumathi967565
 
chi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistanchi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistanmuhammad shahid
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis TestingRyan Herzog
 
Contingency Table Test, M. Asad Hayat, UET Taxila
Contingency Table Test, M. Asad Hayat, UET TaxilaContingency Table Test, M. Asad Hayat, UET Taxila
Contingency Table Test, M. Asad Hayat, UET TaxilaMuhammad Warraich
 
Statistics-Non parametric test
Statistics-Non parametric testStatistics-Non parametric test
Statistics-Non parametric testRabin BK
 
Lesson06_new
Lesson06_newLesson06_new
Lesson06_newshengvn
 
Lect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testLect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testRione Drevale
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysisRajat Sharma
 
Ali, Redescending M-estimator
Ali, Redescending M-estimator Ali, Redescending M-estimator
Ali, Redescending M-estimator Muhammad Ali
 
t-z-chi-square tests of sig.pdf
t-z-chi-square tests of sig.pdft-z-chi-square tests of sig.pdf
t-z-chi-square tests of sig.pdfAmoghLavania1
 

Similaire à Chi square Test (20)

Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
C2 st lecture 12 the chi squared-test handout
C2 st lecture 12   the chi squared-test handoutC2 st lecture 12   the chi squared-test handout
C2 st lecture 12 the chi squared-test handout
 
CHI SQUARE ANALYSIS.pptx - Advanced Business Statistics
CHI SQUARE ANALYSIS.pptx - Advanced Business StatisticsCHI SQUARE ANALYSIS.pptx - Advanced Business Statistics
CHI SQUARE ANALYSIS.pptx - Advanced Business Statistics
 
Chi square
Chi squareChi square
Chi square
 
chi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistanchi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistan
 
Chisquare
ChisquareChisquare
Chisquare
 
Topic 1 part 2
Topic 1 part 2Topic 1 part 2
Topic 1 part 2
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Contingency Table Test, M. Asad Hayat, UET Taxila
Contingency Table Test, M. Asad Hayat, UET TaxilaContingency Table Test, M. Asad Hayat, UET Taxila
Contingency Table Test, M. Asad Hayat, UET Taxila
 
Statistics-Non parametric test
Statistics-Non parametric testStatistics-Non parametric test
Statistics-Non parametric test
 
Lesson06_new
Lesson06_newLesson06_new
Lesson06_new
 
Lect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testLect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_test
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysis
 
Chi square
Chi square Chi square
Chi square
 
Non Parametric Statistics
Non Parametric StatisticsNon Parametric Statistics
Non Parametric Statistics
 
Ali, Redescending M-estimator
Ali, Redescending M-estimator Ali, Redescending M-estimator
Ali, Redescending M-estimator
 
Chisquared test.pptx
Chisquared test.pptxChisquared test.pptx
Chisquared test.pptx
 
Chapter07.pdf
Chapter07.pdfChapter07.pdf
Chapter07.pdf
 
Chapter12
Chapter12Chapter12
Chapter12
 
t-z-chi-square tests of sig.pdf
t-z-chi-square tests of sig.pdft-z-chi-square tests of sig.pdf
t-z-chi-square tests of sig.pdf
 

Plus de BVIMSR, Navi Mumbai

Plus de BVIMSR, Navi Mumbai (7)

Measurement & Scaling
Measurement & ScalingMeasurement & Scaling
Measurement & Scaling
 
Organizational Development & Structure
Organizational Development & StructureOrganizational Development & Structure
Organizational Development & Structure
 
Product design
Product designProduct design
Product design
 
Total quality management at Mahindra & Mahindra Limited
Total quality management at Mahindra & Mahindra LimitedTotal quality management at Mahindra & Mahindra Limited
Total quality management at Mahindra & Mahindra Limited
 
Inflation
InflationInflation
Inflation
 
Business Process Reengineering
Business Process ReengineeringBusiness Process Reengineering
Business Process Reengineering
 
Triple A Supply Chain
Triple A Supply ChainTriple A Supply Chain
Triple A Supply Chain
 

Dernier

Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckPitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckHajeJanKamps
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / NcrCall Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncrdollysharma2066
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024Matteo Carbone
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Seta Wicaksana
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCRashishs7044
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Anamaria Contreras
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy Verified Accounts
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Servicecallgirls2057
 
APRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfAPRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfRbc Rbcua
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMVoces Mineras
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCRashishs7044
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaoncallgirls2057
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCRashishs7044
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyotictsugar
 

Dernier (20)

Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckPitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / NcrCall Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
 
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCREnjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail Accounts
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
 
APRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfAPRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdf
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQM
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyot
 

Chi square Test

  • 2. Chi Square Test Simplest & the most widely used non-parametric test in statistical work
  • 3. NON PARAMETRIC TEST The test don’t rely on assumptions about population parameters: Population Mean Population Standard Deviation
  • 4. Chi Square Sum Observed frequency Expected (theoretical) frequency, asserted by the null hypothesis
  • 5. Null Hypothesis There is no significant difference between the observed and expected frequencies
  • 6. Chi-square distribution values Degree of freedom : number of elements that can be chosen freely Critical value
  • 7. Degree of freedom Goodness of Fit Independent Variables & Homogeneity of proportion Number of outcomes – 1 ( No of rows – 1)( No of Columns -1) ( r - 1 )( c - 1 )
  • 8. Applications of Chi-square test Goodness of fit Independent variables Homogeneity of proportion
  • 9. Goodness of fit Test of the consistency between a hypothetical and a sample distribution. Example : Coin is tossed 50 times Null hypothesis is that it’s 25 times heads and 25 times tails ( expected observation E )
  • 10. Event Frequency Head 28 Tail 22 Total 50 Observed Values is, Event O E O - E ( O – E ) ² ( O – E ) ² E Head 28 25 3 9 0.36 Tail 22 25 -3 9 0.36 Total 0.72 Solution : = 0.72 Degree of freedom is = (outcomes – 1) = 2 – 1 = 1 Critical value is 3.841 for df 1 at 0.05 Since 0.72 < 3.841 , our null hypothesis is acceptable which means our coin is fair
  • 11. Test of Independence To ascertain whether there is any dependency relationship between the two attributes. Example: A company introduced new drug B to cure malaria. It is being compared with existing drug A. Data is shown in next slide. We need to find whether the new drug B is more effective in curing malaria.
  • 12. Helped (C1) Harmed (C2) No effect (C3) Total Drug A (R1) 44 10 26 80 Drug B (R2) 52 10 18 80 Total 96 20 44 160 Solution : O E O - E ( O-E ) ² ( O – E ) ² E R1C1 44 48 -4 16 0.333 R1C2 10 10 0 0 0 R1C3 26 22 4 16 0.727 R2C1 52 48 4 16 0.333 R2C2 10 10 0 0 0 R2C3 18 22 -4 16 0.727 Total = 2.12
  • 13. We setup two hypothesis, H0 :There is no difference in the effectiveness of the two drugs H1 : There is difference in the effectiveness of the two drugs Degree of freedom = (r-1)(c-1) = (2-1)(3-1) = 2 Critical value at 0.05 for df 2 is 5.991, and 2.12 < 5.991 So, there is no difference in the effectiveness of the two drugs
  • 14. Alternative method: Helped Harmed No effect Total Drug A 44 (a) 10 (b) 26 (c) 80 (a+b+c) Drug B 52 (d) 10 (e) 18 (f) 80 (d+e+f) Total 96 (a+d) 20 (b+e) 44 (c+f) 160 (N) Its 2x3 table so for calculating chi-square we use formula: = N a² + b² + c² + N d² + e² + f² - N a+b+c a+d b+e c+f d+e+f a+d b+e c+f = 160 44² + 10² + 26² + 160 52² + 10² + 18² - 160 80 96 20 44 80 96 20 44 = 2.12 Both methods give same value for which is 2.12
  • 15. Test of homogeneity Test indicates whether the proportions of elements belonging to different groups in two or more populations are similar or not. Example : A company has two factories in Delhi and Mumbai. It is interested to know whether its workers are satisfied with their jobs or not at both places.
  • 16. Delhi Mumbai Total Fully satisfied 50 70 120 Moderately satisfied 90 110 200 Moderately dissatisfied 160 130 290 Fully dissatisfied 200 190 390 Total 500 500 1000 We setup two hypothesis, H0 :The proportions of workers who belong to the four job satisfaction categories are the same in both Delhi and Mumbai H1 : The proportions of workers who belong to the four job satisfaction categories are not the same in both Delhi and Mumbai Degrees of freedom = (r-1)(c-1) = (4-1)(2-1) = 3 Critical value for 3 df at 0.05 is 7.815
  • 17. Delhi Mumbai O E O E Fully satisfied 50 60 70 60 Moderately satisfied 90 100 110 100 Moderately dissatisfied 160 145 130 145 Fully dissatisfied 200 195 190 195 = (50-60) ² + (90-100) ² + (160-145) ² + (200-195) ² + (70-60) ² + (110-100) ² + (130-145) ² + (190-195) ² 60 100 145 195 60 100 145 195 = 1.667 + 1.000 + 1.552 + 0.128 + 1.667 + 1.000 + 1.522 + 0.128 = 8.694 Since the value 8.694 > 7.815 we therefore, reject the null hypothesis and conclude that the distribution of job satisfaction for workers in Delhi and Mumbai is not homogeneous
  • 18. IMPORTANT CHARACTERISTICS OF A CHI SQUARE TEST  This test (as a non-parametric test) is based on frequencies and not on the parameters like mean and standard deviation.  The test is used for testing the hypothesis and is not useful for estimation.  This test can also be applied to a complex contingency table with several classes and as such is a very useful test in research work.  This test is an important non-parametric test as no rigid assumptions are necessary in regard to the type of population, no need of parameter values and relatively less mathematical details are involved.