RE: Chi2Test

From: Rene Brun <brun_at_pcroot.cern.ch>
Date: Thu, 11 Aug 2005 08:46:36 +0200 (MEST)


Hi Jan,

On Wed, 3 Aug 2005, Jan Conrad wrote:

> Dear Root-developers,
>
> two suggestions:
>
> 1) it might be nice to have Chi2Test also return the Chi2/ndf (many
> people judge comparability
> directly on that figure). (Not only by the "P" option).

I have implemented your suggestion in TH1::Chi2Test and TH2::chi2Test. I have added two new options:

   // "Chi2" : the function returns the Chisquare instead of the probability

   // "Chi2/ndf" : the function returns the Chi2/ndf
>
> 2) having Chi2Test in place, maybe it is time to get rid of the
> Kolmogorov-Smirnov Test for
> histograms ?

I dont't think that users will appreciate this proposal. Could you comment on the relative merits/drawbacks of the two approaches. I will add your comment in the KolmogorovTest functions.

Rene Brun

>
> Best,
> Jan
>
>
>
>
Received on Thu Aug 11 2005 - 08:46:41 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET