M7-Quantitative Decision Methods-S6 - Regression

From knowledgebase
Revision as of 08:04, 25 August 2020 by Dirkjan (talk | contribs) (Created page with "A linear regression line in a scatter dataset can be calculated as follows: <math>y = ax + b</math> <math>\huge b = \frac {n \sum xy - \sum x \sum y }{n \sum x^2 - (\sum x)^2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A linear regression line in a scatter dataset can be calculated as follows:

Failed to parse (unknown function "\huge"): {\displaystyle \huge b = \frac {n \sum xy - \sum x \sum y }{n \sum x^2 - (\sum x)^2}}

This is based on regression of the vertical distances of the points in the dataset. If you would draw the line based on the horizontal distances it would be:

Failed to parse (unknown function "\huge"): {\displaystyle \huge b = \frac {n \sum xy - \sum x \sum y }{n \sum y^2 - (\sum y)^2}}