npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::BinnedADTest1D Class Reference
Inheritance diagram for npstat::BinnedADTest1D:
npstat::AbsBinnedComparison1D

Public Member Functions

 BinnedADTest1D (bool useTwoSampleTest, AbsRandomGenerator *rng, unsigned mcSamplesForPValue=10000U)
 
virtual const char * name () const
 
- Public Member Functions inherited from npstat::AbsBinnedComparison1D
template<typename T1 , typename T2 >
void compare (const T1 *data, const T2 *reference, unsigned len, double *distance, double *pvalue) const
 

Additional Inherited Members

- Static Protected Member Functions inherited from npstat::AbsBinnedComparison1D
static unsigned long realToULong (const long double d)
 
static double pvalueByPseudo (const AbsDiscreteDistribution1DDistance &c, AbsRandomGenerator &rng, const DiscreteTabulated1D &data, double dataSampleSize, const DiscreteTabulated1D &reference, double refSampleSize, double observedDistance, unsigned nPseudo)
 

Constructor & Destructor Documentation

◆ BinnedADTest1D()

npstat::BinnedADTest1D::BinnedADTest1D ( bool  useTwoSampleTest,
AbsRandomGenerator rng,
unsigned  mcSamplesForPValue = 10000U 
)

If either rng pointer is NULL or mcSamplesForPValue is 0 then theoretical formulae are used as if the samples are unbinned.

Member Function Documentation

◆ name()

virtual const char* npstat::BinnedADTest1D::name ( ) const
virtual

Printable name identifying the comparison method

Implements npstat::AbsBinnedComparison1D.


The documentation for this class was generated from the following file: