 # Chi-Square Statistic

Chi-Square Statistic:

The chi-square statistic (or -statistic) measures agreement between the observed and hypothetical frequencies. This statistic is computed from two entities: hypothetical probabilities of the values of a discrete random variable , and the observed frequencies of these values – the numbers of observations of each type. The chi-square statistic is the heart of the chi-square test .

The chi-square statistic is computed according to the following formula:  where

• is the number of observed events of the th type;
• is the hypothetical probability of the event of the th type.

Sampling distribution of this statistic approaches the chi-square distribution with degrees of freedom when the number of observations grows infinitely. This explains the name of the statistic.

For small samples, the sampling distribution of this statistic is not guaranteed to be the chi-square distribution. In such situations resampling is often used (see more on resampling in the online book Resampling: The New Statistics ).

There are other statistics that obey the chi-square distribution and, therefore, might be called “chi-square statistics” too. But the statistic described here is the most famous one – it is discussed even in introductory texts in statistics and widely used in practice.

Browse Other Glossary Entries

## Test Yourself

Planning on taking an introductory statistics course, but not sure if you need to start at the beginning? Review the course description for each of our introductory statistics courses and estimate which best matches your level, then take the self test for that course. If you get all or almost all the questions correct, move on and take the next test.

### Data Analytics

Considering becoming adata scientist, customer analyst or our data science certificate program?

Analytics Quiz

Statistics Quiz

### Statistics

Looking at statistics for graduate programs or to enhance your foundational knowledge?

Statistics 1 Quiz

Regression Quiz

Regression Quiz

### Biostatistics

Entering the biostatistics field? Test your skill here.

Biostatistics Quiz

Statistics 2 Quiz

### Stay Informed

Our Blog

Read up on our latest blogs

Certificates

Courses

Find the right course for you