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

Home » Public Forums » archive » Re: Linear fit with user defined weights
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: Linear fit with user defined weights [message #67248] Sat, 18 July 2009 02:43 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Jul 16, 2:03 pm, loknath <ladhik...@gmail.com> wrote:
> Hi,
> Is there a way to calculate the best fit curve for linear fit with
> user defined weights? I looked up linfit, but it does not take weight.
> Ladfit also does not take user defined weights.

Wayne's solution is a fine one. If you insist on using weights
explicitly, you can use MPFITFUN() with the WEIGHTS= keyword.
http://purl.com/net/mpfit

Happy fitting,
Craig
[Message index]
 
Read Message
Read Message
Previous Topic: Re: SIZE() vs. N_ELEMENTS()
Next Topic: Re: Best form factor for a NetCDF package of a dataset

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

Current Time: Fri Oct 10 14:28:37 PDT 2025

Total time taken to generate the page: 2.16015 seconds