Difference between revisions of "M7-Quantitative Decision Methods-S6 - Regression"

From knowledgebase
Jump to navigation Jump to search
 
Line 1: Line 1:
−
M7-Quantitative Decision Methods-S6 - Regression
+
A linear regression line in a scatter dataset can be calculated as follows:
 +
 
 +
<math>y = ax + b</math>
 +
<math>b = \frac {n \sum xy - \sum x \sum y }{n \sum x^2 - (\sum x)^2}</math>
 +
 
 +
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:
 +
 
 +
<math>b = \frac {n \sum xy - \sum x \sum y }{n \sum y^2 - (\sum y)^2}</math>
 
[[Category:mbi]]
 
[[Category:mbi]]

Latest revision as of 20:00, 27 August 2020

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

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: