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

Home » Public Forums » archive » SVDFIT Problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: SVDFIT Problems [message #32043 is a reply to message #31937] Fri, 06 September 2002 10:08 Go to previous messageGo to previous message
William Clodius is currently offline  William Clodius
Messages: 30
Registered: December 1996
Member
Bill wrote:<snip>

>
> This discussion then promted me to look more closely at IDL's code. In that code
> the determination of singularity uses the condition
> small = where(VARIANCE lt max(VARIANCE)*THRESH, count)
> where apparently THRESH is intended to replace Numerical Recipe's TOL. However in
> my old Fortran version of Numerical Recipes, (I don't have a C version readilly
> available), the conddition is acctually equivalent to
> small = where(SINGULAR_VALUE lt max(SINGULAR_VALUE)*TOL, count)
> While the variance is related to the singular value through, the V matrix they are
> not linearly related (the variance is linearly related to the INVERSE SQUARES of
> the singular values) and there is no reason to expect that the two conditions
> would be equivalent. The call to NR__SVDFIT that does the actual fitting in
> SVDFIT does not return the singular value matrix or the V matrix so I cannot
> currently do a detailed analysis, but I suspect the comparison is incorrect.

As I seem to be in a posting mood note that
small = where(VARIANCE lt max(VARIANCE)*THRESH, count)
identifes as small those quantities with the smallest magnitude variances. If
relative magnitude (i.e., units) can be ignored, the current code reports as singular
precisely those quantities that are best determined given the uncertainties in the
input data, while singular is intended to identify those quantities that may be badly
determined due to numerical problems.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: hello
Next Topic: sec : U Re: having IDL output to another X11 window

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

Current Time: Thu Oct 09 14:56:15 PDT 2025

Total time taken to generate the page: 1.20179 seconds