We have learned how to construct and interpret scatter plots for bivariate data. Using scatter plots and lines of best fit, we learned how to investigate patterns of association between two quantities.
We'll now try to organize bivariate, categorical data into a two-way table and use relative frequencies calculated for rows or columns to describe possible association between the two variables.
Like Venn diagrams, two-way frequency tables are a visual way of representing information.
Two-way tables allow us to display and examine the relationship between two sets of categorical data. The categories are labeled at the top and the left side of the table, and the frequency of the different characteristics appear in the interior of the table. Often the totals of each row and column are also included.
The following table gives information on the treatment plans prescribed to cats with feline diabetes. Depending on the severity of the case, cats are either prescribed a special diet or insulin injections.
Special Diet | Insulin Injections | Total | |
---|---|---|---|
Venetian Pet Clinic | 14 | 14 | 28 |
Mohawk Animal Clinic | 11 | 9 | 20 |
Total | 25 | 23 | 48 |
It's called a two-way table because we can read information from it in two directions. Here we have information about the two categories clinic and treatment. If read across each row, we can tell how many cats in each clinic surveyed are treated by a special diet or insulin injections. If we read down each column, we can tell how many of the cats on special diet or on inuslin injections surveyed were in Venetian Pet Clinic and how many were in Mohawk Animal Clinic.
Notice the last column contains the totals for each row and the last row contains the totals for each column. They both add up to 48 which is the total number of cats surveyed.
When a particular row and column overlap, it indicates how many cats satisfy both categories. For example, there were 14 surveyed cats treated with insulin injections at the Venetian Pet Clinic.
Knowing there are 14 cats treated with insulin injections in Venetian Pet Clinic, we can find the percentage of cats in Venetian clinic injected with insulin by dividing 14 by the total number of cats treated in Venetian Clinic 28. We get \dfrac{14}{48}\times 100\% = 50\%. So we can conclude that \dfrac{1}{2} or 50\% of the pets surveyed in Venetian Pet CLinic were injected with insulin.
Thirty six students were asked whether or not they were allergic to nuts and dairy. The two-way table is provided below:
Allergic to nuts | Not allergic to nuts | |
---|---|---|
Allergic to dairy | 10 | 6 |
Not allergic to dairy | 6 | 14 |
How many students are allergic to nuts?
What percent of the students who are allergic to nuts are allergic to dairy?
What percent of students who are not allergic to dairy are not allergic to nuts?
A total of 150 tennis players were asked whether they would support equal prize money for the women’s and men’s draw.
Out of 72 males, 37 are supporters. There are 12 female tennis players who are not supporters but 66 are females supporters.
Find the missing value in the table.
How many more players are there in support of equal prize money than those against it?
Find the percentage of the male tennis players who support equal prize money. Round your answer to one decimal place.
Complete the folowing table.
Support | Do not support | |
---|---|---|
Males | ||
Females |
What percent of the tennis players are supporters.
A two-way table provides a way to organize data between two categorical variables.
We can use relative frequencies calculated for rows or columns to describe possible association between the two variables.