pubmed.info
Drag tiles by their title, resize at the bottom edge.

Chi-square test (2×2 and r×c table)

Pearson χ² = Σ(O − E)²/E with expected counts E = row total × column total / N, df = (r − 1)(c − 1). Pearson K. On the criterion that a given system of deviations from the probable in the case of a correlated system of variables is such that it can be reasonably supposed to have arisen from random sampling. Phil Mag 1900;50:157–75. doi:10.1080/14786440009463897. For 2×2 tables also with continuity correction (|O − E| − 0.5, not below 0): Yates F. Contingency tables involving small numbers and the χ² test. Suppl J R Stat Soc 1934;1:217–35. doi:10.2307/2983604. A note is shown when expected counts are < 5, because the χ² approximation may then be inaccurate (Cochran WG. Some methods for strengthening the common χ² tests. Biometrics 1954;10:417–51. doi:10.2307/3001616); for 2×2 tables Fisher’s exact test is available.

More about this tool

Enter the values and the result appears immediately. Formula and interpretation follow the original publication cited below. Free, no account – your entries stay in your browser.

For orientation only. Does not replace statistical advice; verify results for papers and grant applications with a second software.

More calculators: Frequencies and tables

All statistics calculators

pubmed.info sets no tracking cookies and builds no user profiles. Visits are counted anonymously (cookieless, shortened IP addresses). Ads from Google appear only according to your consent choice.