Cafe Cerebral - Chi-Squared Test

The Chi-Squared Test of Association allows the comparison of two attributes (i.e. qualitative variables) in a sample of data to determine if there is any relationship between them.

The idea behind this test is to compare the observed frequencies with the frequencies that would be expected if the null hypothesis of no association / statistical independence were true. By assuming the variables are independent, we can also predict an expected frequency for each cell in the contingency table. If the value of the test statistic for the chi-squared test of association is too large, it indicates a poor agreement between the observed and expected frequencies and the null hypothesis of independence / no association is rejected.

An example where chi-square test can be used
A 3*3 contingency table is given below relate to 830 professional workers living in India towns and cities, who were interviewed during a survey:

 
  Activity Status Total
Employees Employers Own-account workers
Occupation Group Scientists & Technicians 169 21 140 330
Medical & Health services 83 25 68 176
Teachers 286 10 28 324
Total 538 56 236 830
 

If we are interested in finding the relationship between activity status and occupation group (i.e. whether these two attributes are independent or not), we calculate chi square statistic based on the difference between expected frequencies and actual frequencies, and then according to the value we reject/accept our null hypothesis.

Contact Mu Sigma
info@mu-sigma.com
Site Map | Disclaimer | Privacy Policy
© 2005 - 2009 Mu Sigma. All rights reserved