Xi-square test, mathematical treatment

someone can give some link with information in how the function

h1->Chi2Test(h2,“UW P”,res); works? i want to know how a test of independence is performed between two curves. is there some academic text?. cheers

TH1::Chi2Test

Thank you! so much!.

just in case i need to ask you how some code works if a want to retrieve information from TEficiency histograms (h1 and h2) and perform the Xi-test

h22=h2.GetCopyPassedHisto()
        h222=h2.GetCopyTotalHisto()
        h22.Divide(h222)

        h11=h1.GetCopyPassedHisto()
        h111=h1.GetCopyTotalHisto()
        h11.Divide(h111)

        chi21=h22.Chi2Test(h11, "CHI2/NDF P")

how does ‘GetCopyPassedHisto’ and ‘GetCopyTotalHisto’ work?

Cheers

TEfficiency → VI. Further operations → VI.1 Information about the internal histograms

TEfficiency::GetCopyPassedHisto

TEfficiency::GetCopyTotalHisto

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.