|
ROOT 6.13/01 Reference Guide |
Public Types | |
| enum | EDistribution { kUndefined, kUserDefined, kGaussian, kLogNormal, kExponential } |
| enum | ETestType { kAD, kAD2s, kKS, kKS2s } |
| enum | EUserDistribution { kCDF, kPDF } |
Public Member Functions | |
| GoFTest (UInt_t sample1Size, const Double_t *sample1, UInt_t sample2Size, const Double_t *sample2) | |
| GoFTest (UInt_t sampleSize, const Double_t *sample, EDistribution dist=kUndefined) | |
| template<class Dist > | |
| GoFTest (UInt_t sampleSize, const Double_t *sample, Dist &dist, EUserDistribution userDist=kPDF, Double_t xmin=1, Double_t xmax=0) | |
| GoFTest (UInt_t sampleSize, const Double_t *sample, const IGenFunction &dist, EUserDistribution userDist=kPDF, Double_t xmin=1, Double_t xmax=0) | |
| virtual | ~GoFTest () |
| void | AndersonDarling2SamplesTest (Double_t &pvalue, Double_t &testStat) const |
| Double_t | AndersonDarling2SamplesTest (const Char_t *option="p") const |
| void | AndersonDarlingTest (Double_t &pvalue, Double_t &testStat) const |
| Double_t | AndersonDarlingTest (const Char_t *option="p") const |
| void | KolmogorovSmirnov2SamplesTest (Double_t &pvalue, Double_t &testStat) const |
| Double_t | KolmogorovSmirnov2SamplesTest (const Char_t *option="p") const |
| void | KolmogorovSmirnovTest (Double_t &pvalue, Double_t &testStat) const |
| Double_t | KolmogorovSmirnovTest (const Char_t *option="p") const |
| void | operator() (ETestType test, Double_t &pvalue, Double_t &testStat) const |
| Double_t | operator() (ETestType test=kAD, const Char_t *option="p") const |
| void | SetDistribution (EDistribution dist) |
| template<class Dist > | |
| void | SetUserCDF (Dist &cdf, Double_t xmin=1, Double_t xmax=0) |
| void | SetUserCDF (const IGenFunction &cdf, Double_t xmin=1, Double_t xmax=0) |
| template<class Dist > | |
| void | SetUserDistribution (Dist &dist, EUserDistribution userDist=kPDF, Double_t xmin=1, Double_t xmax=0) |
| void | SetUserDistribution (const IGenFunction &dist, GoFTest::EUserDistribution userDist=kPDF, Double_t xmin=1, Double_t xmax=0) |
| template<class Dist > | |
| void | SetUserPDF (Dist &pdf, Double_t xmin=1, Double_t xmax=0) |
| void | SetUserPDF (const IGenFunction &pdf, Double_t xmin=1, Double_t xmax=0) |
Static Public Member Functions | |
| static void | AndersonDarling2SamplesTest (const ROOT::Fit::BinData &data1, const ROOT::Fit::BinData &data2, Double_t &pvalue, Double_t &testStat) |
| static Double_t | PValueADKSamples (UInt_t nsamples, Double_t A2) |
Private Member Functions | |
| GoFTest () | |
| GoFTest (GoFTest &gof) | |
| Double_t | ExponentialCDF (Double_t x) const |
| Double_t | GaussianCDF (Double_t x) const |
| void | Instantiate (const Double_t *sample, UInt_t sampleSize) |
| Double_t | LogNormalCDF (Double_t x) const |
| void | LogSample () |
| GoFTest | operator= (GoFTest &gof) |
| Double_t | PValueAD1Sample (Double_t A2) const |
| void | SetCDF () |
| void | SetDistributionFunction (const IGenFunction &cdf, Bool_t isPDF, Double_t xmin, Double_t xmax) |
| void | SetParameters () |
| void | SetSamples (std::vector< const Double_t *> samples, const std::vector< UInt_t > samplesSizes) |
Static Private Member Functions | |
| static Double_t | GetSigmaN (const std::vector< UInt_t > &ns, UInt_t N) |
| static Double_t | InterpolatePValues (int nsamples, Double_t A2) |
Private Attributes | |
| std::unique_ptr< IGenFunction > | fCDF |
| std::vector< Double_t > | fCombinedSamples |
| EDistribution | fDist |
| Double_t | fMean |
| std::vector< std::vector< Double_t > > | fSamples |
| Double_t | fSigma |
| Bool_t | fTestSampleFromH0 |
#include <Math/GoFTest.h>
| ROOT::Math::GoFTest::GoFTest | ( | UInt_t | sample1Size, |
| const Double_t * | sample1, | ||
| UInt_t | sample2Size, | ||
| const Double_t * | sample2 | ||
| ) |
Definition at line 132 of file GoFTest.cxx.
| ROOT::Math::GoFTest::GoFTest | ( | UInt_t | sampleSize, |
| const Double_t * | sample, | ||
| EDistribution | dist = kUndefined |
||
| ) |
Definition at line 160 of file GoFTest.cxx.
|
inline |
|
inline |
|
virtual |
Definition at line 178 of file GoFTest.cxx.
|
private |
|
private |
| void ROOT::Math::GoFTest::AndersonDarling2SamplesTest | ( | Double_t & | pvalue, |
| Double_t & | testStat | ||
| ) | const |
Definition at line 646 of file GoFTest.cxx.
| Double_t ROOT::Math::GoFTest::AndersonDarling2SamplesTest | ( | const Char_t * | option = "p" | ) | const |
Definition at line 854 of file GoFTest.cxx.
|
static |
Definition at line 750 of file GoFTest.cxx.
| void ROOT::Math::GoFTest::AndersonDarlingTest | ( | Double_t & | pvalue, |
| Double_t & | testStat | ||
| ) | const |
Definition at line 862 of file GoFTest.cxx.
| Double_t ROOT::Math::GoFTest::AndersonDarlingTest | ( | const Char_t * | option = "p" | ) | const |
Definition at line 890 of file GoFTest.cxx.
|
private |
Definition at line 298 of file GoFTest.cxx.
|
private |
Definition at line 294 of file GoFTest.cxx.
|
staticprivate |
Definition at line 311 of file GoFTest.cxx.
|
private |
Definition at line 276 of file GoFTest.cxx.
|
staticprivate |
| void ROOT::Math::GoFTest::KolmogorovSmirnov2SamplesTest | ( | Double_t & | pvalue, |
| Double_t & | testStat | ||
| ) | const |
Definition at line 896 of file GoFTest.cxx.
| Double_t ROOT::Math::GoFTest::KolmogorovSmirnov2SamplesTest | ( | const Char_t * | option = "p" | ) | const |
Definition at line 913 of file GoFTest.cxx.
| void ROOT::Math::GoFTest::KolmogorovSmirnovTest | ( | Double_t & | pvalue, |
| Double_t & | testStat | ||
| ) | const |
Definition at line 921 of file GoFTest.cxx.
| Double_t ROOT::Math::GoFTest::KolmogorovSmirnovTest | ( | const Char_t * | option = "p" | ) | const |
Definition at line 945 of file GoFTest.cxx.
|
private |
|
private |
Definition at line 302 of file GoFTest.cxx.
| void ROOT::Math::GoFTest::operator() | ( | ETestType | test, |
| Double_t & | pvalue, | ||
| Double_t & | testStat | ||
| ) | const |
Definition at line 208 of file GoFTest.cxx.
| Double_t ROOT::Math::GoFTest::operator() | ( | ETestType | test = kAD, |
| const Char_t * | option = "p" |
||
| ) | const |
Definition at line 225 of file GoFTest.cxx.
|
private |
Definition at line 483 of file GoFTest.cxx.
|
static |
Definition at line 353 of file GoFTest.cxx.
|
private |
Definition at line 244 of file GoFTest.cxx.
| void ROOT::Math::GoFTest::SetDistribution | ( | EDistribution | dist | ) |
Definition at line 123 of file GoFTest.cxx.
|
private |
Definition at line 264 of file GoFTest.cxx.
|
private |
Definition at line 203 of file GoFTest.cxx.
|
private |
Definition at line 180 of file GoFTest.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |