AP Statistics · Exploring one-variable data
Quantitative data and graphs
1Graphs for quantitative data
- Dotplot: each value is a dot above a number line. Good for small data sets.
- Stemplot (stem-and-leaf): splits each value into a stem (leading digits) and a leaf (final digit); keeps the actual values. Always include a key, such as "3 | 7 = 37".
- Histogram: groups values into equal-width bins; bar heights show counts or relative frequencies. Bars touch, because the scale is continuous.
- Cumulative relative frequency plot (ogive): shows the proportion of values at or below each value; useful for percentiles.
Unlike bar charts, the horizontal axis is a numerical scale.
Check yourself
Which graph keeps every original data value?
Show the answer
Stemplot
Leaves record the values.
2Describing a distribution: SOCS
Describe a quantitative distribution using SOCS, always in context:
- Shape: symmetric, skewed right (long tail to the right, toward larger values), skewed left; unimodal or bimodal.
- Outliers: values that fall well outside the overall pattern.
- Centre: a typical value (median or mean).
- Spread: variability (range, IQR, standard deviation).
Shape of a distribution: the tail shows the direction of skew
incomes in a town are mostly between $30,000 and $70,000, with a few above $200,000.
- Shape: skewed right.
- Outliers: the incomes above $200,000.
- Centre: median about $48,000.
- Spread: most incomes lie within a range of about $40,000.
Check yourself
A distribution with a long tail toward larger values is:
Show the answer
Skewed right
The tail points right.
3Comparing distributions
When comparing two or more groups, use comparative language for each feature:
- "The median for Group A (24) is greater than the median for Group B (19)."
- "Group B's scores are more variable (IQR 12 versus 7)."
Use the same scale for both graphs (back-to-back stemplots, parallel dotplots, or stacked histograms).
Check yourself
When comparing two distributions, you should:
Show the answer
Compare shape, outliers, centre and spread using comparative words
Explicit comparisons.
4Choosing bins and reading histograms
- Too few bins hide detail; too many make the shape noisy.
- Read counts carefully from the vertical axis; the area of each bar represents the proportion of data.
- In a relative frequency histogram, bar heights add to 1.
a histogram of 40 test scores has bars 50–60: 4, 60–70: 10, 70–80: 14, 80–90: 9, 90–100: 3.
- Percentage scoring 80 or more: $\frac{9 + 3}{40} = 30\%$.
- The median lies in the 70–80 bin (the 20th and 21st values: 4 + 10 = 14 below 70, 28 below 80).
Check yourself
In the histogram above, what percentage of scores is below 70?
Show the answer
35%
(4 + 10)/40.
5Going deeper: describing a distribution completely
A quantitative variable takes numerical values for which arithmetic makes sense. Discrete variables are counted (number of siblings); continuous variables are measured and can take any value in an interval (height, time).
Graphs
- Dotplot: a dot for each value above a number line. Shows every observation; best for small data sets.
- Stemplot (stem-and-leaf): splits each value into a stem and a final-digit leaf. Keeps the actual values. It must have a key (for example, 4 | 7 means 47). Back-to-back stemplots compare two groups.
- Histogram: values are grouped into intervals (bins) of equal width; bars touch; the height is the frequency or relative frequency. Individual values are lost. Changing the bin width can change the apparent shape.
- Cumulative relative frequency graph (ogive): shows the proportion of values at or below each point; used to read percentiles.
Describe every distribution with four features, in context: SOCS (or CUSS).
Shape
- Symmetric: the two sides are roughly mirror images.
- Skewed right: a long tail to the right (high values). Incomes, house prices, waiting times.
- Skewed left: a long tail to the left. Scores on an easy test.
- The skew is named for the tail, not for where the bulk of the data lie.
- Unimodal (one peak), bimodal (two peaks, often a sign of two different groups mixed together), uniform (roughly flat).
- Note gaps and clusters.
Outliers: values that fall well outside the overall pattern. Identify them by value. They may be errors or the most interesting observations.
Center: a typical value: the median or mean.
Spread (variability): how much the values vary: range, interquartile range or standard deviation.
Worked example (describing): a histogram shows the commute times in minutes of 60 workers. Most are between 10 and 30 minutes, with a peak at 15 to 20; the bars tail off to the right as far as 55 minutes, and one worker reports 90 minutes.
- Shape: unimodal and skewed right.
- Outlier: one unusually long commute of about 90 minutes.
- Center: the median commute is about 20 minutes.
- Spread: times range from about 5 to 90 minutes; most lie between 10 and 30.
Comparing distributions: use comparative language for each feature, and name both groups. "The median for Class A (78) is higher than that for Class B (71)." Listing the two sets of numbers side by side without comparing them earns little credit.
Worked example (comparing): back-to-back stemplots show test scores for two classes.
- Shape: Class A is roughly symmetric; Class B is skewed left.
- Center: Class B's median (84) is higher than Class A's (76).
- Spread: Class A's scores vary more (range 45) than Class B's (range 30).
- Outliers: Class B has one low outlier at 52; Class A has none.
Reading a cumulative relative frequency graph
- To find a percentile for a value: go up from the value to the curve, then across.
- To find the value at a percentile: go across from the percent, then down. The median is at 50%; the quartiles at 25% and 75%.
- A steep section means many observations in that interval.
on such a graph, the curve passes through (40, 0.25), (52, 0.50) and (61, 0.75).
- Median = 52.
- IQR = 61 − 40 = 21.
- A value of 61 is at the 75th percentile.
Choosing a graph: dotplots and stemplots for small sets where individual values matter; histograms for large sets; boxplots (next lesson) for comparing several groups at a glance, though they hide the shape's detail, such as two peaks.
Histogram or bar graph? A histogram displays a quantitative variable: the horizontal axis is a number line and the bars touch. A bar graph displays a categorical variable.
Common mistakes
- Calling a distribution with a long right tail "skewed left" because the peak is on the left.
- Leaving out context or units.
- Describing only the center.
- Saying "normal" when "roughly symmetric" or "bell-shaped" is all the graph supports.
- Omitting the key from a stemplot.
- Using unequal bin widths in a histogram.
Check yourself
A distribution of house prices has most values between 150,000 and 300,000, with a few houses priced above 1 million. Its shape is best described as:
Show the answer
Skewed right
The long tail extends toward the high values.
6For top marks
- Always include context (units and the variable name) in descriptions.
- Use SOCS and back claims with numbers.
- For comparisons, use comparative phrases ("higher", "more variable") for every feature.
- Avoid the word "normal" to mean "typical"; use "approximately symmetric and unimodal".
"The distribution of commute times is skewed right with a possible outlier at 95 minutes; the median is 22 minutes and the IQR is 15 minutes."
Check yourself
A student writes "the data is normal". A better description is:
Show the answer
Approximately symmetric and unimodal
"Normal" has a technical meaning.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera