Re: [Numpy-discussion] Polyfit

2008-06-16 Thread Chandler Latour
08 at 9:25 PM, Charles R Harris <[EMAIL PROTECTED] > wrote: On Mon, Jun 16, 2008 at 1:47 PM, Chandler Latour <[EMAIL PROTECTED]> wrote: Yes, exactly what I meant. Polyfit just fits polynomials, there is no way of fixing the constant to zero. Your best bet is to use linalg.lstsq

Re: [Numpy-discussion] Polyfit

2008-06-16 Thread Chandler Latour
Yes, exactly what I meant. On Jun 16, 2008, at 2:39 PM, Charles R Harris wrote: On Mon, Jun 16, 2008 at 1:30 PM, Chandler Latour <[EMAIL PROTECTED]> wrote: Hello, I'm new to the whole numpy scene, but I've been wanting to run a regression on some data. I belive that po

[Numpy-discussion] Polyfit

2008-06-16 Thread Chandler Latour
Hello, I'm new to the whole numpy scene, but I've been wanting to run a regression on some data. I belive that polyfit is the way to go, but I was wondering if there exists a way to force the intercept to be 0. Any help would be much appreciated. Thanks ___