[Numpy-discussion] Polyfit

Charles R Harris charlesr.harris@gmail....
Mon Jun 16 14:39:12 CDT 2008


On Mon, Jun 16, 2008 at 1:30 PM, Chandler Latour <deathicrow@gmail.com>
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 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.
>

You mean fit a line passing through the origin?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080616/24654f74/attachment.html 


More information about the Numpy-discussion mailing list