Skip to content
← All questions

How does least squares select a best-fit line for non-collinear data points?

Least squares selects a line by minimizing the sum of squared vertical residuals, rather than forcing every point onto the line.

Conditions

  • The data points are not exactly collinear.

Reasoning, step by step

  1. Identify that the data points are not exactly collinear.
  2. Define the objective as minimizing the sum of squared vertical residuals.
  3. Select the line that achieves this minimum.
  4. Avoid forcing every point onto the line.

Example

The script states: 'The data points are not exactly collinear. Least squares selects a line by minimizing the sum of squared vertical residuals, rather than forcing every point onto the line.'

Common misconceptions

  • Believing that least squares forces every point onto the line.
  • Thinking that the method minimizes horizontal residuals instead of vertical residuals.

Watch the explanation

Connected concepts

Explore next

Related questions

Understand why

↗
Meet the concept

↗
Find a method

↗
Meet the concept

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.