Overview
Use a goodness of fit test to check whether observed frequencies match those expected from a theoretical distribution. For example, you might check whether the weights of a sample of adults follow a normal distribution before using a test that assumes normality, or whether counts of insects per leaf follow a Poisson distribution.
Compare discrete frequency data or continuous data with a theoretical distribution, or with any distribution you specify from theory or earlier data.
Methods
- Normal distribution
- Binomial distribution
- Poisson distribution
- Uniform distribution
- Circular distribution
- User-specified distribution, with your own expected frequencies
Running the analysis
Arrange your data as a column of categories and a column of observed frequencies; for the circular distribution, the categories are angles. Click Goodness of Fit on the statistiXL ribbon and choose the distribution to test against. In the dialog, select your category and frequency ranges and the output location, and set any options. A user-specified test also takes a range of expected frequencies.


What the output includes
The output depends on the distribution tested. It typically includes:
- A table of observed and expected frequencies and their differences (optional)
- Chi-square and log-likelihood ratio (G) tests, with degrees of freedom and P values, for the binomial, normal, Poisson and user-specified distributions
- The Kolmogorov–Smirnov test, for the normal and uniform distributions
- Tests of skewness and kurtosis, for the normal distribution
- Rayleigh's Z test, and the V test when an expected angle is given, for the circular distribution
- A note when too many expected frequencies are small, so that categories can be combined
- Descriptive statistics and a scatter plot, for the circular distribution (optional)
