AP Precalculus · Competing Function Model Validation
Bivariate Statistics and Residual Plots
A regression curve can look convincing while missing the same way at several inputs. Use scatterplots and residuals to spot those misses, compare three models on the same data, and explain which fit you would use.
Read the scatterplot before fitting a curve
Bivariate data record two measurements for each observation. Plot each pair as a point, with the explanatory variable horizontally and the response vertically. Label both axes with variables and units. For instance, place hours studied on the horizontal axis and test score in points on the vertical axis.
Describe the pattern
Look for a positive or negative direction, a straight or curved form, and how tightly points follow that form. Describe clusters and gaps if they stand out. Use the actual variables in your description.
Check unusual observations
A point far from the pattern is an outlier. An observation with an extreme -value has high leverage, so it can pull a regression line. Check whether the fit changes substantially when that point is left out. A far-right point that follows the trend can have high leverage and little influence.
Consider why the variables move together. A positive association between outdoor temperature and ice cream sales can be useful for prediction. Association alone cannot establish a causal effect. Other variables, such as season or foot traffic, may matter.
| Candidate | What to look for over equal input steps | Context check |
|---|---|---|
| Linear | Roughly constant first differences. | Adding similar amounts each step makes sense. |
| Quadratic | Roughly constant nonzero second differences. | A change in slope or a single turning point makes sense on the modeled interval. |
| Exponential | Roughly constant ratios between successive positive outputs. | Multiplying by a common factor each step makes sense. |
With unequal input steps, use slopes to compare rates. For a positive exponential pattern, use to estimate the factor per unit. Use the shape and context to propose a model, then test the fit with residuals.
Calculate a residual and interpret its sign
Use the observed response and the model's prediction at the same input. The hat in marks a predicted value. A residual has the same units as the response.
| Residual | Point compared with fit | Model behavior |
|---|---|---|
| Above the fitted curve | Underestimates the actual value | |
| Below the fitted curve | Overestimates the actual value | |
| On the fitted curve | Predicts the observed value exactly |
Worked example · A prediction falls short
Suppose a learner studies hours and scores points. The line predicts points.
The line underestimates the score by points. The absolute error is also points. When the residual is negative, the absolute error still gives a nonnegative size.
In a residual plot, keep the original -value and put on the vertical axis. The horizontal line at means no error. A scatter of small residuals around zero without a clear pattern supports the model on the observed interval. A curve indicates systematic errors. Widening spread can show that predictions are less precise for some inputs. Count and size alone cannot explain the pattern.
Use the sign in context. A planner estimating how many visitors a venue can hold may prefer to overestimate demand when running out of space is costly. An overestimate has a negative residual.
Compare linear, quadratic and exponential fits
A website records visits each day after a new page goes live. In this example, is days since launch and is the visits on that day. Start by looking at the paired data. Then hold the data fixed and change the model.
| Day since launch | Observed visits |
|---|---|
Compare fits on the same nine observations
The first graph shows the data and fitted model. The second shows its residuals. Day four is circled in both. Check each residual axis scale when comparing error sizes.
The line overestimates through most of the middle days and underestimates near both ends.
Day recorded visits. The model predicts about visits, giving a residual of about visits.
Day recorded visits. The model predicts about visits, giving a residual of about visits.
Day recorded visits. The model predicts about visits, giving a residual of about visits.
The line's residuals are positive near the ends and negative in the middle. It also predicts a negative visit count on day zero. The quadratic accounts for curvature, but runs of positive and negative residuals remain. The exponential has much smaller residuals on both sides of zero with no clear systematic curve in this sample. A nearly constant proportional increase is also plausible over these first few days.
Write an AP-style model justification
“I would use an exponential model for days through . Its residuals are close to zero without a clear pattern. The linear residuals are positive at both ends and negative across much of the middle, so the line most often overestimates there.”
Then state an assumption. Here the visitor growth rate is assumed to stay roughly proportional over that short interval. If a campaign ends or demand levels off, the same fit may stop being useful. A fit to the observed data does not establish a long-term trend.
Interpolate cautiously. A prediction inside the observed range is an interpolation. A prediction beyond day is an extrapolation, where there is no observed value to check the model against. Keep the model's applicable interval and the response units in your answer.
Use graphing technology. Enter the paired - and -values into a table. Run linear, quadratic and exponential regressions with the same data. Store or copy each model, evaluate it at each observed input, and graph the residuals against the original inputs. Calculate from the stored coefficients and round the reported result at the end.
Understand the least-squares regression line
The least-squares line , also written , minimizes the sum of squared vertical residuals among lines. Squaring keeps positive and negative residuals from canceling. The fitted line with an intercept goes through .
Slope
Use the ratio of cross-deviations to squared input deviations, or use correlation and the sample standard deviations when both variables vary.
Intercept
Subtract the predicted change from the mean response. The intercept is the model prediction at and has the same units as .
Worked example · Find the line from summary statistics
Use , , , , and . Here is hours studied and is test score in points.
For each additional hour of study, the predicted score increases by points. The predicted score at zero hours is points. Interpret that baseline only if zero is meaningful and reasonably supported by the data. At the mean input , the line predicts the mean response .
For AP Precalculus, practise constructing a model with technology and interpreting its parameters in context. The formulas here explain how the line is calculated and are useful for checking the output.
What correlation and add to a scatterplot
Pearson's correlation coefficient measures the direction and strength of a linear association. It is unitless and lies between and . It is undefined when either variable has zero spread.
Read the sign and strength
is a perfect positive line and is a perfect negative line. Values like and indicate the same strength in opposite directions. At , there is no linear association as measured by . For example, at the five inputs has despite following a perfect parabola.
Rough descriptions of strength
One classroom convention calls values of above strong, between and moderate, between and weak, and below very weak. The labels and boundaries depend on the context. Describe the scatterplot when the exact label is unclear.
Read the coefficient of determination
For simple least-squares linear regression with an intercept and a varying response, squaring gives the proportion of the observed variability in accounted for by the line with .
It describes variability in the data. A value of does not mean that of predictions were correct.
| Interpretation for the fitted line | |
|---|---|
| The line accounts for of the observed response variability. | |
| The line accounts for of the observed response variability. | |
| The line accounts for of the observed response variability. Look at the residuals before drawing a conclusion about its usefulness. |
A large value can hide a pattern. The visits data give and for the line. Its residuals still form a clear curve. Use the residual plot to justify a fit. Compare model errors on the same response scale, especially after a logarithmic transformation.
Fit an exponential and read a semi-log plot
A positive exponential model has an initial value and a multiplier per unit of . It grows when and decays when .
Worked example · Interpret a growth factor
For the population model , the initial population is and the factor means growth each year. After years the model gives , or about individuals.
If you know two positive outputs, divide the later output by the earlier one and take the root corresponding to the number of input units between them. Then use either known pair to solve for .
Worked example · Recover a model from a semi-log line
For positive , a semi-log plot keeps on a linear scale and uses logarithmic spacing on the -axis. One way to read that pattern is to plot on ordinary axes for a base .
A roughly straight pattern supports exponential behavior. If the transformed line is using base , undo the logarithm to get and .
The original response increases by about per input unit. A straight line on the log scale describes multiplicative change on the original scale. Check predictions and residuals in original units before interpreting how many visits, points or people the model misses by.
With a known baseline in the model , you can linearize when . When no baseline is supplied, an approximately straight trend on a semi-log plot can suggest exponential behavior. Check the residuals and context to decide whether a plain or shifted exponential fits.
Read more examples in the exponential functions guide and logarithmic functions guide.
Build a complete AP model answer
- Choose the family. Use a rate, second difference, ratio or feature of the scatterplot. Compare outputs across equal input intervals when using differences or ratios.
- Write the prediction. Give the equation or the value with its units. State what the variables represent and use full calculator precision until rounding.
- Support the conclusion. Refer to the table or describe the residual pattern. Explain overestimation or underestimation using the observed and predicted values at the same input.
- Limit the model. State where the fit is supported and name a relevant assumption, such as a growth factor continuing over the measured period.
Topic 1.13 connects model choice to assumptions, and Topic 1.14 covers constructing and using models. Topics 2.5 and 2.6 apply these skills to exponential data and competing fits. Topic 2.15 connects exponential models to semi-log plots. The formulas for and are supporting statistics for this lesson. On AP function-model questions, explain the evidence requested in the prompt.
Practice with worked answers
Write your answer and one piece of evidence before opening the solution.
1. A model predicts visits and the actual value is . Find the residual and interpret it.
The residual is visits. The model overestimates by visits.
2. A residual is points and the prediction is points. What was observed?
Add the residual to the prediction. The observed value is points.
3. Consecutive outputs are every one input unit. Which model fits this pattern?
The first differences are all . Use a linear model with slope output units per input unit.
4. Consecutive outputs are at equal input steps. Which model fits?
First differences are . The second differences all equal , so a quadratic fits this pattern.
5. Outputs are at successive unit inputs. Give the model type and multiplier.
The ratios , , and equal . This is exponential decay with multiplier per step, corresponding to a decrease.
6. A linear fit gives , with positive residuals at both ends and negative residuals in the middle. Is the line appropriate?
The residuals show a systematic curve, so the line misses in different directions across the range. Compare a curved model and check its residuals even though the linear is high.
7. For the fitted line , predict the score at hours. If the observed score is , find the error.
The predicted score is points. The residual is points, so the absolute error is points.
8. If for a simple least-squares line with an intercept, interpret .
. The line accounts for of the observed response variability. The negative sign of describes the direction.
9. A base- transformed line is . Find the original multiplier.
Raise to both sides. Then , so the multiplier is .
10. A model is fitted with observations from day to day . Classify predictions for day and day .
Day is inside the range, so it is interpolation if a fractional day makes sense in the situation. Day is extrapolation because it is outside the observed range.
Official AP Precalculus questions and resources
Start with the sample residual-plot question. Then practise using table values to name a model and giving a contextual reason for where a prediction overestimates.
- Course framework · Topic 2.6, Competing Function Model Validation
- College Board sample Question 11 · Read a residual plot
- 2025 FRQ Question 1(C) · Justify a model from a table · 2025 scoring guidelines
- 2026 FRQ Question 2 · Exponential model, overestimation and domain · 2026 guidance for B(iii)
Need help with bivariate statistics?
A NUM8ERS tutor can practise model choice, calculator regressions and residual interpretation with you.
Book a free consultationPrepared by NUM8ERS using the AP Precalculus framework effective Fall 2026.