npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::ZhangZKTest1D Class Reference

#include <UnbinnedGOFTests1D.hh>

Inheritance diagram for npstat::ZhangZKTest1D:
npstat::AbsUnbinnedGOFTest1D

Public Member Functions

 ZhangZKTest1D (const AbsDistribution1D &d)
 
virtual std::string shortName () const
 
virtual double testStatistic (const double *data, const unsigned long sz, const bool b) const
 
virtual double testStatistic (const float *data, const unsigned long sz, const bool b) const
 
- Public Member Functions inherited from npstat::AbsUnbinnedGOFTest1D
 AbsUnbinnedGOFTest1D (const AbsDistribution1D &d)
 
 AbsUnbinnedGOFTest1D (const AbsUnbinnedGOFTest1D &r)
 
AbsUnbinnedGOFTest1Doperator= (const AbsUnbinnedGOFTest1D &r)
 
const AbsDistribution1DgetNull () const
 
virtual double analyticPValue (double, unsigned long) const
 
virtual bool hasAnalyticPValue () const
 
virtual double inverseExceedance (double pvalue, unsigned long sz, double smin, double smax) const
 
void simulateStatistic (AbsRandomGenerator &g, unsigned long sz, unsigned nPseudo, std::vector< double > *stats) const
 
virtual void simulateAltStatistic (const AbsDistribution1D &alternative, AbsRandomGenerator &g, unsigned long sz, unsigned nPseudo, std::vector< double > *stats) const
 

Additional Inherited Members

- Protected Attributes inherited from npstat::AbsUnbinnedGOFTest1D
AbsDistribution1Ddistro_
 

Detailed Description

Jin Zhang's ZK test. For this and other Jin Zhang's tests, see Jin Zhang, "Powerful Goodness-of-Fit Tests Based on the Likelihood Ratio", Journal of the Royal Statistical Society. Series B (Statistical Methodology), Vol. 64, No. 2 (2002), pp. 281-294.


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