SlideShare a Scribd company logo
1 of 20
Devi Aliyah Vishva Vidhyalaya, Indore
Χ 2 (CHI - SQUARE) TEST:
AS A TEST OF INDEPENDECE
Submitted To Submitted By
Mr. Ritesh Tiwari Miss. Nayna Azad
Lecturer M.Phil 1st Sem
 DEFINITION OF CHI-SQUARE TEST
 INTRODUCTION TO CHI-SQUARE TEST
 CHI-SQUARE AS A TEST FOR COMPARING VARIANCE
 CHI-SQUARE AS A NON-PARAMETRIC TEST
 CONDITIONS FOR THE APPLICATION OF χ2 TEST
 CHARACTERISTICS OF χ2 TEST
 STEPS INVOLVED IN APPLYING CHI-SQUARE TEST AND
A NUEMERICAL TO EXPLAIN
 SIGNIFICANCE OF CHI SQUARE TEST
 CONCLUSION
CONTENTS:
33
The Chi-Square (χ2) test could be defined as a
Non-parametric test that is used to test
hypotheses about distributions of frequencies
across categories of data. It can be used to test
for comparing variance too.
DEFINATION OF CHI-SQUARE TEST
44
One way to do this is to work out what we
would expect to find if there was no relationship
between them (the usual null hypothesis) and
what we actually observe.
The test we use to measure the differences
between what is observed and what is expected
according to an assumed hypothesis is called
the chi-square test.
We often have occasions to make comparisons
between two characteristics of something to see
if they are linked or related to each other.
INTRODUCTION TO CHI-SQUARE TEST
55
The chi-square test is often used to judge the
significance of population variance.
Formula of Chi-square test of comparing
variance:
χ 2 = σ2
s /σ2
p (n-1)
Where
σ2
s = variance of the sample
σ2
p = variance of the population
(n-1) = degree of freedom, n being the number
of items in the sample.
CHI-SQUARE TEST AS A TEST FOR
COMPARING VARIANCE
66
Chi-Square Table
77
Chi-square is an important test and as such no
rigid assumptions are necessary in respect of
the type of population. We require only the
degree of freedom (implicitly of course the size
of the sample) for using this test. As a non-
parametric test, chi square can be used
(i) as a test of goodness of fit,
(ii) as a test of homogeneity and
(iii) as a test of independence.
CHI-SQUARE AS A NON-PARAMETRIC TEST
88
As a test of goodness of fit -
It is used to test the single variable i.e., it is
fit to the population or not. It means
Sample is supporting the population or not.
As a test of goodness of fit -
It is used to test a single categorical variable
from two different populations. It is used to
determine whether frequency counts are
distributed identification across different
populations.
As a test of independence –
To explain that variable are how much
attached with each other.
Continued...
99
There must be two observed set of data or one
observed set and one expected set [generally
there are n - rows and c - columns].
The number of observations or items must be
reasonably large [i.e., normally equal or greater
than 50].
Expected frequency should not be very small
should not be less than five.
Observations recorded and used are collected
on random basis.
All the times in the sample must be
independent.
CONDITIONS FOR THE APPLICATIONS OF
χ2 TEST
1010
Chi-square is based on the observed
frequency and not on the parameters mean and
standard deviation.
It is a technique for testing the hypothesis and
not used for the purposes of estimation.
It is useful test for research and is used to
complex contingency table with several Classes.
In contingency table variables are arranged in
different formats in a table; It is a way to
present the different attributes of a population.
The text involves less mathematical details
and there is no need of any parameter values
eg. Mean and standard deviation.
CHARACTERISTICS OF χ2 TEST
1111
Step 1-
First of all expected frequencies are calculated
on the basis of null hypothesis. The expected
frequency of any given cell is calculated on the
basis of following formula:
Expected frequency of any cell = (Row total of
that cell) X (Column Total of the cell) / Grand
Total of the Table.
Step 2-
Obtained difference between observed and
expected frequency and obtained square of such
differences, i.e. (Oi-Ei)2
STEPS INVOLVED IN CHI-SQUARE
1212
Step 3-
Divide the quantity (Oi-Ei) by the
corresponding expected frequencies to get (Oi-
Ei) 2 / Ei
Step 4-
Find the summation (∑) of there value to get ∑
(Oi-Ei) 2 / Ei
This is the required chi-square value or χ2 value
as the formula of χ2 test is as follows:
χ2 =∑ (Oi-Ei) 2 / Ei
Step 5-
Thus the calculated value of chi-square should
be compared with relevant table value of χ2 and
inference can be drawn as stated above.
Continued...
1313
Data obtained during out break of small pox in town.
Test the effectiveness of vaccination in preventing the attack from
smallpox. Test your result with the help of χ2 test at 5 % level of
significance.
Attributes:
Vaccination
Attacked
Null Hypothesis (H0)- Vaccination (A) and Small Pox (B) are
Independent and i.e., vaccination is not effective in small pox
prevention.
Alternative Hypothesis (Ha)- Vaccination (A) is effective in small
pox prevention.
Numerical
Attacked (B) Not Attacked (b) Total
Vaccinated (A) 31 469 500
Not vaccinated (a) 185 1315 1500
Total 216 1784 2000
1414
Solution
Contingency Table:
Calculation of Expected Frequencies for (CT):
AB = 500 X 216 / 2000 = 54
aB = 1500 X 216 / 2000 = 162
Ab = 500 X 1784 / 2000 = 446
Ab = 1500 X 1784 / 2000= 1338
Continued...
Attacked (B) Not Attacked (b) Total
Vaccinated (A) (AB) 54 (Ab) 446 500
Not vaccinated
(a)
(aB) 162 (ab) 1338 1500
Total 216 1784 2000
1515
Putting the value in table:
Continued...
Group Oi Ei Oi - Ei (Oi - Ei)2 (Oi - Ei)2 / Ei
AB 31 54 31-54 = -23 529 9.796
Ab 469 446 469-446 = 23 529 1.186
aB 185 162 185-162 = 23 529 3.265
ab 1315 1338 1315-1338 = -23 529 0.395
∑ (Oi - Ei)2 / Ei
14.642
1616
χ2 = (Oi - Ei)2 / E2
χ2 = 14.642
Degrees of freedom in this case = (r-1) (C-1)
Degrees of freedom in this case = (2-1) (2-1)
Degrees of freedom in this case = (1) (1)
Degrees of freedom in this case = 1
Table value of χ2 for 1 degree of freedom at 5% level of
significance is 3.841. The calculated value of χ2 is much
higher than this table value and hence the result of the
experiment does not support the hypothesis. We can,
thus, conclude that vaccination is effective in preventing
the attack from smallpox.
Continued...
1717
SIGNIFICANCE OF THE CHI-SQUARE TEST IS AS FOLLOW:
It is very useful to check the Interdependence of two variables on
each other.
Chi Square can also be used to test differences between two or
more actual samples.
Being a non-parametric tests chi-square test is much easier to
compute, and also to apply.
The Chi Square (X2) test is undoubtedly the most important and
most used member of the non-parametric family of statistical tests.
Chi Square is employed to test the difference between an actual
sample and another hypothetical or previously established
distribution such as that which may be expected due to chance or
probability.
Chi square test can be used to treat data which have been
measured on nominal (classificatory) scales. Such data cannot, on
any logical basis, be ordered numerically, hence there is no
possibility of using parametric statistical tests which require
numerical data.
SIGNIFICANCE OF CHI-SQUARE TEST
1818
As conclusion we can say that the chi-square
test is an important test amongst the several
tests of significance developed by statisticians.
Being a non-parametric test It’s calculations are
easier than other tests. It tests for effect of one
variable over the other, hence it is very helpful
to understand the effectiveness of products. It is
very useful for all researchers to
Test goodness of fit.
Test the significance of association between
two attributes.
Test the homogeneity or the significance of
population variance.
Conclusion
1919
2020
Thank – You

More Related Content

What's hot (20)

Chi -square test
Chi -square testChi -square test
Chi -square test
 
Non-Parametric Tests
Non-Parametric TestsNon-Parametric Tests
Non-Parametric Tests
 
Chi square Test
Chi square TestChi square Test
Chi square Test
 
Correlation and Regression
Correlation and Regression Correlation and Regression
Correlation and Regression
 
Standard error
Standard error Standard error
Standard error
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Student's T test distributions & its Applications
Student's T test distributions & its Applications Student's T test distributions & its Applications
Student's T test distributions & its Applications
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Application of Univariate, Bi-variate and Multivariate analysis Pooja k shetty
Application of Univariate, Bi-variate and Multivariate analysis Pooja k shettyApplication of Univariate, Bi-variate and Multivariate analysis Pooja k shetty
Application of Univariate, Bi-variate and Multivariate analysis Pooja k shetty
 
Skewness & Kurtosis
Skewness & KurtosisSkewness & Kurtosis
Skewness & Kurtosis
 
Chi squared test
Chi squared test Chi squared test
Chi squared test
 
T test
T testT test
T test
 
Regression
RegressionRegression
Regression
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Measures of dispersion
Measures  of  dispersionMeasures  of  dispersion
Measures of dispersion
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Goodness Of Fit Test
Goodness Of Fit TestGoodness Of Fit Test
Goodness Of Fit Test
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Student t-test
Student t-testStudent t-test
Student t-test
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
 

Similar to Chi square test

Chi square test final presentation
Chi square test final presentationChi square test final presentation
Chi square test final presentationRitesh Tiwari
 
Inferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOU
Inferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOUInferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOU
Inferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOUEqraBaig
 
Chi-square IMP.ppt
Chi-square IMP.pptChi-square IMP.ppt
Chi-square IMP.pptShivraj Nile
 
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
 
Parametric & non parametric
Parametric & non parametricParametric & non parametric
Parametric & non parametricANCYBS
 
Day-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxDay-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxrjaisankar
 
ders 5 hypothesis testing.pptx
ders 5 hypothesis testing.pptxders 5 hypothesis testing.pptx
ders 5 hypothesis testing.pptxErgin Akalpler
 
QNT 275 Exceptional Education - snaptutorial.com
QNT 275   Exceptional Education - snaptutorial.comQNT 275   Exceptional Education - snaptutorial.com
QNT 275 Exceptional Education - snaptutorial.comDavisMurphyB22
 
QNT 275 Inspiring Innovation / tutorialrank.com
QNT 275 Inspiring Innovation / tutorialrank.comQNT 275 Inspiring Innovation / tutorialrank.com
QNT 275 Inspiring Innovation / tutorialrank.comBromleyz33
 
Qnt 275 Enhance teaching / snaptutorial.com
Qnt 275 Enhance teaching / snaptutorial.comQnt 275 Enhance teaching / snaptutorial.com
Qnt 275 Enhance teaching / snaptutorial.comBaileya33
 
Nonparametric tests assignment
Nonparametric tests assignmentNonparametric tests assignment
Nonparametric tests assignmentROOHASHAHID1
 

Similar to Chi square test (20)

Chi square test final presentation
Chi square test final presentationChi square test final presentation
Chi square test final presentation
 
Chi square
Chi square Chi square
Chi square
 
Inferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOU
Inferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOUInferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOU
Inferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOU
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi-square IMP.ppt
Chi-square IMP.pptChi-square IMP.ppt
Chi-square IMP.ppt
 
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.pptx
Chi-Square test.pptxChi-Square test.pptx
Chi-Square test.pptx
 
Parametric & non parametric
Parametric & non parametricParametric & non parametric
Parametric & non parametric
 
Day-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxDay-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptx
 
ders 5 hypothesis testing.pptx
ders 5 hypothesis testing.pptxders 5 hypothesis testing.pptx
ders 5 hypothesis testing.pptx
 
Contingency tables
Contingency tables  Contingency tables
Contingency tables
 
Contingency Tables
Contingency TablesContingency Tables
Contingency Tables
 
QNT 275 Exceptional Education - snaptutorial.com
QNT 275   Exceptional Education - snaptutorial.comQNT 275   Exceptional Education - snaptutorial.com
QNT 275 Exceptional Education - snaptutorial.com
 
QNT 275 Inspiring Innovation / tutorialrank.com
QNT 275 Inspiring Innovation / tutorialrank.comQNT 275 Inspiring Innovation / tutorialrank.com
QNT 275 Inspiring Innovation / tutorialrank.com
 
Chi2 Anova
Chi2 AnovaChi2 Anova
Chi2 Anova
 
Sampling theory
Sampling theorySampling theory
Sampling theory
 
Qnt 275 Enhance teaching / snaptutorial.com
Qnt 275 Enhance teaching / snaptutorial.comQnt 275 Enhance teaching / snaptutorial.com
Qnt 275 Enhance teaching / snaptutorial.com
 
SNM-1.pdf
SNM-1.pdfSNM-1.pdf
SNM-1.pdf
 
Chi square mahmoud
Chi square mahmoudChi square mahmoud
Chi square mahmoud
 
Nonparametric tests assignment
Nonparametric tests assignmentNonparametric tests assignment
Nonparametric tests assignment
 

Recently uploaded

Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhousejana861314
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Nistarini College, Purulia (W.B) India
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxAArockiyaNisha
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...jana861314
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 
Caco-2 cell permeability assay for drug absorption
Caco-2 cell permeability assay for drug absorptionCaco-2 cell permeability assay for drug absorption
Caco-2 cell permeability assay for drug absorptionPriyansha Singh
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptMAESTRELLAMesa2
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCEPRINCE C P
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real timeSatoshi NAKAHIRA
 

Recently uploaded (20)

Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhouse
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
Caco-2 cell permeability assay for drug absorption
Caco-2 cell permeability assay for drug absorptionCaco-2 cell permeability assay for drug absorption
Caco-2 cell permeability assay for drug absorption
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.ppt
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real time
 

Chi square test

  • 1. Devi Aliyah Vishva Vidhyalaya, Indore Χ 2 (CHI - SQUARE) TEST: AS A TEST OF INDEPENDECE Submitted To Submitted By Mr. Ritesh Tiwari Miss. Nayna Azad Lecturer M.Phil 1st Sem
  • 2.  DEFINITION OF CHI-SQUARE TEST  INTRODUCTION TO CHI-SQUARE TEST  CHI-SQUARE AS A TEST FOR COMPARING VARIANCE  CHI-SQUARE AS A NON-PARAMETRIC TEST  CONDITIONS FOR THE APPLICATION OF χ2 TEST  CHARACTERISTICS OF χ2 TEST  STEPS INVOLVED IN APPLYING CHI-SQUARE TEST AND A NUEMERICAL TO EXPLAIN  SIGNIFICANCE OF CHI SQUARE TEST  CONCLUSION CONTENTS:
  • 3. 33 The Chi-Square (χ2) test could be defined as a Non-parametric test that is used to test hypotheses about distributions of frequencies across categories of data. It can be used to test for comparing variance too. DEFINATION OF CHI-SQUARE TEST
  • 4. 44 One way to do this is to work out what we would expect to find if there was no relationship between them (the usual null hypothesis) and what we actually observe. The test we use to measure the differences between what is observed and what is expected according to an assumed hypothesis is called the chi-square test. We often have occasions to make comparisons between two characteristics of something to see if they are linked or related to each other. INTRODUCTION TO CHI-SQUARE TEST
  • 5. 55 The chi-square test is often used to judge the significance of population variance. Formula of Chi-square test of comparing variance: χ 2 = σ2 s /σ2 p (n-1) Where σ2 s = variance of the sample σ2 p = variance of the population (n-1) = degree of freedom, n being the number of items in the sample. CHI-SQUARE TEST AS A TEST FOR COMPARING VARIANCE
  • 7. 77 Chi-square is an important test and as such no rigid assumptions are necessary in respect of the type of population. We require only the degree of freedom (implicitly of course the size of the sample) for using this test. As a non- parametric test, chi square can be used (i) as a test of goodness of fit, (ii) as a test of homogeneity and (iii) as a test of independence. CHI-SQUARE AS A NON-PARAMETRIC TEST
  • 8. 88 As a test of goodness of fit - It is used to test the single variable i.e., it is fit to the population or not. It means Sample is supporting the population or not. As a test of goodness of fit - It is used to test a single categorical variable from two different populations. It is used to determine whether frequency counts are distributed identification across different populations. As a test of independence – To explain that variable are how much attached with each other. Continued...
  • 9. 99 There must be two observed set of data or one observed set and one expected set [generally there are n - rows and c - columns]. The number of observations or items must be reasonably large [i.e., normally equal or greater than 50]. Expected frequency should not be very small should not be less than five. Observations recorded and used are collected on random basis. All the times in the sample must be independent. CONDITIONS FOR THE APPLICATIONS OF χ2 TEST
  • 10. 1010 Chi-square is based on the observed frequency and not on the parameters mean and standard deviation. It is a technique for testing the hypothesis and not used for the purposes of estimation. It is useful test for research and is used to complex contingency table with several Classes. In contingency table variables are arranged in different formats in a table; It is a way to present the different attributes of a population. The text involves less mathematical details and there is no need of any parameter values eg. Mean and standard deviation. CHARACTERISTICS OF χ2 TEST
  • 11. 1111 Step 1- First of all expected frequencies are calculated on the basis of null hypothesis. The expected frequency of any given cell is calculated on the basis of following formula: Expected frequency of any cell = (Row total of that cell) X (Column Total of the cell) / Grand Total of the Table. Step 2- Obtained difference between observed and expected frequency and obtained square of such differences, i.e. (Oi-Ei)2 STEPS INVOLVED IN CHI-SQUARE
  • 12. 1212 Step 3- Divide the quantity (Oi-Ei) by the corresponding expected frequencies to get (Oi- Ei) 2 / Ei Step 4- Find the summation (∑) of there value to get ∑ (Oi-Ei) 2 / Ei This is the required chi-square value or χ2 value as the formula of χ2 test is as follows: χ2 =∑ (Oi-Ei) 2 / Ei Step 5- Thus the calculated value of chi-square should be compared with relevant table value of χ2 and inference can be drawn as stated above. Continued...
  • 13. 1313 Data obtained during out break of small pox in town. Test the effectiveness of vaccination in preventing the attack from smallpox. Test your result with the help of χ2 test at 5 % level of significance. Attributes: Vaccination Attacked Null Hypothesis (H0)- Vaccination (A) and Small Pox (B) are Independent and i.e., vaccination is not effective in small pox prevention. Alternative Hypothesis (Ha)- Vaccination (A) is effective in small pox prevention. Numerical Attacked (B) Not Attacked (b) Total Vaccinated (A) 31 469 500 Not vaccinated (a) 185 1315 1500 Total 216 1784 2000
  • 14. 1414 Solution Contingency Table: Calculation of Expected Frequencies for (CT): AB = 500 X 216 / 2000 = 54 aB = 1500 X 216 / 2000 = 162 Ab = 500 X 1784 / 2000 = 446 Ab = 1500 X 1784 / 2000= 1338 Continued... Attacked (B) Not Attacked (b) Total Vaccinated (A) (AB) 54 (Ab) 446 500 Not vaccinated (a) (aB) 162 (ab) 1338 1500 Total 216 1784 2000
  • 15. 1515 Putting the value in table: Continued... Group Oi Ei Oi - Ei (Oi - Ei)2 (Oi - Ei)2 / Ei AB 31 54 31-54 = -23 529 9.796 Ab 469 446 469-446 = 23 529 1.186 aB 185 162 185-162 = 23 529 3.265 ab 1315 1338 1315-1338 = -23 529 0.395 ∑ (Oi - Ei)2 / Ei 14.642
  • 16. 1616 χ2 = (Oi - Ei)2 / E2 χ2 = 14.642 Degrees of freedom in this case = (r-1) (C-1) Degrees of freedom in this case = (2-1) (2-1) Degrees of freedom in this case = (1) (1) Degrees of freedom in this case = 1 Table value of χ2 for 1 degree of freedom at 5% level of significance is 3.841. The calculated value of χ2 is much higher than this table value and hence the result of the experiment does not support the hypothesis. We can, thus, conclude that vaccination is effective in preventing the attack from smallpox. Continued...
  • 17. 1717 SIGNIFICANCE OF THE CHI-SQUARE TEST IS AS FOLLOW: It is very useful to check the Interdependence of two variables on each other. Chi Square can also be used to test differences between two or more actual samples. Being a non-parametric tests chi-square test is much easier to compute, and also to apply. The Chi Square (X2) test is undoubtedly the most important and most used member of the non-parametric family of statistical tests. Chi Square is employed to test the difference between an actual sample and another hypothetical or previously established distribution such as that which may be expected due to chance or probability. Chi square test can be used to treat data which have been measured on nominal (classificatory) scales. Such data cannot, on any logical basis, be ordered numerically, hence there is no possibility of using parametric statistical tests which require numerical data. SIGNIFICANCE OF CHI-SQUARE TEST
  • 18. 1818 As conclusion we can say that the chi-square test is an important test amongst the several tests of significance developed by statisticians. Being a non-parametric test It’s calculations are easier than other tests. It tests for effect of one variable over the other, hence it is very helpful to understand the effectiveness of products. It is very useful for all researchers to Test goodness of fit. Test the significance of association between two attributes. Test the homogeneity or the significance of population variance. Conclusion
  • 19. 1919