DEFINITION of 'Sum Of Squares'
A statistical technique used in regression analysis. The sum of squares is a mathematical approach to determining the dispersion of data points. In a regression analysis, the goal is to determine how well a data series can be fitted to a function which might help to explain how the data series was generated. The sum of squares is used as a mathematical way to find the function which best fits (varies least) from the data.
In order to determine the sum of squares the distance between each data point and the line of best fit is squared and then all of the squares are summed up. The line of best fit will minimize this value.
INVESTOPEDIA EXPLAINS 'Sum Of Squares'
There are two methods of regression analysis which use the sum of squares: the linear least squares method and the nonlinear least squares method. Least squares refers to the fact that the regression function minimizes the sum of the squares of the variance from the actual data points. In this way, it is possible to draw a function which statistically provides the best fit for the data. A regression function can either be linear (a straight line) or nonlinear (a curving line).

Line Of Best Fit
A straight line drawn through the center of a group of data points ... 
Least Squares Method
A statistical technique to determine the line of best fit for ... 
Residual Sum Of Squares  RSS
A statistical technique used to measure the amount of variance ... 
Stepwise Regression
The stepbystep iterative construction of a regression model ... 
Hedonic Regression
A method used to determine the value of a good or service by ... 
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. 
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. 
Budgeting
The P/E Ratio: A Good MarketTiming Indicator
Check out the returns this newer technical analysis tool would've yielded over the period from 1920 to 2003. 
Fundamental Analysis
Explaining the Monte Carlo Simulation
Monte Carlo simulation is an analysis done by running a number of different variables through a model in order to determine the different outcomes. 
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.