Sum Of Squares

A A A

DEFINITION

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

There are two methods of regression analysis which use the sum of squares: the linear least squares method and the non-linear 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 non-linear (a curving line).


RELATED TERMS
  1. Line Of Best Fit

    A straight line drawn through the center of a group of data points plotted on ...
  2. Least Squares Method

    A statistical technique to determine the line of best fit for a model. The least ...
  3. Residual Sum Of Squares - RSS

    A statistical technique used to measure the amount of variance in a data set ...
  4. Stepwise Regression

    The step-by-step iterative construction of a regression model that involves ...
  5. Hedonic Regression

    A method used to determine the value of a good or service by breaking it down ...
  6. Autoregressive

    A stochastic process used in statistical calculations in which future values ...
  7. Regression

    A statistical measure that attempts to determine the strength of the relationship ...
  8. Multiple Linear Regression - MLR

    A statistical technique that uses several explanatory variables to predict the ...
  9. Compound Annual Growth Rate - CAGR

    The year-over-year growth rate of an investment over a specified period of time. ...
  10. Mean-Variance Analysis

    The process of weighing risk against expected return. Mean variance analysis ...
Related Articles
  1. Calculating Beta: Portfolio Math For ...
    Investing Basics

    Calculating Beta: Portfolio Math For ...

  2. Regression Basics For Business Analysis
    Investing Basics

    Regression Basics For Business Analysis

  3. Bettering Your Portfolio With Alpha ...
    Options & Futures

    Bettering Your Portfolio With Alpha ...

  4. The Linear Regression Of Time and Price
    Active Trading

    The Linear Regression Of Time and Price

  5. The P/E Ratio: A Good Market-Timing ...
    Budgeting

    The P/E Ratio: A Good Market-Timing ...

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

    What are the odds of getting a perfect ...

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

    What's the difference between Bollinger ...

  8. Accelerating Returns With Continuous ...
    Bonds & Fixed Income

    Accelerating Returns With Continuous ...

  9. Calculating Covariance For Stocks
    Fundamental Analysis

    Calculating Covariance For Stocks

  10. Seven Market Anomalies Investors Should ...
    Investing Basics

    Seven Market Anomalies Investors Should ...

comments powered by Disqus
Hot Definitions
  1. Cash and Carry Transaction

    A type of transaction in the futures market in which the cash or spot price of a commodity is below the futures contract price. Cash and carry transactions are considered arbitrage transactions.
  2. Amplitude

    The difference in price from the midpoint of a trough to the midpoint of a peak of a security. Amplitude is positive when calculating a bullish retracement (when calculating from trough to peak) and negative when calculating a bearish retracement (when calculating from peak to trough).
  3. Ascending Triangle

    A bullish chart pattern used in technical analysis that is easily recognizable by the distinct shape created by two trendlines. In an ascending triangle, one trendline is drawn horizontally at a level that has historically prevented the price from heading higher, while the second trendline connects a series of increasing troughs.
  4. National Best Bid and Offer - NBBO

    A term applying to the SEC requirement that brokers must guarantee customers the best available ask price when they buy securities and the best available bid price when they sell securities.
  5. Maintenance Margin

    The minimum amount of equity that must be maintained in a margin account. In the context of the NYSE and FINRA, after an investor has bought securities on margin, the minimum required level of margin is 25% of the total market value of the securities in the margin account.
  6. Leased Bank Guarantee

    A bank guarantee that is leased to a third party for a specific fee. The issuing bank will conduct due diligence on the creditworthiness of the customer looking to secure a bank guarantee, then lease a guarantee to that customer for a set amount of money and over a set period of time, typically less than two years.
Trading Center