47void rs_numbercountingutils()
77 double sExpected = 50;
78 double bExpected = 100;
79 double relativeBkgUncert = 0.1;
83 cout <<
"expected p-value ="<< pExp <<
" Z value (Gaussian sigma) = "<< zExp << endl;
87 double observed = 150;
90 cout <<
"observed p-value ="<< pObs <<
" Z value (Gaussian sigma) = "<< zObs << endl;
113 cout <<
"expected p-value ="<< pExpWithTau <<
" Z value (Gaussian sigma) = "<< zExpWithTau << endl;
119 cout <<
"observed p-value ="<< pObsWithTau <<
" Z value (Gaussian sigma) = "<< zObsWithTau << endl;
Double_t BinomialWithTauExpZ(Double_t sExp, Double_t bExp, Double_t tau)
Double_t BinomialObsZ(Double_t nObs, Double_t bExp, Double_t fractionalBUncertainty)
Double_t BinomialWithTauObsZ(Double_t nObs, Double_t bExp, Double_t tau)
Double_t BinomialWithTauObsP(Double_t nObs, Double_t bExp, Double_t tau)
Double_t BinomialObsP(Double_t nObs, Double_t, Double_t fractionalBUncertainty)
Double_t BinomialWithTauExpP(Double_t sExp, Double_t bExp, Double_t tau)
Double_t BinomialExpZ(Double_t sExp, Double_t bExp, Double_t fractionalBUncertainty)
Double_t BinomialExpP(Double_t sExp, Double_t bExp, Double_t fractionalBUncertainty)
@(#)root/roostats:$Id$ Author: George Lewis, Kyle Cranmer