From a Category Count to a Sample Proportion
In Frequency Tables and Relative Frequency, you learned that a category’s relative frequency is its count divided by the total number of responses. This tutorial focuses on calculating and reporting that value for one category, using the standard AP Statistics notation \(\hat{p}\). The hat over the \(p\) signals that the value is calculated from a sample.
To find a sample proportion, you need two numbers: the number of sampled individuals in the category of interest and the total number of sampled individuals represented. Divide the first number by the second. The result is a decimal from 0 to 1 that summarizes the share of the sample in that category.
Here, \(x\) is a count and \(n\) is a count of all sampled individuals in the group being described. The sample proportion \(\hat{p}\) is a share, not a count. For instance, if 15 of 103 respondents choose option A, then \(x=15\), \(n=103\), and the result describes the fraction of those 103 respondents who chose A.
The category must be clear before you calculate. In a survey where each person chooses exactly one option, “chose option A” is one possible category. The numerator counts only the people in that category, while the denominator includes everyone represented in the sample, not just the people who chose A. As in the earlier tutorial on Identifying the Observational Unit, check what one case represents so the count and total refer to the same kind of unit.
Choosing the Count, Total, and Notation
A dependable calculation starts by translating the situation into \(x\) and \(n\). Look for the number in the category of interest to identify \(x\). Then identify the total number of sampled individuals whose responses are being summarized to identify \(n\). If a frequency table gives several category counts, check that the category counts add to the stated sample size, as you practiced in Frequency Tables and Relative Frequency.
State which response or group you are calculating the sample proportion for.
Set \(x\) equal to the category count and \(n\) equal to the total sample size represented.
Substitute into \(\hat{p}=x/n\). Keep the fraction or full calculator value while working.
Round the decimal as requested, then describe what share of the specified sample belongs to the category.
The notation matters. Write \(\hat{p}\) for the calculated sample proportion, not simply \(p\). In earlier material on population and sample questions, you learned that a statistic summarizes a sample, while a parameter summarizes a population. The sample proportion \(\hat{p}\) is a statistic. The proportion for an entire population is a parameter and is often written \(p\). Finding \(\hat{p}\) from counts does not, by itself, tell you the exact population proportion.
A sample proportion cannot be less than 0 or greater than 1: the category count cannot be negative or exceed the total. It equals 0 if no sampled individuals are in the category and equals 1 if every sampled individual is in it. These are useful checks on a calculation.
Worked Examples: Calculate and Report \(\hat{p}\)
Worked Example: 15 of 103 Choose Option A
In a fictional survey, 103 students each choose one option for a new school-club activity. Fifteen choose option A. Find the sample proportion who choose option A, rounded to three decimal places, and interpret it.
Identify the values: The category is choosing option A, so \(x=15\). The total sample size is \(n=103\). Because each student gives one answer, all 103 students are included in the denominator.
Calculate: Substitute into the formula and divide:
The third digit after the decimal is 5, so rounding to three decimal places gives \(\hat{p}=0.146\). Keep the original fraction, \(15/103\), or the unrounded value for any later calculation that requires more precision.
Interpret in context: The sample proportion of students who chose option A is about 0.146. In other words, about 0.146 of the 103 surveyed students chose option A. This describes these survey respondents; it does not establish the proportion of all students who would choose option A.
Worked Example: Find the Proportion from a Frequency Table
At a fictional community technology event, 80 attendees answer a question about which workshop they would attend. The responses are 28 for coding, 32 for digital art, and 20 for robotics. Find the sample proportion who choose digital art.
Check the total: The category counts add to \(28+32+20=80\), which matches the stated 80 attendees. The count for digital art is \(x=32\), and the total sample size is \(n=80\).
Calculate: Use the digital-art count over all 80 responses:
So the sample proportion of attendees choosing digital art is \(\hat{p}=0.4\), or \(0.400\) if three decimal places are requested. This means 0.4 of the 80 surveyed attendees chose digital art. The numerator is 32, but \(\hat{p}\) is not 32; it is the share represented by \(32/80\).
Check the scale: Since 32 is less than 80 and both are positive, the answer must be between 0 and 1. The result \(0.4\) passes that check.
Worked Example: Select the Correct Denominator
A fictional survey of 60 transit riders asks whether they used a mobile ticket that day. There are 42 “yes” responses and 18 “no” responses. Find the sample proportion who used a mobile ticket. A student divides 42 by 18. Explain the error and give the correct result, rounded to two decimal places.
Identify the group and category: The category of interest is “yes, used a mobile ticket.” Its count is \(x=42\). The sample consists of all 60 riders, so \(n=60\). The 18 “no” responses are not the total sample; they are the count in the other category.
Calculate correctly:
The sample proportion is \(\hat{p}=0.70\). Dividing 42 by 18 compares the “yes” count with the “no” count, rather than comparing “yes” responses with all surveyed riders. That quotient is not the sample proportion who used a mobile ticket.
Interpret in context: A proportion of 0.70 means that 0.70 of the 60 surveyed riders reported using a mobile ticket that day. This is a description of the sample, not a claim about every transit rider.
Rounding and Reporting with Care
A division may produce a decimal that continues indefinitely, as \(15/103=0.145631\ldots\) does. Round only after dividing. If a problem requests three decimal places, report three digits after the decimal point; if it requests two, report two. When no precision is specified, a few decimal places are usually enough for a beginner calculation, as long as the rounding is sensible and consistent.
The notation should match the rounded value. You might write \(\hat{p}=0.146\) when rounding the 15-of-103 result to three decimal places. Do not write \(\hat{p}=15\), because 15 is the category count, or \(\hat{p}=103\), because 103 is the total sample size. A clear written calculation makes the distinction visible:
The symbol \(\approx\) indicates that the reported decimal is rounded rather than exactly equal to the fraction. Keeping the fraction in your work shows where the answer came from. Reporting the decimal makes the sample proportion easy to read and compare.
When a frequency table lists all possible, distinct responses to a single-choice question, the sample proportions for all categories add to 1 before rounding. This is a useful check, not a replacement for identifying the correct denominator. Rounded values might add to a number slightly different from 1 because each has been rounded.
Common Mistakes and AP Exam Tips
- Using the category count as the denominator. The numerator is the count for the category; the denominator is the total sample size. For 15 choosing A out of 103, use \(15/103\), not \(15/15\).
- Using a different category’s count as the denominator. A “yes” count divided by the “no” count does not give the sample proportion answering yes. Divide by the total number of sampled individuals represented.
- Reporting a count as a proportion. “15 students chose A” reports a count. “The sample proportion is about 0.146” reports a share. A complete response can include both, while labeling each correctly.
- Writing \(p\) when reporting a sample statistic. Use \(\hat{p}\) for the proportion calculated from sample data. A population proportion is a parameter, not the value directly calculated from this sample.
- Rounding too early or inconsistently. Keep \(x/n\) or the full calculator value until the final rounding step. Include the requested number of decimal places and use \(\approx\) for a rounded decimal.
- Leaving out the group in the interpretation. Say which category and which sampled group the number describes. A proportion calculated from respondents describes those respondents unless additional reasoning supports a broader claim.
For full-credit communication, show the count divided by the total, use \(\hat{p}\), report the requested precision, and give a sentence in context. For example: “Of the 103 surveyed students, 15 chose option A, so \(\hat{p}=15/103\approx0.146\). About 0.146 of these respondents chose option A.” This identifies the category, denominator, notation, and meaning.
Check Your Understanding
For each question, identify the category count and total sample size before calculating.
- In a fictional poll, 21 of 75 respondents choose option C. Write \(x\), \(n\), and \(\hat{p}\). Give the proportion to three decimal places.
- A class survey has 24 “yes” responses and 16 “no” responses. Find the sample proportion answering yes, rounded to two decimal places. What denominator should be used?
- In a fictional park survey, 9 of 40 visitors say they arrived by bicycle. Calculate \(\hat{p}\) to three decimal places and interpret it in context.
- A student reports \(\hat{p}=12\) when 12 of 48 people chose a category. Identify the mistake and give the correct sample proportion.
- Why is \(\hat{p}\) the appropriate notation for a proportion calculated from a sample, rather than a claim about the whole population?