# Least-Squares Line

Pronunciation: /list skwɛərz laɪn/ Explain

A least-square line is a line that minimizes the distance between the data points it represents and the line itself. Manipulative 1 is an example of a least squares line fitted to data.

 Click on the blue points and drag them to change the figure. Move the points to create a near-vertical line. Move the points to create a near-horizontal line. Manipulative 1 - Least Squares Line Created with GeoGebra.

### How to Calculate a Least Squares Line

In the equations, N is the number of points. x is the x-coordinate of a point. y is the y-coordinate of a point. All calculated amounts are approximate.

Legendx y x2 xy
A0.3 1.80.09 0.54
B0.8 2.20.64 1.76
C1.9 2.63.61 4.94
D2.2 2.14.84 4.62
E3.3 2.910.89 9.57
F3.9 2.515.21 9.75
Sum12.414.1 35.2831.18   1. McAdams, David E.. All Math Words Dictionary, least-squares line. 2nd Classroom edition 20150108-4799968. pg 107. Life is a Story Problem LLC. January 8, 2015. Buy the book

McAdams, David E. Least-Squares Line. 4/24/2019. All Math Words Encyclopedia. Life is a Story Problem LLC. http://www.allmathwords.org/en/l/leastsquareline.html.

### Revision History

4/24/2019: Changed equations and expressions to new format. (McAdams, David E.)
12/21/2018: Reviewed and corrected IPA pronunication. (McAdams, David E.)