DEFINITION
A statistical method used to determine a line of best fit by minimizing the sum of squares created by a mathematical function. A "square" is determined by squaring the distance between a data point and the regression line. The least squares approach limits the distance between a function and the data points that a function is trying to explain. It is used in regression analysis, often in nonlinear regression modeling in which a curve is fit into a set of data.INVESTOPEDIA EXPLAINS
The least squares approach is a popular method for determining regression equations. Instead of trying to solve an equation exactly, mathematicians use the least squares to make a close approximation (referred to as a maximumlikelihood estimate). Modeling methods that are often used when fitting a function to a curve include the straight line method, polynomial method, logarithmic method and Gaussian method.RELATED TERMS

Sum Of Squares
A statistical technique used in regression analysis. The sum of squares is a ... 
Residual Sum Of Squares  RSS
A statistical technique used to measure the amount of variance in a data set ... 
Stepwise Regression
The stepbystep iterative construction of a regression model that involves ... 
Autoregressive
A stochastic process used in statistical calculations in which future values ... 
Regression
A statistical measure that attempts to determine the strength of the relationship ... 
Statistics
A type of mathematical analysis involving the use of quantified representations, ... 
Compound Annual Growth Rate  CAGR
The yearoveryear growth rate of an investment over a specified period of time. ... 
MeanVariance Analysis
The process of weighing risk against expected return. Mean variance analysis ... 
Systematic Sampling
A type of probability sampling method in which sample members from a larger ... 
Variance
The spread between numbers in a data set, measuring Variance is calculated by ...
Related Articles

Investing Basics
Calculating Beta: Portfolio Math For ...

Investing Basics
Regression Basics For Business Analysis

Options & Futures
Bettering Your Portfolio With Alpha ...

Mutual Funds & ETFs
Analyzing Mutual Funds For Maximum Return

Active Trading
The Linear Regression Of Time and Price

Personal Finance
What are the odds of getting a perfect ...

Technical Indicators
What's the difference between Bollinger ...

Bonds & Fixed Income
Accelerating Returns With Continuous ...

Fundamental Analysis
Calculating Covariance For Stocks

Investing Basics
Seven Market Anomalies Investors Should ...