Tools › Statistics › Health Statistics › Epidemiology Tables


Epidemiology Tables

Enter the four cells of a 2×2 table, or one table per stratum, for a cohort study, a trial, a case-control study, a cross-sectional study or person-time data; get risks or rates, the risk ratio, odds ratio and risk difference with confidence intervals, the number needed to treat, attributable fractions, Pearson and Fisher exact tests, and for strata the Mantel-Haenszel pooled estimates set against the crude ones in a forest plot, with a test of homogeneity and every step of the arithmetic. The page describes associations in the entered counts; it is not medical advice.

  • One table or up to 20 strata: risks or rates, risk ratio, odds ratio and risk difference, each with its interval, for every stratum, for the crude table and pooled

  • Mantel-Haenszel pooled ratio and difference with the Greenland and Robins and the Robins, Breslow and Greenland variances, the sums shown stratum by stratum

  • Crude against pooled as numbers and as a forest plot on a logarithmic axis; homogeneity by the Breslow-Day statistic with Tarone's correction and by a weighted test of the stratum estimates

  • Number needed to treat or harm with its interval, attributable and prevented fractions, the Pearson, Yates and Mantel-Haenszel tests, Fisher's exact test and the exact interval of the odds ratio

Epidemiology Tables

The Table and Its Four Cells

One row of the form per stratum: a name and the four cells a, b, c, d, where a and b belong to the exposed group and c and d to the unexposed group. Example rows: Mild 12, 388, 2, 98; Moderate 27, 273, 18, 282; Severe 30, 70, 80, 320. Added into one table the rows give the crude risk ratio 0.69; pooled within the rows by Mantel-Haenszel they give 1.50. A single table is one row.
The two by two table of counts. Rows: exposed and unexposed. Columns: outcome and no outcome. Cell a is exposed people with the outcome, b exposed people without it, c unexposed people with the outcome, d unexposed people without it. Risk is a divided by a plus b, and c divided by c plus d; the risk ratio is the first risk divided by the second; the risk difference is the first minus the second; the odds ratio is a times d divided by b times c. Cross-sectional data use the same cells, read as prevalence.
The two by two table of counts. Rows: exposed and unexposed. Columns: outcome and no outcome. Cell a is exposed people with the outcome, b exposed people without it, c unexposed people with the outcome, d unexposed people without it. Risk is a divided by a plus b, and c divided by c plus d; the risk ratio is the first risk divided by the second; the risk difference is the first minus the second; the odds ratio is a times d divided by b times c. Cross-sectional data use the same cells, read as prevalence.
The two by two table of a case-control study. Rows: exposed and unexposed. Columns: cases and controls. Cells a and c are the cases, b and d the controls. Only the odds ratio, a times d divided by b times c, can be computed, because the number of controls is chosen by the investigator.
The table for person-time data. Rows: exposed and unexposed. Columns: cases and person-time. Cells a and c are the cases, b and d the person-time of each group. The rate is a divided by b, and c divided by d; the rate ratio is the first divided by the second; the rate difference is the first minus the second.

Strata, One 2×2 Table per Row (1 to 20)

1
2
3

Labels and Options









References

Centers for Disease Control and Prevention (2012). Principles of Epidemiology in Public Health Practice: An Introduction to Applied Epidemiology and Biostatistics, 3rd ed. Self-Study Course SS1978, Centers for Disease Control and Prevention, Atlanta, GA.

Mantel, N., and Haenszel, W. (1959). "Statistical Aspects of the Analysis of Data from Retrospective Studies of Disease." Journal of the National Cancer Institute, Vol. 22, No. 4, pp. 719–748.

Greenland, S., and Robins, J. M. (1985). "Estimation of a Common Effect Parameter from Sparse Follow-Up Data." Biometrics, Vol. 41, No. 1, pp. 55–68.

Robins, J. M., Breslow, N. E., and Greenland, S. (1986). "Estimators of the Mantel-Haenszel Variance Consistent in Both Sparse Data and Large-Strata Limiting Models." Biometrics, Vol. 42, No. 2, pp. 311–323.

Breslow, N. E., and Day, N. E. (1980). Statistical Methods in Cancer Research, Volume I: The Analysis of Case-Control Studies. IARC Scientific Publications No. 32, International Agency for Research on Cancer, Lyon.

Tarone, R. E. (1985). "On Heterogeneity Tests Based on Efficient Scores." Biometrika, Vol. 72, No. 1, pp. 91–95.

Woolf, B. (1955). "On Estimating the Relation Between Blood Group and Disease." Annals of Human Genetics, Vol. 19, No. 4, pp. 251–253.

Cornfield, J. (1956). "A Statistical Problem Arising from Retrospective Studies." In Neyman, J. (ed.), Proceedings of the Third Berkeley Symposium on Mathematical Statistics and Probability, Vol. 4, University of California Press, Berkeley, CA, pp. 135–148.

Katz, D., Baptista, J., Azen, S. P., and Pike, M. C. (1978). "Obtaining Confidence Intervals for the Risk Ratio in Cohort Studies." Biometrics, Vol. 34, No. 3, pp. 469–474.

Deeks, J. J., and Higgins, J. P. T. (2010). Statistical Algorithms in Review Manager 5. Statistical Methods Group, The Cochrane Collaboration, London.

Altman, D. G. (1998). "Confidence Intervals for the Number Needed to Treat." BMJ, Vol. 317, No. 7168, pp. 1309–1312.


DISCLAIMER: The methods and calculation on aNOWysis.com are provided as means to educate the reader. There is no warranty, expessed or implied, as to the relevance or accuracy of the methods or calculations. All calculations should be checked by a qualified analyst for appropriateness and accuracy. We will not be held liable for any damages, injuries or deaths caused by using methods or calculations from this site.