Re: [ROOT] fitting TGraphErrors object

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Feb 05 2003 - 21:10:37 MET


Hi Ed,

TGraph::Fit takes into account the errors specified in derived classes
like TGraphErrors and TGraphAsymmErrors by invoking the functions 
GetErrorX, GetErrory (see function GraphFitChisquare)

Rene Brun

On 
Wed, 5 Feb 2003, Ed Oltman wrote:

> Hello,
> 
>  I notice that TGraphErrors does not override the TGraph::Fit().  Does this
> mean that TGraphErrors::Fit() does not know about a TGraphError object's
> y-errors?   Is there an (easy) way to fit points (x_i, y_i, e_i) to a
> function y=f(x) where e_i is measurement error on y_i?  Thanks.
> 
> Ed Oltman
> 
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET