ROOT
6.06/09
Reference Guide
|
Public Types | |
enum | EDistribution { kUndefined, kUserDefined, kGaussian, kLogNormal, kExponential } |
enum | EUserDistribution { kCDF, kPDF } |
enum | ETestType { kAD, kAD2s, kKS, kKS2s } |
Static Public Member Functions | |
static Double_t | PValueADKSamples (UInt_t nsamples, Double_t A2) |
static void | AndersonDarling2SamplesTest (const ROOT::Fit::BinData &data1, const ROOT::Fit::BinData &data2, Double_t &pvalue, Double_t &testStat) |
Private Member Functions | |
GoFTest () | |
GoFTest (GoFTest &gof) | |
GoFTest | operator= (GoFTest &gof) |
void | SetCDF () |
void | SetDistributionFunction (const IGenFunction &cdf, Bool_t isPDF, Double_t xmin, Double_t xmax) |
void | Instantiate (const Double_t *sample, UInt_t sampleSize) |
Double_t | LogNormalCDF (Double_t x) const |
Double_t | GaussianCDF (Double_t x) const |
Double_t | ExponentialCDF (Double_t x) const |
Double_t | PValueAD1Sample (Double_t A2) const |
void | LogSample () |
void | SetSamples (std::vector< const Double_t * > samples, const std::vector< UInt_t > samplesSizes) |
void | SetParameters () |
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::auto_ptr< IGenFunction > | fCDF |
EDistribution | fDist |
Double_t | fMean |
Double_t | fSigma |
std::vector< Double_t > | fCombinedSamples |
std::vector< std::vector< Double_t > > | fSamples |
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 129 of file GoFTest.cxx.
ROOT::Math::GoFTest::GoFTest | ( | UInt_t | sampleSize, |
const Double_t * | sample, | ||
EDistribution | dist = kUndefined |
||
) |
Definition at line 158 of file GoFTest.cxx.
|
inline |
|
virtual |
Definition at line 177 of file GoFTest.cxx.
|
private |
|
private |
void ROOT::Math::GoFTest::AndersonDarling2SamplesTest | ( | Double_t & | pvalue, |
Double_t & | testStat | ||
) | const |
Definition at line 643 of file GoFTest.cxx.
Referenced by AndersonDarling2SamplesTest(), TH1::AndersonDarlingTest(), and operator()().
Definition at line 849 of file GoFTest.cxx.
|
static |
Definition at line 745 of file GoFTest.cxx.
Definition at line 857 of file GoFTest.cxx.
Referenced by AndersonDarlingTest(), and operator()().
Definition at line 885 of file GoFTest.cxx.
Definition at line 296 of file GoFTest.cxx.
Referenced by SetCDF().
Definition at line 292 of file GoFTest.cxx.
Referenced by SetCDF().
|
staticprivate |
Definition at line 308 of file GoFTest.cxx.
Referenced by AndersonDarling2SamplesTest().
Definition at line 274 of file GoFTest.cxx.
Referenced by GoFTest().
void ROOT::Math::GoFTest::KolmogorovSmirnov2SamplesTest | ( | Double_t & | pvalue, |
Double_t & | testStat | ||
) | const |
Definition at line 891 of file GoFTest.cxx.
Referenced by KolmogorovSmirnov2SamplesTest(), operator()(), and testCompatibility().
Definition at line 908 of file GoFTest.cxx.
Definition at line 916 of file GoFTest.cxx.
Referenced by KolmogorovSmirnovTest(), and operator()().
Definition at line 940 of file GoFTest.cxx.
|
private |
Definition at line 300 of file GoFTest.cxx.
Referenced by SetCDF().
void ROOT::Math::GoFTest::operator() | ( | ETestType | test, |
Double_t & | pvalue, | ||
Double_t & | testStat | ||
) | const |
Definition at line 207 of file GoFTest.cxx.
Double_t ROOT::Math::GoFTest::operator() | ( | ETestType | test = kAD , |
const Char_t * | option = "p" |
||
) | const |
Definition at line 224 of file GoFTest.cxx.
Definition at line 480 of file GoFTest.cxx.
Referenced by AndersonDarlingTest().
Definition at line 350 of file GoFTest.cxx.
Referenced by AndersonDarling2SamplesTest().
|
private |
Definition at line 243 of file GoFTest.cxx.
Referenced by GoFTest(), and SetDistribution().
void ROOT::Math::GoFTest::SetDistribution | ( | EDistribution | dist | ) |
Definition at line 120 of file GoFTest.cxx.
|
private |
Definition at line 262 of file GoFTest.cxx.
Referenced by SetUserDistribution().
|
private |
Definition at line 202 of file GoFTest.cxx.
Referenced by GoFTest(), and LogSample().
|
private |
Definition at line 179 of file GoFTest.cxx.
Referenced by GoFTest(), and Instantiate().
|
inline |
|
inline |
Definition at line 90 of file GoFTest.h.
Referenced by GoFTest(), SetUserCDF(), and SetUserPDF().
|
inline |
|
inline |
|
private |
|
private |
Definition at line 193 of file GoFTest.h.
Referenced by AndersonDarling2SamplesTest(), and SetSamples().
|
private |
Definition at line 188 of file GoFTest.h.
Referenced by AndersonDarlingTest(), Instantiate(), KolmogorovSmirnovTest(), SetCDF(), SetDistribution(), and SetDistributionFunction().
|
private |
Definition at line 190 of file GoFTest.h.
Referenced by ExponentialCDF(), GaussianCDF(), Instantiate(), and SetParameters().
|
private |
Definition at line 195 of file GoFTest.h.
Referenced by AndersonDarling2SamplesTest(), AndersonDarlingTest(), Instantiate(), KolmogorovSmirnov2SamplesTest(), KolmogorovSmirnovTest(), LogSample(), SetParameters(), and SetSamples().
|
private |
Definition at line 191 of file GoFTest.h.
Referenced by GaussianCDF(), Instantiate(), and SetParameters().
|
private |
Definition at line 197 of file GoFTest.h.
Referenced by AndersonDarling2SamplesTest(), AndersonDarlingTest(), Instantiate(), KolmogorovSmirnov2SamplesTest(), and KolmogorovSmirnovTest().