Search⌘ K

The Best-Fitting Line

Explore how the best-fitting line in regression is determined by minimizing the sum of squared residuals. Understand the concepts of fitted values and residuals, and learn to compute these measures using R and Tidyverse tools to assess model fit.

We'll cover the following...

Regression lines are also known as best-fitting lines. What do we mean by best? Let’s explore the criteria that’s used in regression to determine the concept of best. Recall that, for an instructor with a beauty score of𝑥=7.333𝑥 = 7.333, we mark the observed value yy with a circle, the fitted value y^\hat y ...