<Tr> <Td> </Td> <Td> This article includes a list of references, but its sources remain unclear because it has insufficient inline citations . Please help to improve this article by introducing more precise citations . (November 2014) (Learn how and when to remove this template message) </Td> </Tr> <P> A chi - squared test, also written as χ test, is any statistical hypothesis test where the sampling distribution of the test statistic is a chi - squared distribution when the null hypothesis is true . Without other qualification,' chi - squared test' often is used as short for Pearson's chi - squared test . The chi - squared test is used to determine whether there is a significant difference between the expected frequencies and the observed frequencies in one or more categories . </P> <P> In the standard applications of the test, the observations are classified into mutually exclusive classes, and there is some theory, or say null hypothesis, which gives the probability that any observation falls into the corresponding class . The purpose of the test is to evaluate how likely the observations that are made would be, assuming the null hypothesis is true . </P> <P> Chi - squared tests are often constructed from a sum of squared errors, or through the sample variance . Test statistics that follow a chi - squared distribution arise from an assumption of independent normally distributed data, which is valid in many cases due to the central limit theorem . A chi - squared test can be used to attempt rejection of the null hypothesis that the data are independent . </P>

For what purpose can the chi-square test be used