DEFINITION of 'Least Squares'
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 'Least Squares'
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.

Residual Sum Of Squares  RSS
A statistical technique used to measure the amount of variance ... 
Sum Of Squares
A statistical technique used in regression analysis. The sum ... 
Stepwise Regression
The stepbystep iterative construction of a regression model ... 
Statistics
A type of mathematical analysis involving the use of quantified ... 
Autoregressive
A stochastic process used in statistical calculations in which ... 
Regression
A statistical measure that attempts to determine the strength ...

Investing Basics
Calculating Beta: Portfolio Math For The Average Investor
Beta is a useful tool for calculating risk, but the formulas provided online aren't specific to you. Learn how to make your own. 
Investing Basics
Regression Basics For Business Analysis
This tool is easy to use and can provide valuable information on financial analysis and forecasting. Find out how. 
Options & Futures
Bettering Your Portfolio With Alpha And Beta
Increase your returns by creating the right balance of both these risk measures. 
Mutual Funds & ETFs
Analyzing Mutual Funds For Maximum Return
Using a few simple metrics will help you pick the right fund for your portfolio. 
Active Trading
The Linear Regression Of Time and Price
This investment strategy can help investors be successful by identifying price trends while eliminating human bias. 
Economics
Where do funds report their rsquared?
Learn where to find Rsquared calculations for mutual funds. Explore Rsquared, Alpha and Beta and how these calculations measure securities' performance. 
Fundamental Analysis
How do you calculate rsquared in Excel?
Calculate Rsquared in Microsoft Excel by creating two data ranges to correlate. Use the Correlate formula to correlate both sets of data, or x and y. 
Fundamental Analysis
What are the most common issues with Serial Correlation in stocks?
Read about the concept of serial correlation in stock returns, and learn why market analysts are divided about the efficacy of trading based on stock patterns. 
Trading Strategies
How far back in a stock's history should you go when gauging its volatility?
Discover why it can be difficult for investors to figure out how far back to go into a stock's history when gauging its volatility. 
Trading Strategies
What are common examples of Serial Correlation in finance?
Take a deeper look at serial correlation in finance, and find out why most attempts at discovering serial correlation among asset prices have failed.