The fact the $\chi^{2}$

random variables are related to the sample and population variances ($\chi^{2}$ = $(n-1)$

$\frac{s^{2}}{\sigma ^{2}}$) makes it possible to test the claims on a single variance using χ

^{2} distributions. The assumptions made for Chi Square Test on single variance are,

- The sample is randomly selected from the population.
- The population for the variable under study is normally distributed.
- The observations are independent of one another.

For the above test, the test statistic is calculated using the formula, $\chi^{2}$ = $(n-1)$$\frac{s^{2}}{\sigma ^{2}}$. The critical values are suitable found from $\chi^{2}$ tables, using the degrees of freedom and the type of the test left, right tailed or two-tailed.

Chi square test is also used for tests related to frequency distributions or data displayed in a contingency table. The three common types of tests are

- Test for Goodness of fit:
- Test for independence
- Test for homogeneity of Proportions.

**Test for Goodness of fit:**

This test is conducted to test whether a frequency distribution follows a
specific pattern or not. The null hypothesis is made with the existence
of a specific pattern. The null hypothesis and hence the goodness of
fit of the data are rejected when the calculated test value is greater
than the critical value found from the $\chi^{2}$ table, that is the value $\chi _{\alpha ,n-1}^{2}$. The test statistic is calculated using the formula

$\chi^{2}$ = $(n-1)$$\frac{s^{2}}{\sigma ^{2}}$, where obs and exp represent the observed and expected frequencies.

**The assumptions made for Chi Square Goodness of fit test are**

- The data are obtained from a random sample.
- The expected frequency of each category must be 5 or more.

__Test for Independence:__

The Chi Square test for independence is used to test the independence of two variables. The null hypothesis for this test assumes independence of the two variables. The null hypothesis is rejected when the calculated test statistic is greater than the $\chi^{2}$ critical value found from the table against the degrees of freedom and significance level α. The test statistic is calculated using the same formula given under the Goodness of fit test.

__Test for Homogeneity of Proportions:__

This Chi Square test also makes use of a contingency table. The situation here is that the samples are selected from different populations and it is to be determined whether the common characteristics among the different populations defined as a proportion are same for all populations under study. While the null hypothesis assumes the equality of proportions, the alternate hypothesis states that at least one proportion is different from others. The null hypothesis is rejected when the calculated test statistic is greater than the critical value $\chi _{\alpha ,n-1}^{2}$ found from the table. The test statistic is calculated in a manner similar to the method used to find the test statistic for Chi Square test for independence.

In addition to the above tests, Chi Square distributions are also used to test the normality of a variable.