Velocity Reviews > Linear regression in 3 dimensions

# Linear regression in 3 dimensions

wirecom@wirelessmeasurement.com
Guest
Posts: n/a

 09-02-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

John Machin
Guest
Posts: n/a

 09-02-2006

http://www.velocityreviews.com/forums/(E-Mail Removed) 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" ...

 Thread Tools

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Krzysztof Bieniasz Python 0 02-14-2011 09:24 PM Nod Lee ASP .Net 1 01-09-2007 01:44 PM Jianzhong Liu Python 1 12-05-2006 06:50 PM Robert Kern Python 5 09-14-2006 11:28 PM nikie Python 15 03-24-2006 09:39 PM

Advertisments