|
|
typedef std::pair< double, UUPair > | EigenInfo |
|
|
template<class Quadrature > |
| OrthoPolyGOFTest1D (const AbsDistribution1D &distro, const Quadrature &q, const AbsClassicalOrthoPoly1D &poly, unsigned maxdeg, const unsigned char *mask=0, unsigned lenMask=0) |
|
virtual std::string | shortName () const |
|
unsigned | maxDegree () const |
|
unsigned | numDeviations () const |
|
bool | isEigenvectorUsed (const unsigned i) const |
|
double | eigenUncertainty (unsigned i) const |
|
std::vector< double > | covmatEigenvector (unsigned i) const |
|
std::vector< EigenInfo > | eigenComponents (unsigned i, double threshold) const |
|
virtual double | testStatistic (const double *data, const unsigned long sz, bool) const |
|
virtual double | testStatistic (const float *data, const unsigned long sz, bool) const |
|
virtual bool | hasAnalyticPValue () const |
|
virtual double | analyticPValue (double stat, unsigned long sz) const |
|
virtual double | inverseExceedance (double pvalue, unsigned long sz, double smin, double smax) const |
|
template<typename Numeric > |
unsigned | normalizedDeviations (const Numeric *data, unsigned long lenData, double *deviations, unsigned lenDeviations) const |
|
| AbsUnbinnedGOFTest1D (const AbsDistribution1D &d) |
|
| AbsUnbinnedGOFTest1D (const AbsUnbinnedGOFTest1D &r) |
|
AbsUnbinnedGOFTest1D & | operator= (const AbsUnbinnedGOFTest1D &r) |
|
const AbsDistribution1D & | getNull () 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 |
|
◆ covmatEigenvector()
std::vector<double> npstat::OrthoPolyGOFTest1D::covmatEigenvector |
( |
unsigned |
i | ) |
const |
Get the covariance matrix eigenvector with the given number. If the vector number is out of range, an exception will be thrown. Interpretation of these eigenvectors is for experts only. Make sure that you know what you are doing.
◆ eigenComponents()
std::vector<EigenInfo> npstat::OrthoPolyGOFTest1D::eigenComponents |
( |
unsigned |
i, |
|
|
double |
threshold |
|
) |
| const |
Collect the information about the given eigenvector. The first element in the "EigenInfo" pair is the eigenvector value and the second element is the pair of polynomials corresponding to that value. Components are included in the result only if the magnitude of the eigenvector value is above the threshold.
◆ eigenUncertainty()
double npstat::OrthoPolyGOFTest1D::eigenUncertainty |
( |
unsigned |
i | ) |
const |
Get the uncertainty (i.e., the square root of the covariance matrix eigenvalue) associated with a particular eigenvector. This function ignores the mask. The return value is 0 if the eigenvector number is out of range.
◆ inverseExceedance()
virtual double npstat::OrthoPolyGOFTest1D::inverseExceedance |
( |
double |
pvalue, |
|
|
unsigned long |
sz, |
|
|
double |
smin, |
|
|
double |
smax |
|
) |
| const |
|
virtual |
◆ normalizedDeviations()
template<typename Numeric >
unsigned npstat::OrthoPolyGOFTest1D::normalizedDeviations |
( |
const Numeric * |
data, |
|
|
unsigned long |
lenData, |
|
|
double * |
deviations, |
|
|
unsigned |
lenDeviations |
|
) |
| const |
Get individual normalized deviations from which the test statistic is constructed. Only unmasked deviations are returned. The return value of this function is the number of such deviations.
◆ testStatistic()
virtual double npstat::OrthoPolyGOFTest1D::testStatistic |
( |
const double * |
data, |
|
|
const unsigned long |
sz, |
|
|
bool |
|
|
) |
| const |
|
inlinevirtual |
The documentation for this class was generated from the following file:
|