Two-way tables (or contingency table)
Is a useful tool for examining relationships between categorical variables 1.
Example 13
In a survey a group of 33 students were asked if they play online or other different media. The
table shows the results obtained depending on the gender.
It wants to know (See table):
What is the probability that, if a random student is selected, be a Girl and play online?
4/33 = 0.121 = 12.1%
What is the probability that if a male student is selected, he does not play online?
2/17 = 0.117 = 11.7%
What is the likelihood that, if a random student is selected, plays online? 14/33 = 42,42%
What is the probability that a student will be randomly selected and play online? 19/33 =
57,57%
1
Categorical variables take on values that are names or labels. Example: The blood type of a person, the city
that a person lives in.