ROOT
6.07/01
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 132 of file GoFTest.cxx.
ROOT::Math::GoFTest::GoFTest | ( | UInt_t | sampleSize, |
const Double_t * | sample, | ||
EDistribution | dist = kUndefined |
||
) |
Definition at line 161 of file GoFTest.cxx.
|
inline |
|
virtual |
Definition at line 180 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.
Referenced by AndersonDarling2SamplesTest(), TH1::AndersonDarlingTest(), and operator()().
Definition at line 852 of file GoFTest.cxx.
|
static |
Definition at line 748 of file GoFTest.cxx.
Definition at line 860 of file GoFTest.cxx.
Referenced by AndersonDarlingTest(), and operator()().
Definition at line 888 of file GoFTest.cxx.
Definition at line 299 of file GoFTest.cxx.
Referenced by SetCDF().
Definition at line 295 of file GoFTest.cxx.
Referenced by SetCDF().
|
staticprivate |
Definition at line 311 of file GoFTest.cxx.
Referenced by AndersonDarling2SamplesTest().
Definition at line 277 of file GoFTest.cxx.
Referenced by GoFTest().
void ROOT::Math::GoFTest::KolmogorovSmirnov2SamplesTest | ( | Double_t & | pvalue, |
Double_t & | testStat | ||
) | const |
Definition at line 894 of file GoFTest.cxx.
Referenced by KolmogorovSmirnov2SamplesTest(), and operator()().
Definition at line 911 of file GoFTest.cxx.
Definition at line 919 of file GoFTest.cxx.
Referenced by KolmogorovSmirnovTest(), and operator()().
Definition at line 943 of file GoFTest.cxx.
|
private |
Definition at line 303 of file GoFTest.cxx.
Referenced by SetCDF().
void ROOT::Math::GoFTest::operator() | ( | ETestType | test, |
Double_t & | pvalue, | ||
Double_t & | testStat | ||
) | const |
Definition at line 210 of file GoFTest.cxx.
Double_t ROOT::Math::GoFTest::operator() | ( | ETestType | test = kAD , |
const Char_t * | option = "p" |
||
) | const |
Definition at line 227 of file GoFTest.cxx.
Definition at line 483 of file GoFTest.cxx.
Referenced by AndersonDarlingTest().
Definition at line 353 of file GoFTest.cxx.
Referenced by AndersonDarling2SamplesTest().
|
private |
Definition at line 246 of file GoFTest.cxx.
Referenced by GoFTest(), and SetDistribution().
void ROOT::Math::GoFTest::SetDistribution | ( | EDistribution | dist | ) |
Definition at line 123 of file GoFTest.cxx.
|
private |
Definition at line 265 of file GoFTest.cxx.
Referenced by SetUserDistribution().
|
private |
Definition at line 205 of file GoFTest.cxx.
Referenced by GoFTest(), and LogSample().
|
private |
Definition at line 182 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 |
Definition at line 185 of file GoFTest.h.
Referenced by Instantiate(), SetCDF(), and SetDistributionFunction().
|
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().