Correlation | Linear Regression
Calculator Linear Regression
Calculates the simple linear regression, i.e. a straight line that predicts the points of a data set with two sizes as well as possible. If you have two connected quantifiable characteristics, such as height and weight of people, and enter many different values of these sizes in a diagram, then the result is a point cloud in which the points are not randomly distributed, but have a direction. This direction can be represented by a straight line.
Please enter the values of the two characteristics separately. For each characteristic, the values must be separated from one another with a blank or a line break. The number of values per characteristic must be the same. The n-th value of the first feature belongs to the n-th value of the second feature. Example calculates with the size (in 1000 km²) and population (in millions) of some European countries.
The formulas are:
n: number of value pairs, Σ: sum i=1 to n
x: mean values of all xi, y: mean values of all yi
β1 = Σ[(xi−x)*(yi−y)] / Σ(xi−x)²
β0 = y − β1*x
f = β0 + β1xi
© Jumk.de Webprojects | Imprint & Privacy | German: Korrelation
↑ top ↑