Multiple Linear Regression


About this calculator

Enter your values for the independent variables xi and the dependent variable y below (leave the last column blank -- this will show the values predicted by the regression model). Arithmetic expressions such as 2/3 or 3+(4*pi) are fine.

You need not use all the columns; for example, if you have two independent variables, then use only x1, x2, and y.

When done, press the " y = a + b(x1) + c(x2) + d(x3) + e(x4) " button.

Note The number of data points should be at least one more than the number of independent variables you use. For instance, if you are using two independent variables (x1 and x2), you should enter at lesat 3 data points.

Accuracy The algorithm is written to round all output to five significant digits. Further, all numbers of magnitude less that 10-12 are presented as zero.

Multiple Regression Calculator


Regression formula will appear here:

x1
Value
x2
Value
x3
Value
x4
Value
y
Value
Predicted
Value

Javascript source code Copyright © 1997 Stefan Waner and Steven R. Costenoble, and used by permission of the authors.