AP Precalculus · Data skills review

Single-Variable Statistics

One unusually large value can change the mean while leaving the median alone. Work through an example to see how center, spread, and outliers describe a data set. Then use those ideas to read tables and check models in AP Precalculus.

Maths practice notebook next to a scientific calculator

Describe one quantitative variable

When you record a completion time for each student, you have a single quantitative variable. The data tell you which times are typical, how far apart they are, and whether any values stand out. If you record time and score for each student, you can also study the association between two variables.

MeasureHow to find it and when it helps
MeanAdd the values and divide by the count. Useful when the distribution is roughly symmetric without strong outliers.
MedianSort the values and locate the middle. Useful when a long tail or extreme value pulls the mean.
ModeFind the most frequent value. Several values can tie for the highest frequency.
RangeSubtract the minimum from the maximum. This measures the full span and is sensitive to either extreme.
Interquartile rangeSubtract Q1 from Q3. This is the span between the two quartiles that bound the middle half.
Standard deviationUse the square root of the variance. It describes spread around the mean in the original units.

For an odd count, the median is the middle observation. For an even count, average the middle pair. In 2,4,6,10, the median is 4+62=5. A median can lie between two observed values.

Pair center with spread. Mean and standard deviation make a useful pair for a roughly symmetric distribution without strong outliers. For skewed data or strong outliers, median and IQR give a more resistant summary. In either case, describe the shape and report the units.

Calculate variance and standard deviation

Subtract the mean from each value, square the deviations, and add them. Variance uses squared units. The square root returns to the original units, such as minutes.

Entire population

Use the population mean μ and the population count N.

σ2=∑i=1N(xi−μ)2N
σ=σ2

Sample

Use the sample mean x¯ and a sample count n>1.

s2=∑i=1n(xi−x¯)2n−1
s=s2

Dividing by n−1 is Bessel's correction. Estimating the mean from the same sample makes the deviations sum to zero. For independent draws from a population with finite variance, this correction makes s2 an unbiased estimate of the population variance.

Worked example · Find the spread of five observations

Suppose the sample times in minutes are 4,8,6,5,7. They have mean x¯=305=6.

TimeDeviation from meanSquared deviation
4−24
824
600
5−11
711

The squared deviations add to 10. With n=5, the sample variance is 2.5 square minutes and the sample standard deviation is about 1.58 minutes.

s2=105−1=2.5,s=2.5≈1.58

If the same five values were the whole population of interest, then σ2=105=2 and σ=2≈1.41 minutes.

On calculator output, Sx commonly means sample standard deviation and σx means population standard deviation. Use the one requested by the problem. A standard deviation of zero means all the values are equal.

Find quartiles and flag a possible outlier

An outlier is an observation unusually far from the rest of the data. The IQR fences give you a consistent rule for flagging values to investigate.

Sort the values. The five-number summary reports the minimum, Q1, median, Q3, and maximum in that order. This guide uses the median of each half for Q1 and Q3, leaving out the middle observation when the count is odd. If the question specifies a different convention, follow it.

Worked example · Use the IQR fences

Suppose seven students take 2,4,5,6,7,8,25 minutes. The median is 6. The lower half is 2,4,5, giving Q1=4. The upper half is 7,8,25, giving Q3=8.

IQR=Q3−Q1=8−4=4

The lower fence is Q1−1.5(IQR)=4−6=−2. The upper fence is Q3+1.5(IQR)=8+6=14.

Since 25>14, the rule flags the time of 25 minutes as an outlier. Values exactly on a fence are within the fences. Investigate whether an unusual observation is genuine before changing a data set.

Change the largest observation

Switch between the original times and a hypothetical replacement. Compare the five statistics, then find the median line and the whiskers.

The 25-minute value is beyond the upper fence. The mean is above the median.

Seven dots at 2, 4, 5, 6, 7, 8 and 25 minutes. The box runs from 4 to 8, with median 6, whiskers at 2 and 8, and a separate outlier at 25.

Times in minutes are 2,4,5,6,7,8,25.

Mean
8.14
Median
6
IQR
4
Sample SD
7.69
Range
23

The original five-number summary ends at 25. In the modified boxplot, the right whisker ends at 8, the largest value inside the fences. The observation at 25 appears separately. The fences are limits for the test and need not coincide with observations.

In this comparison, changing just the largest time shifts the mean, range, and standard deviation. The median and IQR stay the same. They are resistant to extremes, although they can change if enough observations move or if the changed value affects a quartile.

Dot plot

Show each value directly and stack dots for repeats. You can see exact values and gaps when the data set is small.

Histogram

Group quantitative values into numerical intervals and count how many fall in each. With equal-width bins, compare bar heights for frequency. A different bin width can change the visual impression of the shape.

Histogram of the original seven completion times. Two are from zero to under five, four are from five to under ten, and one is in the interval starting at 25 minutes.
The bins have width 5 minutes. The bin starting at 5 includes 5 and excludes 10, so its frequency is 4. The observation at 25 lies in the bin starting at 25.

A long tail toward larger values suggests right skew. A long tail toward smaller values suggests left skew. In this histogram, most observations are below 10 minutes and a single long time lies to the right. A boxplot makes the center and spread easy to compare across groups, while a dot plot or histogram shows gaps and clusters more directly.

Predict what changing units will do

Treat the transformation y=a+bx as a function applied to every observation. Adding a constant shifts the whole distribution. Multiplying changes its distances by |b|. A negative b also reverses the order.

StatisticAfter applying y=a+bx
Meany¯=a+bx¯
MedianMultiply the old median by b and add a.
Range, IQR, standard deviationMultiply the old measure by |b|.
VarianceMultiply the old variance by b2.

Worked example · Convert minutes to seconds

The five sample times have a mean of 6 minutes and standard deviation 2.5 minutes. Apply y=60x. The mean becomes 360 seconds and sy=602.5≈94.87 seconds. Multiplying the variance by 602 gives 9000 square seconds.

A standardized value reports distance from the mean in standard-deviation units. For the sample with s>0, use z=x−x¯s. The observation at 8 minutes is about 1.26 sample standard deviations above the mean. This comparison alone gives no percentile without information about the shape.

Keep the input-output pairs when modeling

AP Precalculus Topics 1.13 and 1.14 ask you to choose, construct, and use function models, including stating assumptions and domain restrictions. Topic 2.6 asks you to compare fits and check residuals. Descriptive statistics help you inspect the observations before doing that work. A single statistic such as the median does not tell you how outputs change as inputs increase.

Days since first readingTotal visits
040
160
290
3135

Worked example · Use a table to justify a model

The median of the four visit counts is 75. To choose a model for visits over time, compare the values in their original order. The time steps are each one day, and 6040, 9060, and 13590 all equal 1.5.

V(t)=40(1.5)t

An exponential model matches this constant ratio on the observed interval 0≤t≤3. Predicting after day 3 assumes that the daily growth factor continues. For a fitted model, a residual y−y^ compares the measured value with the prediction at the same input.

Use the bivariate statistics lesson to compare linear, quadratic, and exponential models with residual plots.

Practice with worked answers

Write your calculation or reasoning before opening the answer.

1. Find the mean and median of 3,5,8,12.

The mean is 284=7. The median is 5+82=6.5.

2. Find the sample variance of 2,4,6.

The mean is 4. The squared deviations add to 4+0+4=8. Divide by 3−1=2 to get s2=4.

3. Treat 2,4,6 as the whole population. Find its variance.

Divide the same squared-deviation total by the population count 3. This gives σ2=83.

4. Use the median-of-halves method to find the IQR of 1,2,4,6,10,12.

The lower half is 1,2,4 and the upper half is 6,10,12. Thus Q1=2, Q3=10, and IQR=8.

5. If Q1=4 and Q3=8, does the rule flag an observation at 14?

The upper fence is 8+1.5(8−4)=14. The rule flags values strictly greater than the upper fence, so 14 stays inside.

6. Which statistics would you report for long-tailed waiting times?

Report the median in minutes and IQR in minutes. Describe the tail and any flagged values. For a long right tail, the mean can be pulled above the median.

7. Apply y=3+2x to data with x¯=7 and sx=2.

The new mean is 3+2(7)=17. The new standard deviation is 2(2)=4, and the variance is 42=16.

8. Outputs 12,18,27,40.5 are recorded at equal unit input intervals. Which family fits?

The successive ratios are all 1.5, supporting an exponential model. Keep the paired inputs when you use it to predict.

9. What kind of bias can occur when only keen users choose to answer an open poll?

This is voluntary-response bias. The people who opt in may have stronger views than the population the poll aims to describe.

10. A random sample uses s to estimate an unknown population standard deviation. Which critical value is used in the one-mean interval?

Use a t* critical value with n−1 degrees of freedom when the conditions for a one-sample t-interval are met.

Statistics extension · Identify sampling and response bias

Sampling design, confidence intervals, and experiments are statistics extension material. Start by naming the population you want to describe and the sample you actually observed. A systematically different group can give a misleading estimate even when the sample is large.

TypeHow it arisesExample
Selection biasThe selection method favors some members of the population.Use mall shoppers to represent every resident of a city.
UndercoverageThe list or collection method leaves part of the population out.A telephone survey misses residents without phones.
Nonresponse biasPeople contacted who decline may differ from those who respond on a relevant characteristic.Only highly motivated students return a survey about study habits.
Response biasQuestion wording or the setting changes what respondents report.A leading or embarrassing question encourages inaccurate answers.
Voluntary-response biasParticipants decide whether to opt in.An open online poll draws people with especially strong opinions.

Use a sampling frame that covers the population and select by chance. In a simple random sample, all groups of the selected size are equally likely to be chosen. Use neutral wording and follow up with nonresponders to reduce other sources of bias.

Statistics extension · Build and interpret confidence intervals

A confidence interval gives a range of plausible values for a population parameter using a sample statistic and its sampling variability. For the methods below, check that the data come from a random process and can be treated as independent. With sampling without replacement, a common check is n≤0.10N.

Parameter and methodInterval and checks
Mean with known σx¯±z*σn. Use z* when the sampling distribution of the mean is approximately normal and σ is known.
Mean with unknown σx¯±t*sn. Use n−1 degrees of freedom. Check normality or sample size and look for strong skew or outliers.
Proportion, normal approximationp^±z*p^(1−p^)n. A standard check is at least 10 successes and 10 failures in the sample.

Common two-sided normal critical values are 1.645 for 90%, 1.960 for 95%, and 2.576 for 99%. The critical value from a t-distribution also depends on its degrees of freedom.

Worked example · Estimate the mean when population spread is unknown

A random sample of 36 test scores has mean 75 and sample standard deviation 10. Assume the conditions for a one-sample t-interval are met. The standard error is 1036=106≈1.67, with 35 degrees of freedom.

For 95% confidence, use t*≈2.0301. The margin of error is approximately 3.3835 points.

75±2.0301(106)≈(71.62,78.38)

We are 95% confident that the population mean test score is between 71.62 and 78.38 points. In repeated samples, about 95% of intervals made by this method would contain the fixed mean.

If the population standard deviation were known to be σ=10, the z-interval with z*=1.96 would have a margin of error of about 3.27 points and bounds of approximately (71.73,78.27).

For the same type of interval with other inputs fixed, a higher confidence level increases the width. A larger sample usually reduces the width through the standard error. Greater variability increases the width. Report the confidence level, the population parameter, the bounds and the units.

Statistics extension · Distinguish observation from experiment

An observational study records existing behavior or conditions and can identify an association. In an experiment, the researcher assigns treatments and measures their effects. Random assignment helps balance other variables, supporting a cause-and-effect conclusion when the design is sound.

  • Control. Keep the procedure as consistent as possible across groups. Use a comparison group to see what happens under a different condition.
  • Random assignment. Use chance to assign experimental units to treatments. Random sampling instead concerns the population the results can describe.
  • Replication. Use enough independent experimental units per treatment to separate a real effect from chance variation.
  • Blocking. Group similar experimental units by a relevant characteristic, such as prior experience, then randomize treatments within each block.

For example, record how long volunteers spend on practice they choose themselves to study an association. To test a practice method, randomly assign participants within prior-experience groups to two methods and compare their scores under the same testing conditions.

Simulations let you model a random process with repeated trials. You can simulate many random assignments and compare the differences in group means to see which results would be unusual under a no-effect assumption.

Quick reference for choosing a calculation

TaskCalculation
Sample meanx¯=∑xin
Sample variance and standard deviations2=∑(xi−x¯)2n−1 and s=s2
Middle-half spreadIQR=Q3−Q1
Outlier checkFlag x<Q1−1.5(IQR) or x>Q3+1.5(IQR).
Mean interval with unknown σx¯±t*sn when the conditions hold.
Proportion intervalp^±z*p^(1−p^)n for the normal-approximation method when the conditions hold.

Official AP questions and worked practice

For AP Precalculus, practise using paired values to justify a function type and determine a useful domain. If you want more practice calculating quartiles or reading a boxplot, use the separate AP Statistics question.

Need help with statistics?

A NUM8ERS tutor can work through summary statistics, calculator output, and data-based AP Precalculus questions with you.

Book a free consultation

Prepared by NUM8ERS with AP Precalculus modeling links from the framework effective Fall 2026.