Contingency Table Generator

Visualize and analyze the relationship between two categorical datasets with ease. Simply input your data as comma-separated lists and generate a contingency table instantly.

Input Data

Enter your categorical data for Variable 1 and Variable 2, separated by commas.

What is a Contingency Table?

A contingency table, also known as a cross-tabulation or cross-tab, is a visual representation of the relationship between two or more categorical variables. It displays the frequency distribution of these variables. Each cell in the table represents the count of observations that fall into specific categories for both variables. Contingency tables are fundamental tools in statistics for exploring dependencies and associations between categorical data. They are widely used in fields like social sciences, market research, and epidemiology to analyze survey data, experimental outcomes, and observational studies.

  • Purpose: To examine the association between categorical variables.
  • Input: Two or more lists of categorical data.
  • Output: A table showing frequencies of each category combination.
  • Use Cases: Analyzing survey responses, A/B testing results, demographic studies.