Chi-Square Test

Pattern Recognition Tutorial


Chi-Square Test : Introduction

  • Whenever, it is required to determine the correlation between two categorical variable, statistical method i.e. Chi-Square test is used.
  • The condition for this is, both the categorical variable must be fetched from same data sample population and one should be able to categorize them on the basis of their properties in either Yes/No, True/False etc.
  • One of the simplest example is, we can correlate the gender of a person with the type of sport they play on the basis of observation on a data set of sport playing pattern.
  • Chi square test can be evaluated on the basis of below mentioned formula.
Chi-Square Test formula

Formula for Chi-Square Test

  • For example:
Chi-Square Test example

Chi-Square test example