Linear regression in 3 dimensions

wirecom at wirelessmeasurement.com wirecom at wirelessmeasurement.com
Sat Sep 2 03:06:44 EDT 2006


Hi all,

I am seeking a module that will do the equivalent of linear regression in
3D to yield a best fit a plane through a set of points (X1, Y1, Z1), (X1,
Y1, Z1),... (Xn, Yn, Zn).

The resulting equation to be of the form:

 Z = aX + bY + c

The function I need would take the set of points and return a,c & c Any
pointers to existing code / modules would be very helpful.

Many thanks,
JAZZ



More information about the Python-list mailing list