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.
• 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.
• 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.
• Are they playing Battlefield or Call of Duty?
• Why did he change from 1/15 to 1/5 and from 4/15 to 4/5? Anyone can explain to me, thanks.
• He simplified the fraction 3/15 by dividing the numerator and denominator by 3. 3 goes into 3 -> 1 time. 3 goes into 15 -> 5 times. The resulting fraction is 1/5.

The second fraction was 12/15. It was also reduced by a factor of 3. 3 goes into 12 -> 4 times. 3 goes into 15 -> 5 times. That gives us 4/5.
• 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