## Regression Formulas

The following formula are used for linear regression. In case of geometrical regression,
x and y have to be substituted by ln x and ln y. In case of exponential regression only y,
and in case of logarithmic regression only x has to be substituted.

### Formulas:

a = (Σy - b·Σx)/n
b = (n·Σxy - Σx·Σy)/(n·Σx² - Σx·Σx)
Coeff. of determination r² = h_{1}/h_{2}
Coeff. of correlation r = √r²
Variance s² = (h_{2;} - h_{1})/(n-2)
Standard deviation s = √s²
with h_{1} = b·(Σxy - 1/n·Σx·Σy) and h_{2} = Σy² - 1/n·Σy·Σy