This calculator compares observed and expected frequencies with the chi-square test.
Read an example with explanation
Note that the chi-square test is more commonly used in a very different situation -- to analyze a contingency table. This is appropriate when you wish to compare two or more groups, and the outcome variable is categorical. For example, compare number of patients with postoperative infections after two kinds of operations. If you need to analyze a contingency table, do not use this table. If you have two groups (rows) and two outcomes, use
. If your table is larger, try the free demos of
(basic statistics only) and
(statistics, nonlinear regression and scientific graphics).
Enter the names of the categories into the first column (optional). Enter the actual number of objects or individuals or events observed in the second column. Then enter the expected number, fraction or percent expected in the third column.