[Numpy-discussion] Line of best fit!

Alan G Isaac aisaac@american....
Tue Dec 9 08:30:05 CST 2008

On 12/8/2008 3:32 PM James apparently wrote:
> I have a very simple plot, and the lines join point to point, however i 
> would like to add a line of best fit now onto the chart, i am really new 
> to python etc, and didnt really understand those links!

See the `slope_intercept` method of the OLS class
at http://code.google.com/p/econpy/source/browse/trunk/pytrix/ls.py

Alan Isaac

More information about the Numpy-discussion mailing list