Your numbers
Which test?
Test of independence (table of counts)
Goodness of fit (one row of counts)
Observed counts (one row per line)
20 30 30 20
Numbers separated by spaces or commas. At least 2 rows and 2 columns, same number in each row.
Yates continuity correction
Off
On (only applies to 2 x 2 tables)
Observed counts
18 22 20 40
One count per category, separated by spaces or commas.
Expected (optional)
Leave blank for equal expected counts. Otherwise give one value per category as counts, proportions or percentages; they are scaled to the observed total.
Parameters estimated from the data
Subtracted from the degrees of freedom. Usually 0 when the expected values are given.
Calculate
Reset
Your result
Fill the form and press Calculate.