comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » linear regression
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
linear regression [message #3173] Tue, 22 November 1994 12:57
russell is currently offline  russell
Messages: 4
Registered: April 1994
Junior Member
Hi,

Just an easy question I think: Does anyone know which routinue is best for doing
simple linear regression? I basically need to draw a "best fit" line through a
scattering of data, but I also need the R^2 coefficient (i.e. the measure of how
good a fit) also computed. I've been looking at "svdfit" and "polyfit" but
neither as far as I can tell gives you r^2.


Thanks,
Russ
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Overplotting on several graphs
Next Topic: OPLOT in multiple plots

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:43:35 PDT 2025

Total time taken to generate the page: 0.00443 seconds