|
Go to the documentation of this file. 1 #ifndef NPSTAT_UNBINNEDGOFTESTS1D_HH_
2 #define NPSTAT_UNBINNEDGOFTESTS1D_HH_
26 inline virtual std::string shortName() const { return "KS";}
28 inline virtual double testStatistic(
29 const double* data, const unsigned long sz, const bool b) const
30 { return testStat(data, sz, b);}
32 inline virtual double testStatistic(
33 const float* data, const unsigned long sz, const bool b) const
34 { return testStat(data, sz, b);}
36 inline virtual bool hasAnalyticPValue() const { return true;}
38 virtual double analyticPValue( double stat, unsigned long sz) const;
41 template< typename Numeric>
42 double testStat( const Numeric* data, unsigned long lenData,
43 bool dataIsSorted) const;
55 inline virtual std::string shortName() const { return "Kuiper";}
57 inline virtual double testStatistic(
58 const double* data, const unsigned long sz, const bool b) const
59 { return testStat(data, sz, b);}
61 inline virtual double testStatistic(
62 const float* data, const unsigned long sz, const bool b) const
63 { return testStat(data, sz, b);}
66 template< typename Numeric>
67 double testStat( const Numeric* data, unsigned long lenData,
68 bool dataIsSorted) const;
80 inline virtual std::string shortName() const { return "AD";}
82 inline virtual double testStatistic(
83 const double* data, const unsigned long sz, const bool b) const
84 { return testStat(data, sz, b);}
86 inline virtual double testStatistic(
87 const float* data, const unsigned long sz, const bool b) const
88 { return testStat(data, sz, b);}
90 inline virtual bool hasAnalyticPValue() const { return true;}
92 virtual double analyticPValue( double stat, unsigned long sz) const;
95 template< typename Numeric>
96 double testStat( const Numeric* data, unsigned long lenData,
97 bool dataIsSorted) const;
109 inline virtual std::string shortName() const { return "CvM";}
111 inline virtual double testStatistic(
112 const double* data, const unsigned long sz, const bool b) const
113 { return testStat(data, sz, b);}
115 inline virtual double testStatistic(
116 const float* data, const unsigned long sz, const bool b) const
117 { return testStat(data, sz, b);}
119 inline virtual bool hasAnalyticPValue() const { return true;}
121 virtual double analyticPValue( double stat, unsigned long sz) const;
124 template< typename Numeric>
125 double testStat( const Numeric* data, unsigned long lenData,
126 bool dataIsSorted) const;
143 inline virtual std::string shortName() const { return "ZK";}
145 inline virtual double testStatistic(
146 const double* data, const unsigned long sz, const bool b) const
147 { return testStat(data, sz, b);}
149 inline virtual double testStatistic(
150 const float* data, const unsigned long sz, const bool b) const
151 { return testStat(data, sz, b);}
154 template< typename Numeric>
155 double testStat( const Numeric* data, unsigned long lenData,
156 bool dataIsSorted) const;
168 inline virtual std::string shortName() const { return "ZA";}
170 inline virtual double testStatistic(
171 const double* data, const unsigned long sz, const bool b) const
172 { return testStat(data, sz, b);}
174 inline virtual double testStatistic(
175 const float* data, const unsigned long sz, const bool b) const
176 { return testStat(data, sz, b);}
179 template< typename Numeric>
180 double testStat( const Numeric* data, unsigned long lenData,
181 bool dataIsSorted) const;
193 inline virtual std::string shortName() const { return "ZC";}
195 inline virtual double testStatistic(
196 const double* data, const unsigned long sz, const bool b) const
197 { return testStat(data, sz, b);}
199 inline virtual double testStatistic(
200 const float* data, const unsigned long sz, const bool b) const
201 { return testStat(data, sz, b);}
204 template< typename Numeric>
205 double testStat( const Numeric* data, unsigned long lenData,
206 bool dataIsSorted) const;
210 #include "npstat/stat/UnbinnedGOFTests1D.icc"
Interface definition for goodness-of-fit tests for 1-d distributions.
Definition: UnbinnedGOFTests1D.hh:73
Definition: AbsUnbinnedGOFTest1D.hh:24
Definition: UnbinnedGOFTests1D.hh:102
Definition: UnbinnedGOFTests1D.hh:19
Definition: UnbinnedGOFTests1D.hh:48
Definition: UnbinnedGOFTests1D.hh:161
Definition: UnbinnedGOFTests1D.hh:186
Definition: UnbinnedGOFTests1D.hh:136
Definition: AbsArrayProjector.hh:14
Definition: AbsDistribution1D.hh:31
|