← HiSET Prep

HiSET: Choose a trend line that fits the displayed data

Updated November 25, 2026

Step 1 of 7

Which proposed line has the smallest prediction errors?

Short answer

At each observed input, subtract the predicted value from the observation. Square and sum those residuals to compare the lines under the stated rule.

Know first: A line as a prediction rule, Signed differences and squares

A scatterplot shows how two numerical quantities occur together. You need coordinates, a line equation and signed differences to compare candidate models. First describe the visible direction, then estimate a rate and intercept. A line summarizes a pattern; it need not pass through every dot. A best-fit claim also depends on the comparison rule, which the question must specify if an exact choice is required.

Step 2 of 7

Follow the worked solution

Original scatterplot: training hours0,1,2,3,4 and tasks completed2,4,5,8,9.Training hours (x)Tasks completed (y)012340246810

Worked example: Best fit selection

An original scatterplot has points(0,2),(1,4),(2,5),(3,8),(4,9). Choose the listed line with the smallest sum of squared vertical errors at these five x-values.

  1. Ay=x+2
  2. By=(9/5)x+2
  3. Cy=(5/2)x+2
  4. Dy=(9/5)x+28/5
  5. Ey=−(9/5)x+9
  1. 1

    Set up the problem

    At each observed input, subtract the predicted value from the observation. Square and sum those residuals to compare the lines under the stated rule.

  2. 2

    Work through the case

    For y=(9/5)x+2, predictions are 2,3.8,5.6,7.4,9.2; squared errors total 4/5. Other listed totals are 20,31/2,328/5 and 653/5. A negative slope contradicts the rising pattern. The intercept 28/5 is the mean y, not the line’s value at x=0.

Answer

y=(9/5)x+2

Wrong: Choose the line whose positive and negative residuals sum to zero.

Right: Square the residuals before adding them when the criterion is squared error.

Opposite errors can cancel in a signed sum even when both predictions are far from the observations.

Step 3 of 7

Apply the idea in related situations

Original scatterplot: training hours0,1,2,3,4 and tasks completed2,4,5,8,9.Training hours (x)Tasks completed (y)012340246810

Consider these pairs (0, 2),(1, 4),(2, 5),(3, 8),(4, 9), where x is training hours and y tasks completed. The dots trend upward roughly two tasks per additional hour, starting near two tasks at zero hours. A negative-slope line conflicts with that direction. A line y=x+2 rises too slowly across the displayed range. The candidate y=(9/5)x+2 follows the center of the dots rather than an extreme point.

A residual is the observed value minus the value predicted by the line.

To compare the lines, square each vertical error and add the results. This candidate predicts 2, 19/5, 28/5, 37/5, 46/5 at x=0, 1, 2, 3, 4. Observed minus predicted errors are 0, 1/5, −3/5, 3/5, −1/5. Squaring and adding gives (0+1+9+9+1)/25=4/5.

The candidate y=x+2 instead has errors 0, 1, 1, 3, 3 and total squared error 20.

A steeper line, y=(5/2)x+2 produces 0, −1/2, −2, −3/2, −3, with squared sum 31/2. The shallow first alternative is therefore worse than the selected line even though it passes through the first observation.

Step 4 of 7

Compare candidate lines

The mean of the y-values is 28/5, but that does not automatically make it the intercept. A line with slope 9/5 and intercept 28/5 lies 3.6 above the selected line at every input, increasing its squared error to 328/5.

The negative line y=−(9/5)x+9 gives squared error 653/5. Checking every listed candidate establishes the best listed fit; it does not establish a causal effect of training, which would require evidence about assignment and other explanations. The question asks for the smallest squared vertical error among the displayed options rather than for a guarantee about new people.

Consider dots (0, 1),(1, 3),(2, 4). Compare y=(3/2)x+1 with y=x+1 under the same rule. The first predicts 1, 5/2, 4, giving squared error 1/4. The second predicts 1, 2, 3, giving squared error 2, so the first fits better among these two. Its slope means 1.5 tasks per additional hour in the model; its intercept 1 is a predicted zero-hour value. Check both interpretations against the labels, and avoid predicting far outside the observed range without further evidence. A good explanation combines the visible direction with the actual residual comparison, rather than choosing a line by appearance alone.

Step 5 of 7

Solve and check two new cases

Check yourself · Question 1

A line predicts 14 books sold at a certain hour. The actual count is 10. With residual defined as observed minus predicted, what is the residual?

A−4
B0
C4
D16
E24

Answer: A

Subtract prediction from observation: 10 − 14 = −4. The point lies below the line.

Trap answer: 24

Interpreting the conditions

Why it looks right
Observation and prediction both use books, so adding the two quantities is defined even though it measures no discrepancy.
Why it's wrong
This adds the observation and prediction.
The right answer
Subtract prediction from observation: 10 − 14 = −4. The point lies below the line.

Check yourself · Question 2

Three observations have residuals −2, 1 and 3. What is the sum of squared residuals?

A2
B4
C6
D10
E14

Answer: E

Square first and add: 4 + 1 + 9 = 14.

Common mistake

Choose the line whose positive and negative residuals sum to zero.

Why it's tempting
Opposite errors can cancel in a signed sum even when both predictions are far from the observations.
Do this instead
Square the residuals before adding them when the criterion is squared error.

Step 6 of 7

Take the method with you

Remember

  1. Use observed and predicted outputs at the same input.
  2. Use the error rule the question actually specifies.
  3. Check all listed candidates and interpret a fit only within the available data.

Step 7 of 7

Practice on a real question

Try the question, then open the explanation. Enable JavaScript to check answers and save progress.

At three equally spaced times, an instrument reads 5, 8 and 8 units. Line A predicts 4, 7 and 10 at those times. Line B predicts 5, 7 and 9. By how much is the larger sum of squared residuals greater than the smaller one?

  1. A
    0
  2. B
    2
  3. C
    3
  4. D
    4
  5. E
    6
Check the answer and explanation

Answer: D. 4

Line A has residuals 1, 1 and −2, whose squares sum to 6. Line B has residuals 0, 1 and −1, whose squares sum to 2. The larger total exceeds the smaller one by 4 squared units. 0: The signed residuals cancel for both lines; squaring the individual residuals gives different totals. 2: This is line B’s squared-error total alone. 3: There are three observations, but their residuals have different magnitudes. 6: This is line A’s squared-error total alone.

In your own words

Show one observation where the two lines predict different values. How much does that observation contribute to each total?

Back to the course

Related Resources