A school canteen sells more cold drinks on hot days.
3 lessons, about 1 h 20 min3 simulations10 problems3 practice questionsPython in every lesson
A straight line through a scatter plot lets us predict. But which line? This lesson measures how far each point misses a line, its residual, and explains why the best line makes the sum of the squared residuals as small as possible.
The least-squares line has a simple recipe: the slope is times the ratio of the standard deviations, and the line passes through the point of the means. This lesson builds the line, reads its slope and intercept in words, and shows why a prediction far outside the data can be nonsense.
Residuals are the leftovers after the line has done its work. Plotted against , they show whether a straight line was the right choice. This lesson reads residual plots and introduces , the share of the variation in that the line accounts for.
Log in to join the discussion.
Loading…