468,746 Members | 1,855 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,746 developers. It's quick & easy.

Linear regression in 3 dimensions

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
Sep 2 '06 #1
1 4518

wi*****@wirelessmeasurement.com wrote:
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.
You don't mention what you found lacking in the several possibilities
thrown up by googling "linear regression python" ...

Sep 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Andrew Rich | last post: by
15 posts views Thread by nikie | last post: by
3 posts views Thread by sql guy123 | last post: by
13 posts views Thread by RS | last post: by
1 post views Thread by Nod Lee | last post: by
3 posts views Thread by ntuyen01 | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.