SlideShare a Scribd company logo
1 of 18
*
*Chi- square test is the test of significance.
*It was first of all used by Karl Pearson in the year 1900.
*Chi-square test is a useful measure of comparing
experimentally obtained result with those expected
theoretically and based on the hypothesis.
*It is denoted by the Gr. sign-
*Following is the formula.
*It is a mathematical expression, representing the ratio between
experimentally obtained result (O) and the theoretically expected
result (E) based on certain hypothesis. It uses data in the form of
frequencies (i.e., the number of occurrence of an event).
*Chi-square test is calculated by dividing the square of the overall
deviation in the observed and expected frequencies by the
expected frequency.
*If there is no difference between actual and
observed frequencies, the value of chi-square is
zero.
*If there is a difference between observed and
expected frequencies, then the value of chi-
square would be more than zero.
*But the difference in the observed frequencies
may also be due to sampling fluctuations and it
should be ignored in drawing inference.
*
*In test, while comparing the calculated value
of with the table value, we have to calculated
the degree of freedom. The degree of freedom
is calculated from the no. of classes. Therefore,
the no. of degrees of freedom in a test is equal
to the no. of classes minus one.
*If there are two classes, three classes, and four classes, the
degree of freedom would be 2-1, 3-1, and 4-1, respectively. In
a contingency table, the degree of freedom is calculated in a
different manner:
d.f. = (r-1) (c-1)
where- r = number of row in a table,
c = number of column in a table.
*Thus in a 2Ă—2 contingency table, the degree of freedom is
(2-1 ) (2-1) = 1. Similarly, in a 3Ă—3 contingency table, the
number of degree of freedom is (3-1) (3-1) = 4. Likewise in 3Ă—4
contingency table the degree of freedom is (3-1) (4-1) = 6, and
so on.
*
*The term contingency table was first used by Karl
Pearson.
*A contingency table is a type of table in a matrix
format that displays the (multivariate) frequency
distribution of the variables. They are heavily used in
survey research, business intelligence, engineering and
scientific research. They provide a basic picture of the
interrelation between two variables and can help find
interactions between them.
*The value of depends on the no. of classes or in
other words on the number of degrees of freedom
(d. f.) and the critical level of probability.
*2Ă—2 table when there are only two sample, each
divided into classes and a 2Ă—2 contingency table is
prepared. It is also known ad four fold or four
cell table.
Column 1 Column 2 ROW Total
ROW 1
+ + RT 1
ROW 2
+ + RT 2
Column Total CT 1 CT 2
Degree of freedom = (r-1) (c-1)
= (2-1) (2-1)
= 1Ă—1
= 1
2 rows Ă— 2 columns
The chi-square distribution has some important characteristics
1. This test is based on frequencies, whereas, in theoretical distribution the
test is based on mean and standard deviation.
2. The other distribution can be used for testing the significance of the
difference between a single expected value and observed proportion.
However this test can be used for testing difference between the entire set
of the expected and the observed frequencies.
3. A new chi-square distribution is formed for every increase in is the
number of degree of freedom.
4. This rest is applied for testing the hypothesis but is not useful for
estimation
*
*
There are a few assumptions for the validity of chi-square test.
1. All the observation must be independent. No individual item should be
included twice or a number of items in the sample.
2. The total number of observation should be large. The chi-square test
should not be used if n>50.
3. All the events must be mutually exclusive.
4. For comparison purposes, the data must be in original units.
5. If the theoretical frequencies is less than five, than we pool it with the
preceding or the succeeding frequency, so that the resulting sum is
greater than five.
*
*The chi-square test is applicable to varied problems in agriculture, biology
and medical science-
1. To test the goodness of fit.
2. To test the independence of attributes.
3. To test the homogeneity of independent estimates of the population
variance.
4. To test the detection of linkage.
*
*Following steps are required to calculate the value of chi-square.
1. Identify the problem
2. Make a contingency table and note the observed frequency (O) is each classes of one
event, row wise i.e. horizontally and then the numbers in each group of the other
event, column wise i.e. vertically.
3. Set up the Null hypothesis (Ho); According to Null hypothesis, no association exists
between attributes. This need s setting up of alternative hypothesis (HA). It assumes
that an association exists between the attributes.
4. Calculate the expected frequencies (E).
5. Find the difference between observed and Expected frequency in each cell (O-E).
6. Calculate the chi-square value applying the formula. The value is ranges from zero to
Infinite.
*Solved Example-
Two varieties of snapdragons, one with red flower and other with white flowers were
crossed. The result obtained in F2 generation are: 22 red, 52 pink, and 23 white flower
plants. Now it is desired to ascertain these figures show that segregation occurs in the
simple Mendelian ratio of 1:2:1.
*Solution-
Null hypothesis- H0 : The genes carrying red color and white color
characters are segregating in simple Mendelian ratio of 1:2:1
*Expected frequencies:
Red =
1
4
Ă— 97 = 24.25
Pink =
2
4
Ă— 97 = 48.50
White =
1
4
Ă— 97 = 24.25
Red Pink White Total
Observed frequency (O) 22 52 23 97
Expected frequency (E) 24.25 48.50 24.25 97
Deviation (O-E) -2.25 3.50 -1.25
= (-2.25)2/ 24.25 + (3.50)2/ 48.50 + (-1.25)2/ 24.25
=
5.06
24.25
+
12.25
48.50
+
1.56
24.25
= 0.21 + 0.25 + 0.06
= 0.53
Conclusion –
The calculated Chi-square value (.53) is less than the
tabulated chi-square value (5.99) at 5% level of probability for 2 d.
f. The hypothesis is, therefore, in agreement with the recorded
facts.
*
*Singh, Pandey, Jain, Plant Resource Utilization,
Palynology, Biostatistics.
*Khan and Khanum, Fundamentals of Biostatistics.
*

More Related Content

What's hot (20)

Chi – square test
Chi – square testChi – square test
Chi – square test
 
Tests of significance
Tests of significanceTests of significance
Tests of significance
 
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
 
Correlation
CorrelationCorrelation
Correlation
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Parametric and nonparametric test
Parametric and nonparametric testParametric and nonparametric test
Parametric and nonparametric test
 
Standard error
Standard error Standard error
Standard error
 
T test
T testT test
T test
 
Type i and type ii errors
Type i and type ii errorsType i and type ii errors
Type i and type ii errors
 
Correlation
CorrelationCorrelation
Correlation
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Measures of Central Tendency - Biostatstics
Measures of Central Tendency - BiostatsticsMeasures of Central Tendency - Biostatstics
Measures of Central Tendency - Biostatstics
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
F test
F testF test
F test
 
Student t-test
Student t-testStudent t-test
Student t-test
 

Similar to Chi -square test

chi-squaretest-170826142554.ppt
chi-squaretest-170826142554.pptchi-squaretest-170826142554.ppt
chi-squaretest-170826142554.pptSoujanyaLk1
 
chi-squaretest-170826142554 (1).ppt
chi-squaretest-170826142554 (1).pptchi-squaretest-170826142554 (1).ppt
chi-squaretest-170826142554 (1).pptSoujanyaLk1
 
Chi square test
Chi square testChi square test
Chi square testAmanRathore54
 
chi-Square. test-
chi-Square. test-chi-Square. test-
chi-Square. test-shifanaz9
 
Chi square[1]
Chi square[1]Chi square[1]
Chi square[1]sbarkanic
 
Parametric & non parametric
Parametric & non parametricParametric & non parametric
Parametric & non parametricANCYBS
 
Chi-square IMP.ppt
Chi-square IMP.pptChi-square IMP.ppt
Chi-square IMP.pptShivraj Nile
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxrathorebhagwan07
 
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
 
Z and t_tests
Z and t_testsZ and t_tests
Z and t_testseducation
 
QNT 275 Exceptional Education - snaptutorial.com
QNT 275   Exceptional Education - snaptutorial.comQNT 275   Exceptional Education - snaptutorial.com
QNT 275 Exceptional Education - snaptutorial.comDavisMurphyB22
 

Similar to Chi -square test (20)

chi-squaretest-170826142554.ppt
chi-squaretest-170826142554.pptchi-squaretest-170826142554.ppt
chi-squaretest-170826142554.ppt
 
chi-squaretest-170826142554 (1).ppt
chi-squaretest-170826142554 (1).pptchi-squaretest-170826142554 (1).ppt
chi-squaretest-170826142554 (1).ppt
 
Chi square test
Chi square testChi square test
Chi square test
 
chi-Square. test-
chi-Square. test-chi-Square. test-
chi-Square. test-
 
Chi square
Chi square Chi square
Chi square
 
Chi-square test.pptx
Chi-square test.pptxChi-square test.pptx
Chi-square test.pptx
 
Chi square[1]
Chi square[1]Chi square[1]
Chi square[1]
 
Parametric & non parametric
Parametric & non parametricParametric & non parametric
Parametric & non parametric
 
Chi-square IMP.ppt
Chi-square IMP.pptChi-square IMP.ppt
Chi-square IMP.ppt
 
Chi square
Chi squareChi square
Chi square
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
 
Chisquare
ChisquareChisquare
Chisquare
 
Chi
ChiChi
Chi
 
Unit 4
Unit 4Unit 4
Unit 4
 
Chisquared test.pptx
Chisquared test.pptxChisquared test.pptx
Chisquared test.pptx
 
Goodness of-fit
Goodness of-fit  Goodness of-fit
Goodness of-fit
 
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
 
Z and t_tests
Z and t_testsZ and t_tests
Z and t_tests
 
QNT 275 Exceptional Education - snaptutorial.com
QNT 275   Exceptional Education - snaptutorial.comQNT 275   Exceptional Education - snaptutorial.com
QNT 275 Exceptional Education - snaptutorial.com
 
Statistical analysis by iswar
Statistical analysis by iswarStatistical analysis by iswar
Statistical analysis by iswar
 

More from VIVEK KUMAR SINGH

Tissue culture technique
Tissue culture techniqueTissue culture technique
Tissue culture techniqueVIVEK KUMAR SINGH
 
Biogeographical zones of India
Biogeographical zones of IndiaBiogeographical zones of India
Biogeographical zones of IndiaVIVEK KUMAR SINGH
 
Fluorescence Microscopy
Fluorescence MicroscopyFluorescence Microscopy
Fluorescence MicroscopyVIVEK KUMAR SINGH
 
Radiolabeling technique
Radiolabeling techniqueRadiolabeling technique
Radiolabeling techniqueVIVEK KUMAR SINGH
 
Photosystem first &cytochrome b6f
Photosystem first &cytochrome b6fPhotosystem first &cytochrome b6f
Photosystem first &cytochrome b6fVIVEK KUMAR SINGH
 
Fumitories and masticatories
Fumitories and masticatoriesFumitories and masticatories
Fumitories and masticatoriesVIVEK KUMAR SINGH
 
Intellectual property right
Intellectual property rightIntellectual property right
Intellectual property rightVIVEK KUMAR SINGH
 

More from VIVEK KUMAR SINGH (7)

Tissue culture technique
Tissue culture techniqueTissue culture technique
Tissue culture technique
 
Biogeographical zones of India
Biogeographical zones of IndiaBiogeographical zones of India
Biogeographical zones of India
 
Fluorescence Microscopy
Fluorescence MicroscopyFluorescence Microscopy
Fluorescence Microscopy
 
Radiolabeling technique
Radiolabeling techniqueRadiolabeling technique
Radiolabeling technique
 
Photosystem first &cytochrome b6f
Photosystem first &cytochrome b6fPhotosystem first &cytochrome b6f
Photosystem first &cytochrome b6f
 
Fumitories and masticatories
Fumitories and masticatoriesFumitories and masticatories
Fumitories and masticatories
 
Intellectual property right
Intellectual property rightIntellectual property right
Intellectual property right
 

Recently uploaded

HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 

Recently uploaded (20)

HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

Chi -square test

  • 1.
  • 2. * *Chi- square test is the test of significance. *It was first of all used by Karl Pearson in the year 1900. *Chi-square test is a useful measure of comparing experimentally obtained result with those expected theoretically and based on the hypothesis. *It is denoted by the Gr. sign- *Following is the formula.
  • 3. *It is a mathematical expression, representing the ratio between experimentally obtained result (O) and the theoretically expected result (E) based on certain hypothesis. It uses data in the form of frequencies (i.e., the number of occurrence of an event). *Chi-square test is calculated by dividing the square of the overall deviation in the observed and expected frequencies by the expected frequency.
  • 4. *If there is no difference between actual and observed frequencies, the value of chi-square is zero. *If there is a difference between observed and expected frequencies, then the value of chi- square would be more than zero. *But the difference in the observed frequencies may also be due to sampling fluctuations and it should be ignored in drawing inference.
  • 5. * *In test, while comparing the calculated value of with the table value, we have to calculated the degree of freedom. The degree of freedom is calculated from the no. of classes. Therefore, the no. of degrees of freedom in a test is equal to the no. of classes minus one.
  • 6. *If there are two classes, three classes, and four classes, the degree of freedom would be 2-1, 3-1, and 4-1, respectively. In a contingency table, the degree of freedom is calculated in a different manner: d.f. = (r-1) (c-1) where- r = number of row in a table, c = number of column in a table. *Thus in a 2Ă—2 contingency table, the degree of freedom is (2-1 ) (2-1) = 1. Similarly, in a 3Ă—3 contingency table, the number of degree of freedom is (3-1) (3-1) = 4. Likewise in 3Ă—4 contingency table the degree of freedom is (3-1) (4-1) = 6, and so on.
  • 7. * *The term contingency table was first used by Karl Pearson. *A contingency table is a type of table in a matrix format that displays the (multivariate) frequency distribution of the variables. They are heavily used in survey research, business intelligence, engineering and scientific research. They provide a basic picture of the interrelation between two variables and can help find interactions between them.
  • 8. *The value of depends on the no. of classes or in other words on the number of degrees of freedom (d. f.) and the critical level of probability. *2Ă—2 table when there are only two sample, each divided into classes and a 2Ă—2 contingency table is prepared. It is also known ad four fold or four cell table.
  • 9. Column 1 Column 2 ROW Total ROW 1 + + RT 1 ROW 2 + + RT 2 Column Total CT 1 CT 2 Degree of freedom = (r-1) (c-1) = (2-1) (2-1) = 1Ă—1 = 1 2 rows Ă— 2 columns
  • 10. The chi-square distribution has some important characteristics 1. This test is based on frequencies, whereas, in theoretical distribution the test is based on mean and standard deviation. 2. The other distribution can be used for testing the significance of the difference between a single expected value and observed proportion. However this test can be used for testing difference between the entire set of the expected and the observed frequencies. 3. A new chi-square distribution is formed for every increase in is the number of degree of freedom. 4. This rest is applied for testing the hypothesis but is not useful for estimation *
  • 11. * There are a few assumptions for the validity of chi-square test. 1. All the observation must be independent. No individual item should be included twice or a number of items in the sample. 2. The total number of observation should be large. The chi-square test should not be used if n>50. 3. All the events must be mutually exclusive. 4. For comparison purposes, the data must be in original units. 5. If the theoretical frequencies is less than five, than we pool it with the preceding or the succeeding frequency, so that the resulting sum is greater than five.
  • 12. * *The chi-square test is applicable to varied problems in agriculture, biology and medical science- 1. To test the goodness of fit. 2. To test the independence of attributes. 3. To test the homogeneity of independent estimates of the population variance. 4. To test the detection of linkage.
  • 13. * *Following steps are required to calculate the value of chi-square. 1. Identify the problem 2. Make a contingency table and note the observed frequency (O) is each classes of one event, row wise i.e. horizontally and then the numbers in each group of the other event, column wise i.e. vertically. 3. Set up the Null hypothesis (Ho); According to Null hypothesis, no association exists between attributes. This need s setting up of alternative hypothesis (HA). It assumes that an association exists between the attributes. 4. Calculate the expected frequencies (E). 5. Find the difference between observed and Expected frequency in each cell (O-E). 6. Calculate the chi-square value applying the formula. The value is ranges from zero to Infinite.
  • 14. *Solved Example- Two varieties of snapdragons, one with red flower and other with white flowers were crossed. The result obtained in F2 generation are: 22 red, 52 pink, and 23 white flower plants. Now it is desired to ascertain these figures show that segregation occurs in the simple Mendelian ratio of 1:2:1. *Solution- Null hypothesis- H0 : The genes carrying red color and white color characters are segregating in simple Mendelian ratio of 1:2:1 *Expected frequencies: Red = 1 4 Ă— 97 = 24.25 Pink = 2 4 Ă— 97 = 48.50 White = 1 4 Ă— 97 = 24.25
  • 15. Red Pink White Total Observed frequency (O) 22 52 23 97 Expected frequency (E) 24.25 48.50 24.25 97 Deviation (O-E) -2.25 3.50 -1.25 = (-2.25)2/ 24.25 + (3.50)2/ 48.50 + (-1.25)2/ 24.25
  • 16. = 5.06 24.25 + 12.25 48.50 + 1.56 24.25 = 0.21 + 0.25 + 0.06 = 0.53 Conclusion – The calculated Chi-square value (.53) is less than the tabulated chi-square value (5.99) at 5% level of probability for 2 d. f. The hypothesis is, therefore, in agreement with the recorded facts.
  • 17. * *Singh, Pandey, Jain, Plant Resource Utilization, Palynology, Biostatistics. *Khan and Khanum, Fundamentals of Biostatistics.
  • 18. *