onlineregression11:   One-predictor-variable linear regression   ⇒   y = f(x)


Formulas

β = [Σ(xy)-(ΣxΣy)/n]/{Σ(x2)-[(Σx)2/n]}

α = [Σy-(βΣx)]/n

Reference


SAMPLE INPUT:

Array size n:   15

Paired values of arrays y and x (you can cut and paste sample arrays into form):

y:     89,51,72,112,70,45,42,59,100,92,70,42,92,130,89

x:     110,42,75,120,89,32,37,56,82,90,50,30,81,110,76


SAMPLE OUTPUT:

α = 18.788       β = 0.8084       standard deviation σx = 29.568       standard deviation σy = 26.589

Correlation coeficient r = 0.899       standard error of estimate se = 12.080


Thank you for running onlineregression11.   Please call again.   [070417]