1 #ifndef _theplu_yat_statistics_pearson_correlation_
2 #define _theplu_yat_statistics_pearson_correlation_
28 #include "AveragerPairWeighted.h"
34 namespace statistics {
55 void add(
double value,
bool target,
double weight=1.0);
64 double score(
void)
const;
virtual ~PearsonCorrelation(void)
The destructor.
double p_left(void) const
Class for taking care of mean and covariance of two variables in a weighted manner.
Definition: AveragerPairWeighted.h:56
double p_value_one_sided(void) const
double score(void) const
correlation
Class for calculating Pearson correlation.
Definition: PearsonCorrelation.h:39
double p_right(void) const
double p_value(void) const
PearsonCorrelation(void)
The default constructor.
void add(double value, bool target, double weight=1.0)