1 #ifndef theplu_yat_statistics_kolmogorov_smirnov_one_sample 2 #define theplu_yat_statistics_kolmogorov_smirnov_one_sample 31 namespace statistics {
59 void add(
double value,
double weight=1.0);
78 void remove(
double value,
double weight=1.0);
92 double score(
void)
const;
104 mutable double score_;
105 mutable bool cached_;
106 std::multimap<double, double> data_;
109 friend std::ostream& operator<<(std::ostream&,
The Department of Theoretical Physics namespace as we define it.
double score(void) const
Kolmogorov Smirnov statistic.
double signed_score(void) const
void reset(void)
resets everything to zero
void add(double value, double weight=1.0)
add a value
Kolmogorov Smirnov Test for one class.
Definition: KolmogorovSmirnovOneSample.h:46
double p_value(void) const
Large-Sample Approximation.
KolmogorovSmirnovOneSample(void)
Constructor.