ROOT   Reference Guide
RooStats::NumberCountingUtils Namespace Reference

## Functions

double BinomialExpP (double sExp, double bExp, double fractionalBUncertainty)
See BinomialExpP. More...

double BinomialExpZ (double sExp, double bExp, double fractionalBUncertainty)
Expected P-value for s=nullptr in a ratio of Poisson means. More...

double BinomialObsP (double nObs, double, double fractionalBUncertainty)
P-value for s=nullptr in a ratio of Poisson means. More...

double BinomialObsZ (double nObs, double bExp, double fractionalBUncertainty)
See BinomialObsP. More...

double BinomialWithTauExpP (double sExp, double bExp, double tau)
Expected P-value for s=nullptr in a ratio of Poisson means. More...

double BinomialWithTauExpZ (double sExp, double bExp, double tau)
See BinomialWithTauExpP. More...

double BinomialWithTauObsP (double nObs, double bExp, double tau)
P-value for s=nullptr in a ratio of Poisson means. More...

double BinomialWithTauObsZ (double nObs, double bExp, double tau)
See BinomialWithTauObsP. More...

## ◆ BinomialExpP()

 double RooStats::NumberCountingUtils::BinomialExpP ( double sExp, double bExp, double fractionalBUncertainty )

See BinomialExpP.

Definition at line 27 of file NumberCountingUtils.cxx.

## ◆ BinomialExpZ()

 double RooStats::NumberCountingUtils::BinomialExpZ ( double sExp, double bExp, double fractionalBUncertainty )

Expected P-value for s=nullptr in a ratio of Poisson means.

Here the background and its uncertainty are provided directly and assumed to be from the double Poisson counting setup described in the BinomialWithTau functions. Normally one would know tau directly, but here it is determined from the background uncertainty. This is not strictly correct, but a useful approximation.

Definition at line 124 of file NumberCountingUtils.cxx.

## ◆ BinomialObsP()

 double RooStats::NumberCountingUtils::BinomialObsP ( double nObs, double backgroundObs, double fractionalBUncertainty )

P-value for s=nullptr in a ratio of Poisson means.

Here the background and its uncertainty are provided directly and assumed to be from the double Poisson counting setup. Normally one would know tau directly, but here it is determined from the background uncertainty. This is not strictly correct, but a useful approximation.

Definition at line 88 of file NumberCountingUtils.cxx.

## ◆ BinomialObsZ()

 double RooStats::NumberCountingUtils::BinomialObsZ ( double nObs, double bExp, double fractionalBUncertainty )

See BinomialObsP.

Definition at line 135 of file NumberCountingUtils.cxx.

## ◆ BinomialWithTauExpP()

 double RooStats::NumberCountingUtils::BinomialWithTauExpP ( double sExp, double bExp, double tau )

Expected P-value for s=nullptr in a ratio of Poisson means.

Based on two expectations, a main measurement that might have signal and an auxiliary measurement for the background that is signal free. The expected background in the auxiliary measurement is a factor tau larger than in the main measurement.

Definition at line 72 of file NumberCountingUtils.cxx.

## ◆ BinomialWithTauExpZ()

 double RooStats::NumberCountingUtils::BinomialWithTauExpZ ( double sExp, double bExp, double tau )

See BinomialWithTauExpP.

Definition at line 129 of file NumberCountingUtils.cxx.

## ◆ BinomialWithTauObsP()

 double RooStats::NumberCountingUtils::BinomialWithTauObsP ( double nObs, double bExp, double tau )

P-value for s=nullptr in a ratio of Poisson means.

Based on two observations, a main measurement that might have signal and an auxiliary measurement for the background that is signal free. The expected background in the auxiliary measurement is a factor tau larger than in the main measurement.

Definition at line 109 of file NumberCountingUtils.cxx.

## ◆ BinomialWithTauObsZ()

 double RooStats::NumberCountingUtils::BinomialWithTauObsZ ( double nObs, double bExp, double tau )

See BinomialWithTauObsP.

Definition at line 140 of file NumberCountingUtils.cxx.