Compare observed and expected counts with precise diagnostics. Track residual patterns, significance, and normalized errors. Create clean reports, charts, and exports for better decisions.
Use multiple categories and optional model parameters for a stronger goodness-of-fit review.
This sample shows how category counts can be arranged before calculation.
| Category | Observed | Expected | Residual | Chi Contribution |
|---|---|---|---|---|
| Category A | 45 | 40 | 5 | 0.6250 |
| Category B | 38 | 40 | -2 | 0.1000 |
| Category C | 52 | 40 | 12 | 3.6000 |
| Category D | 41 | 40 | 1 | 0.0250 |
| Category E | 24 | 40 | -16 | 6.4000 |
It compares observed category values with expected values. It reports goodness-of-fit statistics, residuals, and practical error measures so you can judge whether a distribution matches a target pattern.
Use expected values when you have a theoretical distribution, historical benchmark, or planned allocation. The calculator then measures how far the observed counts depart from that reference.
The p-value estimates how unusual your observed differences are if the expected distribution were true. A smaller p-value suggests the mismatch is less likely to be due to random variation alone.
Residuals show which categories are above or below expectation. Large standardized residuals help identify the specific categories driving the overall chi-square result.
Very small expected counts can weaken the chi-square approximation. The calculator flags this condition so you can combine categories or consider an exact method when needed.
These measures describe mismatch size in practical terms. They complement the hypothesis test by showing average error magnitude, squared-error sensitivity, and percent-based deviation.
Estimated parameters are values fitted from the same data, such as a sample-based distribution parameter. They reduce degrees of freedom because the model already used data information.
Yes. When results appear, use the CSV button for spreadsheet-friendly data and the PDF button for a formatted report snapshot.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.