1 #ifndef _theplu_yat_statistics_ttest_
2 #define _theplu_yat_statistics_ttest_
28 #include "AveragerWeighted.h"
31 #include <gsl/gsl_cdf.h>
35 namespace statistics {
57 void add(
double value,
bool target,
double weight=1.0);
91 double score(
void)
const;
124 mutable bool updated_;
double p_left(void) const
Class to calulate averages with weights.
Definition: AveragerWeighted.h:66
void reset(void)
Set everything to zero.
tTest(void)
Default Constructor.
void add(double value, bool target, double weight=1.0)
Class for Student's t-test.
Definition: tTest.h:44
double p_right(void) const
double p_value_one_sided(void) const