Linear regression in 3 dimensions

Discussion in 'Python' started by wirecom@wirelessmeasurement.com, Sep 2, 2006.

  1. Guest

    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, 2006
    #1
    1. Advertising

  2. John Machin Guest

    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" ...
    John Machin, Sep 2, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. nikie

    Linear regression in NumPy

    nikie, Mar 17, 2006, in forum: Python
    Replies:
    15
    Views:
    13,650
    nikie
    Mar 24, 2006
  2. Robert Kern

    Re: Linear regression in 3 dimensions

    Robert Kern, Sep 2, 2006, in forum: Python
    Replies:
    5
    Views:
    2,303
    David J. Braden
    Sep 15, 2006
  3. Nod Lee

    linear regression in webform

    Nod Lee, Jan 9, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    347
    Cowboy \(Gregory A. Beamer\)
    Jan 9, 2007
  4. Jianzhong Liu

    Linear regression in NumPy

    Jianzhong Liu, Dec 5, 2006, in forum: Python
    Replies:
    1
    Views:
    689
  5. Krzysztof Bieniasz

    Re: Non-linear regression help in Python

    Krzysztof Bieniasz, Feb 14, 2011, in forum: Python
    Replies:
    0
    Views:
    594
    Krzysztof Bieniasz
    Feb 14, 2011
Loading...

Share This Page