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

Home » Public Forums » archive » errors in robust_linefit
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: errors in robust_linefit [message #92273 is a reply to message #92272] Mon, 09 November 2015 08:26 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Monday, November 9, 2015 at 10:38:58 AM UTC-5, tfla...@gmail.com wrote:
> I guess that the coef_sig gives the error in the Yfit values....at least that's what I've got.

No the coef_sig parameter gives the error in the coefficients. Check the documentation
http://idlastro.gsfc.nasa.gov/ftp/pro/robust/robust_linefit. pro

IDL> x = findgen(10)
IDL> y = x + randomn(seed,10)*0.25
IDL> coeff = robust_linefit(x,y,yfit,sig,coef_sig)
IDL> print,coeff,coef_sig
-0.188812 1.02746
0.0756120 0.0212272
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Custom X Aix with Barplot
Next Topic: lambda function syntax

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

Current Time: Wed Oct 08 15:08:09 PDT 2025

Total time taken to generate the page: 0.00434 seconds