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

Home » Public Forums » archive » poly_fit - yband
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: poly_fit - yband [message #87985 is a reply to message #87976] Mon, 10 March 2014 07:33 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Saturday, March 8, 2014 7:43:00 AM UTC-5, sid wrote:
> Hello everyone,
>
> I have x 80 integer values and y 80 values.
>
> I did,
>
> p=poly_fit(x,y,7,yband=e,yfit=y1)
>
>
>
> now I need y values at every 0.33 intervals so, now I have x with 238 values with 0.33 resolution earlier case the resolution was 1.
>
> Now for this 238 x values I have found 238 y values using the polynomial coefficients.
>
> But now the problem is how to find the error values, since I have yband = e (80 values). But I need to find the error values for all the 238 values.

If you decide to switch to the MPFIT family of functions, there is a routine MPPROPERR which can propagate errors of parameters to errors your model function. The included documentation describes what needs to be done.

Craig
http://www.physics.wisc.edu/~craigm/idl/fitting.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: cubic B-splines
Next Topic: Select Images based on vector/shapefile/ROI

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

Current Time: Wed Oct 08 13:58:10 PDT 2025

Total time taken to generate the page: 0.00390 seconds