Let us apply the least-squares formulae to a small set of data.
Example
Given the points , , , , : Line: .
The graph shows the data (in red), the regression line (in blue) and the centroid through which the line passes (in green).
The five experimental points, the least-squares line and the centroid of the data.
Links
Topics: Radicals
Concepts: Least squares · Linear regression
Skills: Calculating · Interpreting a graph · Plotting a graph