From Counts to Conditional Distributions
In “Interpreting Association Versus Independence in a Table,” you learned that conditional proportions help show how the distribution of one categorical variable changes across categories of another. This tutorial focuses on calculating those proportions as percentages and choosing the right denominator for a question about class year.
A count tells how many observations fall in a cell. A percentage tells what fraction of a specified group falls in that cell. To calculate the percentage, divide the cell count by the total for the group you are describing, then multiply by 100. The group total—not automatically the grand total—is the denominator.
The phrase among is a useful guide. If the question asks how study-location preferences differ among class years, use each class year’s row total and calculate row percentages. If the question asks how class years are represented among students who prefer a particular location, use that location’s column total and calculate column percentages.
Both orientations can be informative, but they answer different descriptive questions. Before calculating, name the group you are conditioning on. Then use the same orientation throughout the comparison. For a complete row-percentage table, percentages across each row should total about 100%; for a complete column-percentage table, percentages down each column should total about 100%. Small discrepancies can occur because displayed percentages are rounded.
Worked Example: Study-Location Preferences by Class Year
Worked Example: Study-Location Preferences by Class Year
Suppose a fictional campus survey records the preferred study location of students in three class years. Each student is counted once.
| Class year | Library | Dorm | Outdoors | Total |
|---|---|---|---|---|
| First year | 24 | 36 | 12 | 72 |
| Second year | 30 | 20 | 10 | 60 |
| Third year | 36 | 18 | 6 | 60 |
| Total | 90 | 74 | 28 | 192 |
To compare study-location preferences among class years, calculate row percentages. For first-year students, divide each count by 72: \(24/72 \times 100=33.3\%\) prefer the library, \(36/72 \times 100=50.0\%\) prefer the dorm, and \(12/72 \times 100=16.7\%\) prefer studying outdoors.
For second-year students, the row total is 60. The percentages are \(30/60 \times 100=50.0\%\) for the library, \(20/60 \times 100=33.3\%\) for the dorm, and \(10/60 \times 100=16.7\%\) for outdoors. For third-year students, they are \(36/60 \times 100=60.0\%\), \(18/60 \times 100=30.0\%\), and \(6/60 \times 100=10.0\%\), respectively.
| Class year | Library | Dorm | Outdoors | Row total |
|---|---|---|---|---|
| First year | 33.3% | 50.0% | 16.7% | 100.0% |
| Second year | 50.0% | 33.3% | 16.7% | 100.0% |
| Third year | 60.0% | 30.0% | 10.0% | 100.0% |
Each row describes a conditional distribution: the study-location preferences among students in that class year. For example, the library-preference percentages are 33.3%, 50.0%, and 60.0% for first-, second-, and third-year students. The third-year percentage is 26.7 percentage points higher than the first-year percentage: \(60.0\%-33.3\%=26.7\) percentage points, rounded to one decimal place.
The full distributions also show changes in the other categories. Dorm preference is 50.0% among first-year students and 30.0% among third-year students, a difference of \(-20.0\) percentage points when calculated as third year minus first year. Outdoor preference falls from 16.7% to 10.0%, a difference of \(-6.7\) percentage points. These are descriptions of the surveyed students, not conclusions about all students at a campus.
Interpretation: In this fictional sample, the distribution of preferred study location differs across the three class years. The proportion preferring the library increases from first year to third year, while dorm and outdoor preferences are lower in third year than in first year. The row percentages make this pattern easier to see than comparing the counts alone.
Worked Example: Reverse the Conditioning
Worked Example: Reverse the Conditioning
Use the same fictional table, but now ask: “Among students who prefer each study location, what percentages are in each class year?” This question conditions on study location, so calculate column percentages using the location totals.
For students who prefer the library, the column total is 90. The class-year percentages are \(24/90 \times 100=26.7\%\) first year, \(30/90 \times 100=33.3\%\) second year, and \(36/90 \times 100=40.0\%\) third year.
For students who prefer the dorm, the column total is 74. The percentages are \(36/74 \times 100=48.6\%\) first year, \(20/74 \times 100=27.0\%\) second year, and \(18/74 \times 100=24.3\%\) third year. For students who prefer outdoors, the column total is 28: \(12/28 \times 100=42.9\%\) first year, \(10/28 \times 100=35.7\%\) second year, and \(6/28 \times 100=21.4\%\) third year.
| Preferred location | First year | Second year | Third year | Column total |
|---|---|---|---|---|
| Library | 26.7% | 33.3% | 40.0% | 100.0% |
| Dorm | 48.6% | 27.0% | 24.3% | 99.9% |
| Outdoors | 42.9% | 35.7% | 21.4% | 100.0% |
The dorm percentages total 99.9% because each value is rounded to one decimal place; the unrounded proportions total 100%. This table answers a different question from the row-percentage table. For instance, 40.0% means that 40.0% of the library-preferring students in this sample are third-year students. It does not mean that 40.0% of third-year students prefer the library; that percentage is 60.0% from the row-percentage table.
Interpretation: Among students who prefer the library, third-year students make up the largest share in this sample. Among students who prefer the dorm or outdoors, first-year students make up the largest share. These column percentages describe the class-year composition within each preference category; they are not the preference rates within each class year.
Worked Example: Matching the Denominator to the Question
Worked Example: Matching the Denominator to the Question
A second fictional table records whether students in two class years prefer a review session in person or online.
| Class year | In person | Online | Total |
|---|---|---|---|
| First year | 40 | 20 | 60 |
| Third year | 18 | 42 | 60 |
| Total | 58 | 62 | 120 |
Suppose the question is, “What proportion of students in each class year prefer an online review session?” The relevant denominator is the total for each class year, so use row percentages. Among first-year students, \(20/60 \times 100=33.3\%\) prefer online sessions and \(40/60 \times 100=66.7\%\) prefer in-person sessions. Among third-year students, \(42/60 \times 100=70.0\%\) prefer online sessions and \(18/60 \times 100=30.0\%\) prefer in-person sessions.
The online-preference percentage is \(70.0\%-33.3\%=36.7\) percentage points higher among third-year students than among first-year students, rounded to one decimal place. The row percentages show that the sample distributions differ: online preference is more common among the third-year students surveyed.
If instead the question were, “Among students who prefer online sessions, what proportion are third-year students?” the denominator would be the online column total, 62. The answer would be \(42/62 \times 100=67.7\%\). The two calculations are both valid, but they describe different conditional proportions. The first uses the class-year total; the second uses the online-preference total.
A Reliable Calculation Routine
Use this routine whenever a question asks for percentages from a two-way table. It keeps the calculation tied to the meaning of the comparison.
Decide which group forms the denominator. For preferences among class years, condition on class year; for class-year composition among preferences, condition on the preference category.
Use a row total for each row percentage or a column total for each column percentage. Do not use the grand total unless the question asks for a cell’s share of the entire sample.
Divide each relevant cell count by its matching total and multiply by 100. Keep the denominator visible in your work.
Check that the percentages in each chosen row or column add to about 100%. Compare corresponding categories across groups and describe the pattern in context.
When comparing percentages, a difference such as 60% minus 33.3% is 26.7 percentage points. Percentage points describe the subtraction of two percentages. Saying “26.7% higher” can instead suggest a relative percentage increase, which is a different calculation. For a straightforward table comparison, report the percentage-point difference and state which groups and outcome categories it compares.
Common Mistakes and AP Exam Communication
A strong response identifies the conditional group, shows the denominator, and describes the comparison in context. The arithmetic matters, but so does saying what the calculated percentage represents.
- Using the wrong denominator: Dividing a library count by the library total answers a question about students among library-preferrers. To find the library-preference rate among a class year, divide by that class year’s row total.
- Comparing raw counts instead of percentages: Counts can be larger simply because one group has more observations. Percentages within the groups make the comparison fairer when group sizes differ.
- Mixing row and column percentages: Do not compare a row percentage for one class year with a column percentage for a study location. State the orientation and use it consistently for the question.
- Calling a percentage a count: A statement such as “40% prefer the library” is incomplete unless it says among whom. In the column table, 40.0% describes the class-year composition among library-preferrers.
- Forgetting the context or direction: A numerical difference alone is hard to interpret. Name the category, the groups, and which group has the higher percentage.
- Overstating the result: These calculations describe the observations in a sample. They do not, by themselves, prove a population relationship or show that class year causes a preference.
Check Your Understanding
Use the table or create a small two-way table to answer each question. Include the denominator and interpret each percentage in context.
- In the study-location table, what percentage of second-year students prefer the dorm? What is the denominator?
- In the same table, what percentage of dorm-preferring students are first-year students? Why is its denominator different from the answer to Question 1?
- In the review-session table, calculate and compare the in-person preference percentages among first- and third-year students.
- Explain why percentages across a row-percentage table should total about 100% for each row, and why rounding may prevent an exact total.
- A student divides the number of third-year library-preferrers by the grand total of 192. What does that percentage describe, and why does it not answer the question “What proportion of third-year students prefer the library?”