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

Home » Public Forums » archive » curvefit question
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: CurveFit question [message #45775 is a reply to message #25763] Tue, 04 October 2005 19:29 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"ChiChiRuiz@gmail.com" <ChiChiRuiz@gmail.com> writes:
> I'm using Curvefit function to fit a set of data points to a Gaussian
> curve. One of the arguments of CURVEFIT is "weights". I'm not really
> clear as to what it is, and what the value should be in my case. Any
> advise?

It depends on what kind of statistics you have. Here are common
values of weights:

; 1D/ERR^2 - Normal weighting (ERR is the measurement error)
; 1D/Y - Poisson weighting (counting statistics)
; 1D - Unweighted

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: CurveFit question
Next Topic: HDF5 - Group or Dataset?

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

Current Time: Sun Nov 30 03:53:46 PST 2025

Total time taken to generate the page: 0.64295 seconds