Skip to content
AP Statistics · Regression Analysis

Slope

Slope appears in 10 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 Slope is tested

Example 1Medium
For a dataset of 20 observations, the standard deviation of x is Sx = 4, the standard deviation of y is Sy = 10, and the correlation is r = 0.6. The mean of x is 5 and the mean of y is 30. What is the equation of the least-squares regression line?
  1. Ay-hat = 1.5x + 22.5Correct
  2. By-hat = 0.24x + 28.8
  3. Cy-hat = 0.6x + 27
  4. Dy-hat = 2.4x + 18

Why A is right

The slope is b1 = r*(Sy/Sx) = 0.6*(10/4) = 0.6*2.5 = 1.5. The intercept is b0 = y-bar - b1*x-bar = 30 - 1.5*5 = 30 - 7.5 = 22.5. So the LSRL is y-hat = 1.5x + 22.5.
Why the other 3 choices miss
B
Incorrect because this uses Sx/Sy instead of Sy/Sx in the slope formula: b1 = r*(Sx/Sy) = 0.6*(4/10) = 0.24, which is the slope of the regression of x on y, not y on x.
C
Incorrect because this uses r directly as the slope without multiplying by Sy/Sx, then adjusts the intercept accordingly.
D
Incorrect because this uses Sy/Sx without multiplying by r: slope = 10/4 = 2.5 is close but off, and the intercept calculation is also wrong.
Example 2Harder
A scatterplot shows a strong positive linear relationship with r = 0.95. The slope of the LSRL is b1 = 2.3. If the units of y are changed from meters to centimeters (multiply all y-values by 100), which of the following best describes the effect on r and b1?
  1. Ar remains 0.95; b1 becomes 230.Correct
  2. Br becomes 95 (multiplied by 100); b1 becomes 230.
  3. Cr remains 0.95; b1 remains 2.3.
  4. Dr becomes 0.0095; b1 becomes 0.023.

Why A is right

Correlation r is unitless and invariant to changes in scale (multiplying by a constant). So r remains 0.95. The slope b1 = r*(Sy/Sx): multiplying all y-values by 100 multiplies Sy by 100, so b1 becomes r*(100*Sy/Sx) = 100*(r*Sy/Sx) = 100*2.3 = 230. The intercept also changes, but the question asks about r and b1.
Why the other 3 choices miss
B
Incorrect because r is a dimensionless number between -1 and 1. Multiplying y by 100 does not change r; it only changes the slope and intercept. r = 95 is impossible.
C
Incorrect because multiplying all y-values by 100 does change the slope. The slope measures the change in y per unit change in x; if y is measured in cm instead of m, the slope must increase by a factor of 100.
D
Incorrect because the directions of the changes are reversed. Multiplying y by 100 increases both Sy and the slope by factor 100, not divides them by 100.
Example 3Harder
For a bivariate dataset, r = 0.6, Sy = 15, and Sx = 5. If a new dataset is created by doubling all x-values (and keeping y the same), what happens to the slope and the correlation?
  1. AThe slope is halved; r remains 0.6.Correct
  2. BThe slope remains the same; r doubles.
  3. CBoth the slope and r double.
  4. DThe slope doubles; r remains 0.6.

Why A is right

Doubling all x-values multiplies Sx by 2. New slope: b1_new = r*(Sy/Sx_new) = r*(Sy/(2*Sx)) = (1/2)*r*(Sy/Sx) = (1/2)*b1. So the slope is halved. Correlation r is scale-invariant — multiplying x by a positive constant does not change r. So r remains 0.6.
Why the other 3 choices miss
B
Incorrect because the slope does change when x is rescaled. Multiplying x by 2 changes Sx, which changes b1. The claim that the slope remains unchanged is false.
C
Incorrect because r is invariant to positive linear rescaling of x. Doubling x does not change r. Only the slope changes (is halved).
D
Incorrect because doubling x doubles Sx, and since slope = r*(Sy/Sx), a larger Sx means a smaller slope, not a larger one. The slope is halved, not doubled.

Studied alongside

Other concepts from Regression Analysis.