Implement noncentral binomial confidence intervals using the Neyman construction.
The Sorter class gives the ordering of points, i.e. it must be a functor implementing a greater-than relationship between two prob_helper instances. See feldman_cousins for an example.
Definition at line 70 of file TEfficiencyHelper.h.
Public Member Functions | |
BinomialNeymanInterval () | |
void | Calculate (const double X, const double n) |
bool | Find_rho_set (const double rho, const int ntot, int &x_l, int &x_r) const |
void | Init (double alpha) |
double | Lower () const |
bool | Neyman (const int ntot, const int nrho, double *rho, double *x_l, double *x_r) |
double | Upper () const |
Private Member Functions | |
void | Set (double l, double u) |
Private Attributes | |
double | fAlpha |
double | fLower |
Sorter | fSorter |
double | fUpper |
|
inline |
Definition at line 73 of file TEfficiencyHelper.h.
|
inline |
Definition at line 128 of file TEfficiencyHelper.h.
|
inline |
Definition at line 85 of file TEfficiencyHelper.h.
|
inline |
Definition at line 79 of file TEfficiencyHelper.h.
|
inline |
Definition at line 163 of file TEfficiencyHelper.h.
|
inline |
Definition at line 115 of file TEfficiencyHelper.h.
|
inlineprivate |
Definition at line 174 of file TEfficiencyHelper.h.
|
inline |
Definition at line 164 of file TEfficiencyHelper.h.
|
private |
Definition at line 172 of file TEfficiencyHelper.h.
|
private |
Definition at line 169 of file TEfficiencyHelper.h.
|
private |
Definition at line 167 of file TEfficiencyHelper.h.
|
private |
Definition at line 170 of file TEfficiencyHelper.h.