Power of test 1-β

Hi

I would like to ask, if there is implemented a method for calculating the power of the test 1-β … If yes, can you point it out for me ??

Thanks in advance!

Alex

Hi,
yes , in ROOT classes doing hypothesis alculate normally the p values of the null and alternate hypothesis and from these you can derive the power (1-beta).
So it will depend on the test you are doing,

Best Regards

Lorenzo

Hi

Thanks for this ! Can you point me to an example? Would be obliged !

Cheers

Alex

See the HybridCalculator class of RooStats which perform an hypothesis tests (S+B vs B) for some given test statistics (number of events, likelihood ratio, profile likelihood ratio, etc…)
see
root.cern.ch/root/htmldoc/RooSta … ginal.html

and tutorial example

root.cern.ch/root/html/tutorials … tor.C.html

Lorenzo

Thanks a lot!!! This is really helpful !

Alex