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 ... 
Regression
A statistical measure that attempts to determine the strength ...

What is the variance/covariance matrix or parametric method in Value at Risk (VaR)?
The parametric method, also known as the variancecovariance method, is a risk management technique for calculating the value ... Read Full Answer >> 
What is backtesting in Value at Risk (VaR)?
The value at risk is a statistical risk management technique that monitors and quantifies the risk level associated with ... Read Full Answer >> 
How much variance should an investor have in an indexed fund?
An investor should have as much variance in an indexed fund as he is comfortable with. Variance is the measure of the spread ... Read Full Answer >> 
Can the correlation coefficient be used to measure dependence?
The correlation coefficient can be used to measure the linear dependence between two random variables. The most common correlation ... Read Full Answer >> 
How do you calculate variance in Excel?
To calculate statistical variance in Microsoft Excel, use the builtin Excel function VAR. Given a set of numbers value1 ... Read Full Answer >> 
What's the difference between a confidence level and a confidence interval in Value ...
The value at risk (VaR) uses both the confidence level and confidence interval. A risk manager uses the VaR to monitor and ... 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 Expected Return
The expected return is a tool used to determine whether or not an investment has a positive or negative average net outcome. 
Fundamental Analysis
Explaining the Geometric Mean
The average of a set of products, the calculation of which is commonly used to determine the performance results of an investment or portfolio. 
Investing
The Labor Market Recovery’s Missing Ingredient
Job creation is running at the fastest pace since the 90s, and there is some evidence that wage growth is finally starting to accelerate, albeit modestly. 
Trading Strategies
Best Undergraduate Degrees For Day Traders
We look at some popular undergrad majors for those wanting to begin a career in the exciting world of fastpaced trading. 
Fundamental Analysis
Explaining Standard Error
Standard error is a statistical term that measures the accuracy with which a sample represents a population.