Hi Angela, TH1::KolmogorovTest cannot work for TProfile. A proper TProfile::KolmogorovTest function should be implemented. I dont't think that simply using GetBinEntries instead of GetBinContent is the right solution. Comments on this are welcome. Rene Brun On Tue, 27 Aug 2002, Angela Wyatt wrote: > Hi, > > I was wondering if it was possible to use the KS test for a profile > histogram? I looked at the TH1::KolmogorovTest, but this uses the sum of > the BinContents rather than the BinEntries for the number of events. > > Also, when looking at 1d histograms, I get warning messages: > Warning in <TH1F::KolmogorovTest>: Weighted events and no Sumw2, > I think, from histograms that have under/overflows and so the number of > entries doesn't equal the sum of the bin contents (I'm not using the U/0 > option). It doesn't make any difference - but I test 1000's of histograms. > > Thanks, > Angela. > > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:08 MET