Re: chi2test

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Fri, 13 Jul 2007 15:59:00 +0200


Assuming 2 histograms h1 and h2, do

   h1->GetXaxis()->SetRange(binfirst, binlast);    h1->Chi2Test(h2,..);

Rene

Shamim, Mansoora wrote:
> Hi ,
> Could someone please tell me how to restrict to the bins having entries above a certain number while doing the Chi2Test between a weighted(MC) and unweighted(data) histogram.
>
> Thanks in advance
> Mansoora
>
Received on Fri Jul 13 2007 - 15:59:06 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 13 2007 - 17:50:01 CEST