SlideShare a Scribd company logo
1 of 14
CHI SQUARE TEST AND ITS TYPES
INTRODUCTION
• Chi square test, also called Pearson’s chi
square test.
• First investigated by KARL PEARSON in
1990
APPLICATION OF CHI SQUARE TEST
• Goodness of fit- whether an observed frequency
distribution differs from a theoretical distribution.
• Homogeneity- compares the distribution of
counts for two or more groups using the same
categorical variable
• Independence (most commonly used)- assesses
whether unpaired observation on two variables are
independent of each other
IMPORTANT CHARACTERISTIC 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 possesses the additive property as has already been explained.
• 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
APPLICATIONS OF CHI SQUARE
TESTING
This test can be used in
• Goodness of Fit of distribution
• Test of independence of attributes
• Test of homogeneity
GOODNESS OF FIT OF DISTRIBUTION
This test enables us to see how well does the assumed theorotical distribution (such as
binomial distribution Poisson distribution or normal distribution)fit to the observed data
The formula for the chi-square statistic used in the chi square test is:
Where
O=observed frequency
E=expected frequency
GOODNESS OF FIT OF DISTRIBUTION
If x2 (calculated)>(tabulated),with (n-1) then null hypothesis is rejected
otherwise accepted
And if null hypothesis is accepted then it can be concluded that the given
distribution follows theoretical distribution.
TEST OF INDEPENDENCE OF ATTRIBUTES
 Test enables us to explain whether or not two attributes are
associated
 for instance we may be interested in knowing whether a new
medicine is effective controlling fever or not, x2 is useful.
 in such a situation we proceed with the null hypothesis that the two
attributes (medicine and control of fever) are independent which
means medicine is not effective.
TEST OF INDEPENDENCE OF ATTRIBUTES
X2 (calculated)> x2 (tabulated) at a certain level of significance for given
degrees of freedom, the null hypothesis is rejected, two variables are
dependent (the new medicine is effective in controlling the fever)And if , x2
(calculated)<x2 (tabulated) the null hypothesis is accepted 2 variables are
independent (so the new medicine is not effective in controlling the fever)
TEST OF HOMOGENITY
This test can also be used to test whether the occurrence of events follow
uniformity or not e.g. the admission of patients in government hospital in all
days of week is uniform or not can be tested with the help of chi square test.
WE COLLECT DATA BY FLIPPING THE COIN 200
TIMES.
THE COIN LANDED HEADS-UP 108 TIMES AND
TAILS-UP 92 TIMES. AT FIRST GLANCE, WE
MIGHT SUSPECT THAT THE COIN IS BIASED
BECAUSE HEADS RESULTED MORE OFTEN
THAN THAN TAILS.
Heads Tails Total
Observed 108 92 200
Expected 100 100 200
Total 208 192 400
df/pro
b.
0.99 0.95 0.90 0.80 0.70 0.50 0.30 0.20 0.10 0.05
1
0.0001
3
0.0039 0.016 0.64 0.15 0.46 1.07 1.64 2.71 3.84
2 0.02 0.10 0.21 0.45 0.71 1.39 2.41 3.22 4.60 5.99
3 0.12 0.35 0.58 1.00 1.42 2.37 3.66 4.64 6.25 7.82
4 0.3 0.71 1.06 1.65 2.20 3.36 4.88 5.99 7.78 9.49
5 0.55 1.14 1.61 2.34 3.00 4.35 6.06 7.29 9.24 11.07

More Related Content

What's hot

Parametric & non parametric
Parametric & non parametricParametric & non parametric
Parametric & non parametricANCYBS
 
Contingency table
Contingency tableContingency table
Contingency tableWeam Banjar
 
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 hypothesisForensic Pathology
 
Chi square test presentation
Chi square test presentationChi square test presentation
Chi square test presentationMD ASADUZZAMAN
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statisticsAnchal Garg
 
Inferential statistics (2)
Inferential statistics (2)Inferential statistics (2)
Inferential statistics (2)rajnulada
 
Chi square test
Chi square testChi square test
Chi square testNayna Azad
 
Research methodology chi square test
Research methodology  chi square testResearch methodology  chi square test
Research methodology chi square testPriyadharshiniV11
 
Chi square test final presentation
Chi square test final presentationChi square test final presentation
Chi square test final presentationRitesh Tiwari
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantPRAJAKTASAWANT33
 
Class24 chi squaretestofindependenceposthoc
Class24 chi squaretestofindependenceposthocClass24 chi squaretestofindependenceposthoc
Class24 chi squaretestofindependenceposthocBetynatha Kb
 

What's hot (20)

Parametric & non parametric
Parametric & non parametricParametric & non parametric
Parametric & non parametric
 
Non parametric presentation
Non parametric presentationNon parametric presentation
Non parametric presentation
 
Contingency table
Contingency tableContingency table
Contingency table
 
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
 
Chi squared test
Chi squared test Chi squared test
Chi squared test
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
Chi square test presentation
Chi square test presentationChi square test presentation
Chi square test presentation
 
Chi square mahmoud
Chi square mahmoudChi square mahmoud
Chi square mahmoud
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
Inferential statistics (2)
Inferential statistics (2)Inferential statistics (2)
Inferential statistics (2)
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Chi square test
Chi square testChi square test
Chi square test
 
Research methodology chi square test
Research methodology  chi square testResearch methodology  chi square test
Research methodology chi square test
 
Chi square test final presentation
Chi square test final presentationChi square test final presentation
Chi square test final presentation
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
Freq distribution
Freq distributionFreq distribution
Freq distribution
 
Class24 chi squaretestofindependenceposthoc
Class24 chi squaretestofindependenceposthocClass24 chi squaretestofindependenceposthoc
Class24 chi squaretestofindependenceposthoc
 

Similar to Busniess stats

Chi squared test
Chi squared testChi squared test
Chi squared testDhruv Patel
 
10. sampling and hypotehsis
10. sampling and hypotehsis10. sampling and hypotehsis
10. sampling and hypotehsisKaran Kukreja
 
Chi square test final
Chi square test finalChi square test final
Chi square test finalHar Jindal
 
chi-Square. test-
chi-Square. test-chi-Square. test-
chi-Square. test-shifanaz9
 
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
 
Parametric tests seminar
Parametric tests seminarParametric tests seminar
Parametric tests seminardrdeepika87
 
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptxChemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptxHakimuNsubuga2
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethicsAbhishek Thakur
 
Commonly used statistical tests in research
Commonly used statistical tests in researchCommonly used statistical tests in research
Commonly used statistical tests in researchNaqeeb Ullah Khan
 
Intro to tests of significance qualitative
Intro to tests of significance qualitativeIntro to tests of significance qualitative
Intro to tests of significance qualitativePandurangi Raghavendra
 
scope and need of biostatics
scope and need of  biostaticsscope and need of  biostatics
scope and need of biostaticsdr_sharmajyoti01
 
tests of significance
tests of significancetests of significance
tests of significancebenita regi
 
Research method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovaResearch method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovanaranbatn
 
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
 

Similar to Busniess stats (20)

Chisquare
ChisquareChisquare
Chisquare
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
10. sampling and hypotehsis
10. sampling and hypotehsis10. sampling and hypotehsis
10. sampling and hypotehsis
 
Chi square test final
Chi square test finalChi square test final
Chi square test final
 
chi_square test.pptx
chi_square test.pptxchi_square test.pptx
chi_square test.pptx
 
Testing of hypothesis and Goodness of fit
Testing of hypothesis and Goodness of fitTesting of hypothesis and Goodness of fit
Testing of hypothesis and Goodness of fit
 
chi-Square. test-
chi-Square. test-chi-Square. 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
 
Parametric tests seminar
Parametric tests seminarParametric tests seminar
Parametric tests seminar
 
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptxChemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethics
 
Chi-Square test.pptx
Chi-Square test.pptxChi-Square test.pptx
Chi-Square test.pptx
 
Commonly used statistical tests in research
Commonly used statistical tests in researchCommonly used statistical tests in research
Commonly used statistical tests in research
 
Intro to tests of significance qualitative
Intro to tests of significance qualitativeIntro to tests of significance qualitative
Intro to tests of significance qualitative
 
Parametric Test
Parametric TestParametric Test
Parametric Test
 
scope and need of biostatics
scope and need of  biostaticsscope and need of  biostatics
scope and need of biostatics
 
tests of significance
tests of significancetests of significance
tests of significance
 
Research method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovaResearch method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anova
 
univariate and bivariate analysis in spss
univariate and bivariate analysis in spss univariate and bivariate analysis in spss
univariate and bivariate analysis in spss
 

More from VishalHotchandani2 (7)

Transportation problems
Transportation problemsTransportation problems
Transportation problems
 
Reward management
Reward management Reward management
Reward management
 
Amazon alexa ppt
Amazon alexa pptAmazon alexa ppt
Amazon alexa ppt
 
Labour laws ppt
Labour laws pptLabour laws ppt
Labour laws ppt
 
Bonds
Bonds Bonds
Bonds
 
LEAST COST METHOD
LEAST COST METHOD LEAST COST METHOD
LEAST COST METHOD
 
human resource planning
human resource planninghuman resource planning
human resource planning
 

Recently uploaded

Introducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsIntroducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsKnowledgeSeed
 
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...ssuserf63bd7
 
Effective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold JewelryEffective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold JewelryWhittensFineJewelry1
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerAggregage
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfDanny Diep To
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfShashank Mehta
 
Send Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSendBig4
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfJamesConcepcion7
 
NAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataNAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
Entrepreneurship lessons in Philippines
Entrepreneurship lessons in  PhilippinesEntrepreneurship lessons in  Philippines
Entrepreneurship lessons in PhilippinesDavidSamuel525586
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Peter Ward
 
Cyber Security Training in Office Environment
Cyber Security Training in Office EnvironmentCyber Security Training in Office Environment
Cyber Security Training in Office Environmentelijahj01012
 
BAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxBAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxran17april2001
 
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Associazione Digital Days
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024Adnet Communications
 
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxGo for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxRakhi Bazaar
 
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOne Monitar
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxappkodes
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingrajputmeenakshi733
 

Recently uploaded (20)

Introducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsIntroducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applications
 
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
 
Effective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold JewelryEffective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold Jewelry
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon Harmer
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdf
 
Send Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.com
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdf
 
NAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataNAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors Data
 
Entrepreneurship lessons in Philippines
Entrepreneurship lessons in  PhilippinesEntrepreneurship lessons in  Philippines
Entrepreneurship lessons in Philippines
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...
 
Cyber Security Training in Office Environment
Cyber Security Training in Office EnvironmentCyber Security Training in Office Environment
Cyber Security Training in Office Environment
 
BAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxBAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptx
 
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024
 
WAM Corporate Presentation April 12 2024.pdf
WAM Corporate Presentation April 12 2024.pdfWAM Corporate Presentation April 12 2024.pdf
WAM Corporate Presentation April 12 2024.pdf
 
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxGo for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
 
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptx
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketing
 

Busniess stats

  • 1. CHI SQUARE TEST AND ITS TYPES
  • 2. INTRODUCTION • Chi square test, also called Pearson’s chi square test. • First investigated by KARL PEARSON in 1990
  • 3. APPLICATION OF CHI SQUARE TEST • Goodness of fit- whether an observed frequency distribution differs from a theoretical distribution. • Homogeneity- compares the distribution of counts for two or more groups using the same categorical variable • Independence (most commonly used)- assesses whether unpaired observation on two variables are independent of each other
  • 4. IMPORTANT CHARACTERISTIC 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 possesses the additive property as has already been explained. • 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
  • 5. APPLICATIONS OF CHI SQUARE TESTING This test can be used in • Goodness of Fit of distribution • Test of independence of attributes • Test of homogeneity
  • 6. GOODNESS OF FIT OF DISTRIBUTION This test enables us to see how well does the assumed theorotical distribution (such as binomial distribution Poisson distribution or normal distribution)fit to the observed data The formula for the chi-square statistic used in the chi square test is: Where O=observed frequency E=expected frequency
  • 7. GOODNESS OF FIT OF DISTRIBUTION If x2 (calculated)>(tabulated),with (n-1) then null hypothesis is rejected otherwise accepted And if null hypothesis is accepted then it can be concluded that the given distribution follows theoretical distribution.
  • 8. TEST OF INDEPENDENCE OF ATTRIBUTES  Test enables us to explain whether or not two attributes are associated  for instance we may be interested in knowing whether a new medicine is effective controlling fever or not, x2 is useful.  in such a situation we proceed with the null hypothesis that the two attributes (medicine and control of fever) are independent which means medicine is not effective.
  • 9. TEST OF INDEPENDENCE OF ATTRIBUTES X2 (calculated)> x2 (tabulated) at a certain level of significance for given degrees of freedom, the null hypothesis is rejected, two variables are dependent (the new medicine is effective in controlling the fever)And if , x2 (calculated)<x2 (tabulated) the null hypothesis is accepted 2 variables are independent (so the new medicine is not effective in controlling the fever)
  • 10. TEST OF HOMOGENITY This test can also be used to test whether the occurrence of events follow uniformity or not e.g. the admission of patients in government hospital in all days of week is uniform or not can be tested with the help of chi square test.
  • 11. WE COLLECT DATA BY FLIPPING THE COIN 200 TIMES. THE COIN LANDED HEADS-UP 108 TIMES AND TAILS-UP 92 TIMES. AT FIRST GLANCE, WE MIGHT SUSPECT THAT THE COIN IS BIASED BECAUSE HEADS RESULTED MORE OFTEN THAN THAN TAILS.
  • 12.
  • 13. Heads Tails Total Observed 108 92 200 Expected 100 100 200 Total 208 192 400
  • 14. df/pro b. 0.99 0.95 0.90 0.80 0.70 0.50 0.30 0.20 0.10 0.05 1 0.0001 3 0.0039 0.016 0.64 0.15 0.46 1.07 1.64 2.71 3.84 2 0.02 0.10 0.21 0.45 0.71 1.39 2.41 3.22 4.60 5.99 3 0.12 0.35 0.58 1.00 1.42 2.37 3.66 4.64 6.25 7.82 4 0.3 0.71 1.06 1.65 2.20 3.36 4.88 5.99 7.78 9.49 5 0.55 1.14 1.61 2.34 3.00 4.35 6.06 7.29 9.24 11.07