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 ... 
Regression
A statistical measure that attempts to determine the strength ... 
Autoregressive
A stochastic process used in statistical calculations in which ...

How do I use the rule of 72 to estimate compounding periods?
The rule of 72 is best used to estimate compounding periods that are factors of two (2, 4, 12, 200 and so on). This is because ... Read Full Answer >> 
How can I use Bollinger Bands® to spot options trading opportunities?
Traders can use Bollinger Bands in a couple of different types of trading strategies. The most common strategy is using Bollinger ... Read Full Answer >> 
How can I run linear and multiple regressions in Excel?
The first step in running regression analysis in Excel is verifying that your software has the capabilities to perform the ... Read Full Answer >> 
How do I calculate the rule of 72 using Matlab?
In finance, the rule of 72 is a useful shortcut to assess how long it takes an investment to double given its annual growth ... Read Full Answer >> 
How do I calculate the standard error using Matlab?
In statistics, the standard error is the standard deviation of the sampling statistical measure, usually the sample mean. ... Read Full Answer >> 
How do I use the rule of 72 to calculate continuous compounding?
The rule of 72 is a mathematical shortcut used to predict when a population, investment or other growing category will double ... Read Full Answer >>

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. 
Fundamental Analysis
Explaining the Empirical Rule
The empirical rule provides a quick estimate of the spread of data in a normal statistical distribution. 
Economics
Explaining Demographics
Demographics is the study and categorization of people based on factors such as income level, education, gender, race, age, and employment. 
Fundamental Analysis
Calculating Degree of Financial Leverage
Degree of financial leverage (DFL) is a metric that measures the sensitivity of a company’s operating income due to changes in its capital structure. 
Fundamental Analysis
Calculating the Present Value of an Annuity
The present value of an annuity is the current, lump sum value of periodic future payments as calculated using a specific rate. 
Fundamental Analysis
How Does Sampling Work?
Sampling is a term used in statistics that describes methods of selecting a predefined representative number of data from a larger data population.