If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

# Categorical data example

We can explore the relationship between two categorical variables with two-way tables to see if there is an association between the variables. In this example, we see if data from a sample suggests an associate between video games and violence. Created by Sal Khan.

## Want to join the conversation?

• Is the faction who plays video games is 4 or 5?
• there are basically 5 kids who play the games and 4 of them didn't get into a fight
• I didn't understand what exactly you want to convey from this video. You took a small sample and analysed according to that and concluded what??
• I believe the main point of this video was an introduction on how to categorize and organize data into a frequency table.
• Why don't all the fractions add up to 1?
• This is a row-relative frequency table. The fractions add up to 1 in each row.
• Playing does cause violent Behavior if they have anger issues but without anger issue it cause anger issues or not. So it's pretty much the issues of the person that matter.

Am I right or not
• Here's a tip: Only read the graph in the way it's structured. If it's read as a column graph read it in a column way, not in rows. Otherwise it would be wrong as the population wouldn't apply to both. If the question has a statement that says something that has the opposite structure to that of the actual graph then it's wrong because the graph should be interpreted in the right way.
• is this true or is it mostly fake stuff i am lost
• Are they playing Battlefield or Call of Duty?
• Why are these logical questions, not computational questions
• There is a mistake at in the video. You only count 3 students as being in a fight; however, there are 4 students that have been in a fight in the data.
(1 vote)
• It's actually correct because yes there are 4 students that have been in a fight. But we are interested in students who have been in a fight but also who do not play violent video games and there are 3 such students. I hope its clear to you.