#include <BinomialNoncentralInterval.h>
Public Member Functions | |
void | calculate (const double X, const double n) override |
bool | find_rho_set (const double rho, const int ntot, int &x_l, int &x_r) const |
bool | neyman (const int ntot, const int nrho, double *rho, double *x_l, double *x_r) override |
Public Member Functions inherited from BinomialInterval | |
double | alpha () const |
bool | contains (double rho) |
double | coverage_prob (const double rho, const int trials) |
void | dump (const int trials_min, const int trials_max) |
void | init (const double alpha, const tail_type t=equal_tailed) |
double | length () const |
double | lower () const |
virtual const char * | name () const =0 |
void | scan_ntot (const double rho, const int ntot_min, const int ntot_max, double *ntot, double *prob) |
void | scan_rho (const int ntot, const int nrho, double *rho, double *prob) |
double | upper () const |
virtual | ~BinomialInterval ()=default |
Private Attributes | |
Sorter | sorter_ |
Additional Inherited Members | |
Public Types inherited from BinomialInterval | |
enum | tail_type { equal_tailed, lower_tailed, upper_tailed } |
Protected Member Functions inherited from BinomialInterval | |
void | set (double l, double u) |
Protected Attributes inherited from BinomialInterval | |
double | alpha_ |
double | alpha_min_ |
double | kappa2_ |
double | kappa_ |
double | lower_ |
tail_type | type_ |
double | upper_ |
Definition at line 31 of file BinomialNoncentralInterval.h.
|
inlineoverridevirtual |
Implements BinomialInterval.
Definition at line 78 of file BinomialNoncentralInterval.h.
|
inline |
Definition at line 35 of file BinomialNoncentralInterval.h.
Referenced by BinomialNoncentralInterval< FeldmanCousinsSorter >::calculate(), and BinomialNoncentralInterval< FeldmanCousinsSorter >::neyman().
|
inlineoverridevirtual |
Reimplemented from BinomialInterval.
Definition at line 65 of file BinomialNoncentralInterval.h.
|
private |
Definition at line 113 of file BinomialNoncentralInterval.h.
Referenced by BinomialNoncentralInterval< FeldmanCousinsSorter >::find_rho_set().