Categorical data worksheet with answer key
8 problems on categorical data, ready to print for class or homework. The answer key prints on its own page, so hand out everything before it.
Name: ______________________________ Date: ______________ Period: ______
Problem 1
A school store clerk records the drink bought by each of the 20 customers in one lunch period, in arrival order. W is water, J is juice, M is milk, and S is a sports drink.
W J M W S J W M J W W S M J W M J W M J
(a) Build the frequency table. (b) Build the relative frequency table, as proportions and as percents. (c) Name the mode. (d) What proportion of customers bought water or juice?
Problem 2
A library records the format of each of the 250 items checked out in one week. Every item falls in exactly one format. The relative frequency table went to print with one entry missing.
| Format | Print book | Ebook | Audiobook | DVD |
|---|---|---|---|---|
| Relative frequency | 0.48 | 0.26 | 0.14 | ? |
(a) Find the missing relative frequency. (b) Convert the whole table to counts. (c) How many more print books than ebooks were checked out? (d) A staff member says the missing entry could have been found without knowing the total of 250. Are they right?
Problem 3
A student council election drew 300 votes, displayed as a bar graph with one bar per candidate. The bar heights, read off the frequency axis, are below.
| Candidate | Alvarez | Brooks | Chen | Diallo |
|---|---|---|---|---|
| Votes | 126 | 84 | 57 | 33 |
(a) Convert the graph to relative frequencies. (b) A poster claims a majority of voters chose Alvarez. Evaluate it. (c) What share of the vote went to the top two candidates combined? (d) A student says the graph is skewed right because the bars get shorter from left to right. Explain what is wrong with that.
Problem 4
A high school surveys all 400 seniors, and each names exactly one plan for the year after graduation. The results are drawn as a pie chart with these central angles.
| Plan | Four-year college | Two-year college | Workforce | Gap year |
|---|---|---|---|---|
| Slice angle | 126 degrees | 90 degrees | 90 degrees | 54 degrees |
(a) Check that the chart is complete. (b) Find each plan's relative frequency and count. (c) A classmate reports that 126 seniors are headed to a four-year college. What did they misread? (d) Name one thing this pie chart makes harder to see than a bar graph would.
Problem 5
Two high schools survey their students on how they usually get to school. School A surveyed 480 students and School B surveyed 200. Every student named exactly one method.
| Method | School A | School B |
|---|---|---|
| Bus | 192 | 90 |
| Car | 144 | 50 |
| Walk | 96 | 40 |
| Bike | 48 | 20 |
| Total | 480 | 200 |
(a) Find each school's relative frequency distribution. (b) A district newsletter writes that more students ride the bus at School A, so busing is more popular there. Evaluate it. (c) Compare the two schools on biking, by count and by share. (d) Which display would let a reader compare the two schools fairly?
Problem 6
An outdoors club with 150 members runs a survey with one item: "Which of these three activities have you done this year? Check all that apply." The results are hiking 96, climbing 84, and kayaking 60.
(a) Find each activity's count as a share of the 150 members, and add the three shares. (b) Explain why these three categories cannot be drawn as a pie chart of the club's members. (c) The three counts represent 240 checks in total. Draw a pie chart of the checks instead: give each slice's angle, and state precisely what that chart does and does not say. (d) Describe a survey question about these same three activities that would produce a valid pie chart of members.
Problem 7
A campus paper surveys 200 students on their main source of news. Each student picks exactly one of four sources, so the four true percentages add to exactly 100%. The paper prints each percentage rounded to the nearest whole percent.
| Source | Social media | News app | Radio | |
|---|---|---|---|---|
| Printed percent | 35% | 30% | 24% | 15% |
(a) Show that this table cannot be a correct rounding of the survey. (b) Rounding to the nearest whole percent, how far off can the printed total be? Give the exact range the printed total has to fall in. (c) The paper reissues the table as counts: social media 70, news app 60, print 48, radio 22. Find the exact relative frequencies, then say which printed percentage was wrong and by how much.
Problem 8
A high school reports its world language enrollment for three consecutive years. Every enrolled student takes exactly one language.
| Language | Year 1 | Year 2 | Year 3 |
|---|---|---|---|
| Spanish | 160 | 175 | 180 |
| French | 100 | 125 | 150 |
| Mandarin | 60 | 100 | 150 |
| Latin | 80 | 100 | 120 |
| Total | 400 | 500 | 600 |
(a) Build the relative frequency distribution for each year. (b) The department head says Spanish is growing. The student paper says Spanish is losing ground. Can both be right? (c) Which language gained the most share, and by how much? (d) A trustee asks for one bar graph that settles whether Spanish is growing. What do you tell them?
From statslearn.org/worksheets/categorical-data-worksheet. Free to print and copy for classroom use.
Categorical data: answer key
(a) Water 7, juice 6, milk 5, sports drink 2, total 20. (b) 0.35 (35%), 0.30 (30%), 0.25 (25%), 0.10 (10%), adding to 1.00. (c) Water, the category with the largest count. (d) , or 65%.
(a) . (b) Print book 120, ebook 65, audiobook 35, DVD 30, totaling 250. (c) more print books. (d) Yes: the missing share follows from the shares adding to 1, which does not involve the total.
(a) Alvarez 0.42, Brooks 0.28, Chen 0.19, Diallo 0.11, adding to 1.00. (b) False. A majority needs more than 150 of the 300 votes; Alvarez got 126, a share of 0.42, so Alvarez has a plurality, not a majority. (c) , or 70%. (d) Skew requires a fixed numeric order on the axis. Candidate is categorical with no order among its categories, so the bars can be reordered freely and the outline carries no information.
(a) degrees, so the chart is complete. (b) 0.35 and 140 seniors, 0.25 and 100, 0.25 and 100, 0.15 and 60, totaling 1.00 and 400. (c) They read the 126-degree angle as a count; the count is . (d) Angles are read less accurately than bar lengths, and the pie gives no counts without a stated total.
(a) School A: 0.40, 0.30, 0.20, 0.10. School B: 0.45, 0.25, 0.20, 0.10. Both add to 1.00. (b) The count is right, the conclusion is wrong: School A surveyed 2.4 times as many students, and busing is the larger share at School B, 0.45 against 0.40. (c) Bikes: 48 against 20 by count, but 0.10 against 0.10 by share, identical. (d) A side-by-side relative frequency bar graph, which puts both schools on the same scale.
(a) 0.64, 0.56, 0.40, adding to 1.60 (160%). (b) The 240 checks came from 150 members, so at least one member is in two categories, and a member who did none of the three is in no category. Overlapping, non-exhaustive categories cannot fill one circle. (c) Of the 240 checks: 0.40 and 144 degrees, 0.35 and 126 degrees, 0.25 and 90 degrees, adding to 1.00 and 360 degrees. It reports the share of checks, not the share of members. (d) A single-answer question with a "none of the three" option, or a yes-or-no question about one activity.
(a) The printed percentages add to 104%, but four non-overlapping categories covering every student must have true percentages adding to exactly 100%. (b) At most 0.5 percentage points per category, so at most in total: the printed total must fall between 98% and 102% inclusive, and 104% does not. (c) 0.35, 0.30, 0.24, 0.11 from counts 70, 60, 48, 22 out of 200. Radio was printed as 15% but is 11%, a 4 percentage point error.
(a) Spanish 0.40, 0.35, 0.30; French 0.25, 0.25, 0.25; Mandarin 0.15, 0.20, 0.25; Latin 0.20, 0.20, 0.20; each year sums to 1.00. (b) Yes. Spanish rose in count (160, 175, 180) and fell in share (0.40, 0.35, 0.30), because Spanish grew 12.5% while the total grew 50%. (c) Mandarin, up 10 percentage points from 0.15 to 0.25, with its count rising from 60 to 150. (d) Neither graph alone settles it: the frequency bar graph shows growth, the relative frequency bar graph shows decline, and the trustee has to say which question they mean.
Every step is worked at statslearn.org/practice/categorical-data-practice. Free to print and copy for classroom use.
The key gives final answers only. The full worked solution for each problem is on the matching practice set, and every other sheet is on the worksheets page.
More worksheets from this unit
- Identifying bias worksheet with answer key
- Boxplot and five-number summary worksheet with answer key
- Comparing two distributions worksheet with answer key
- Describing and comparing distributions worksheet
- Experimental design worksheet with answer key
- Investigative question worksheet with answer key
- Dotplot, stemplot, and histogram worksheet with answer key
- Quartiles, IQR, and outliers worksheet with answer key
- Sampling methods worksheet with answer key
- Scope of inference worksheet with answer key
- Standard deviation and variance worksheet with answer key
- Choosing mean vs median and SD vs IQR worksheet with answers
- Classifying variables worksheet with answer key