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 x

_{i}, y: mean values of all y

_{i}

β

_{1}= Σ[(x

_{i}−x)*(y

_{i}−y)] / Σ(x

_{i}−x)²

β

_{0}= y − β

_{1}*x

f = β

_{0}+ β

_{1}x

_{i}

© Jumk.de Webprojects | Imprint & Privacy | German: Korrelation

↑ top ↑