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

Home » Public Forums » archive » least square error for a 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
least square error for a regression [message #41043] Wed, 15 September 2004 15:28
yaj is currently offline  yaj
Messages: 6
Registered: July 2004
Junior Member
Hello,
I am fitting a function of the form
ASin(wt + theta) + constant to a set of points. Instead of a readymade
fitting routine from IDL (to avoid any potential problems with small numbers
later), I use the three linear equations to minimize the least square error,
then use an IDL function to solve the matrix equation. Could someone suggest
a simple way to calculate the least squares error and goodness of fit using
some higher level IDL functions ?
Thanks in advance
Y. Bhattacharya
yajnaval_at-hotmail
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Saving Color Tables
Next Topic: least square error for a sinusoid

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

Current Time: Sat Oct 11 03:38:43 PDT 2025

Total time taken to generate the page: 1.36174 seconds