Glossary of statistical terms
A contingency table is a tabular representation of categorical data . A contingency table usually shows frequencies for particular combinations of values of two discrete random variable s X and Y. Each cell in the table represents a mutually exclusive combination of X-Y values.
For example, consider a sample of N=200 beer-drinkers. For each drinker we have information on sex (variable X, taking on 2 possible values: "Male" and "Female") and preferred category of beer (variable Y, taking on 3 possible values: "Light", "Regular", "Dark"). A contingency table for these data might look like the following
This is a two-way 2x3 contingency table (i.e. two rows and three columns).
Sometimes three-way (and more) contingency tables are used. Suppose the beer-drinkers data, besides sex and preference, are also stratified by age group. The third discrete variable Z ("Age") in this case might, for example, take on 4 values: "<25", "25-40", "40-65", ">65".
In this case we would have a three-way 2x3x4 contingency table, equivalent to 4 two-way 2x3 contingency tables (one 2x3 table for each of the 4 age-groups).
See also: Contingency tables analysis
Want to learn more about this topic?
Statistics.com offers over 100 courses in statistics from introductory to advanced level. Most are 4 weeks long and take place online in series of weekly lessons and assignments, requiring about 15 hours/week. Participate at your convenience; there are no set times when you must to be online. Ask questions and exchange comments with the instructor and other students on a private discussion board throughout the course.
This course, the first of a 3-course sequence, provides an introduction to statistics for those with little or no prior exposure to basic probability and statistics. It runs every eight weeks.
This course covers the principal statistical concepts used in medical and health sciences. Basic concepts common to all statistical analysis are reviewed, and those concepts with specific importance in medicine and health are covered in detail.
This course will cover the analysis of contingency table data (tabular data in which the cell entries represent counts of subjects or items falling into certain categories). Topics include tests for independence (comparing proportions as well as chi-square), exact methods, and treatment of ordered data. Both 2-way and 3-way tables are covered.