Litt.: Statistics with Confidence (2nd Ed.), Altman et al. BMJ Books 2000
This page computes various statistics from a 2-by-2 table. It will calculate the Yates-corrected chi-square, the Mantel-Haenszel chi-square, the Fisher Exact Test, and other indices relevant to various special kinds of 2-by-2 tables:
Many of these concepts are explained in detail in an online Evidence-based Medicine Glossary or Center for Evidence-based Medicine. For more information about a particular index, click on the <more info> link for that index.
Confidence intervals for the estimated parameters are computed by a general method (based on "constant chi-square boundaries") given in:
Statistical Methods for Rates and Proportions (2nd Ed.)
Section 5.6, by Joseph L. Fleiss (Pub: John Wiley & Sons, New York, 1981).
This method is also described in Numerical Recipes in C (2nd Ed.) Section 15.6, by William H. Press et al. (Pub: Cambridge University Press, Cambridge UK, 1992).
Wilson's method is used to find CI for adjusted predictive values. Ref: Statistics with Confidence (2nd Ed.) by DG Altman et al. (Pub: British Medical Journal Books, UK 2000) p. 46-7.
The reference used for CI calculation for RIOC is: Relative Improvement Over Chance (RIOC) and Phi as Measures of Predictive Efficiency and Strength of Association in 2 × 2 TablesDavid P. Farrington and Rolf Loeber. Journal of Quantitative Criminology, Vol. 5, No. 3 (September 1989), p. 201-213.
Warning: Do not enter cell counts with a leading zero! That is, if a cell count is 34, enter it as 34, not as 034. Some browsers will mis-interpret some numbers entered with leading zeros, and will produce wrong results (with no warning message).