Skip to content
AP Statistics · Regression Analysis

Linear-regression

Linear-regression appears in 3 reviewed AP Statistics questions and sits in Regression Analysis. Below are worked examples showing exactly how the exam tests it, with the answer marked and every distractor explained.

How Linear-regression is tested

Example 1Easier
In a regression analysis, the residual for a data point is defined as:
  1. Aobserved y − predicted yCorrect
  2. Bobserved y − mean of y
  3. Cobserved x − predicted x
  4. Dpredicted y − observed y

Why A is right

A residual is the difference between the observed response value (actual data point) and the predicted value from the regression line: residual = y − ŷ. Positive residuals indicate the point is above the line; negative residuals indicate it is below.
Why the other 3 choices miss
B
Incorrect because observed y − ȳ is a deviation from the mean (used in computing total sum of squares), not a residual from the regression line.
C
Incorrect because residuals are measured in the y-direction (vertical distance from the line), not in the x-direction. Simple linear regression minimizes vertical, not horizontal, distances.
D
Incorrect because predicted y − observed y gives the negative of the residual. By convention, residuals are computed as observed minus predicted.

Studied alongside

Other concepts from Regression Analysis.