
contingency table
A contingency table is a tool used to display and analyze the relationship between two categorical variables. Think of it as a grid where one variable is represented along the rows and the other along the columns. Each cell in the table shows the count or frequency of occurrences for each combination of the two variables. This helps researchers identify patterns or associations in the data, such as whether two factors are related or if they operate independently. For example, you could use it to examine the relationship between people's age groups and their preferred types of music.