34 #ifndef STATISTICS_HPP
35 #define STATISTICS_HPP
48 const std::vector<double> &y);
50 const std::vector<double> &y);
52 double mean(
const std::vector<double> &x);
53 double median(std::vector<double> x);
54 std::vector<double>
mode(
const std::vector<double> &x);
55 double range(
const std::vector<double> &x);
61 const std::vector<double> &y);
63 const std::vector<double> &y);
64 double R2(
const std::vector<double> &x,
const std::vector<double> &y);
67 const std::vector<double> &weights);
70 double RMS(
const std::vector<double> &x);
71 double powerMean(
const std::vector<double> &x,
const double p);
72 double lehmerMean(
const std::vector<double> &x,
const double p);
74 const std::vector<double> &weights,
78 double heinzMean(
const double A,
const double B,
const double x);
82 double logMean(
const double x,
const double y);
86 std::vector<double> expected);
double RMS(const std::vector< double > &x)
double standardDeviation(const std::vector< double > &x)
double heronianMean(const double A, const double B)
double lehmerMean(const std::vector< double > &x, const double p)
double powerMean(const std::vector< double > &x, const double p)
double median(std::vector< double > x)
double logMean(const double x, const double y)
double correlation(const std::vector< double > &x, const std::vector< double > &y)
double stolarskyMean(const double x, const double y, const double p)
double heinzMean(const double A, const double B, const double x)
double geometricMean(const std::vector< double > &x)
double identricMean(const double x, const double y)
double harmonicMean(const std::vector< double > &x)
double mean(const std::vector< double > &x)
double b1Estimation(const std::vector< double > &x, const std::vector< double > &y)
double R2(const std::vector< double > &x, const std::vector< double > &y)
double chebyshevIneq(const double k)
double range(const std::vector< double > &x)
std::vector< double > mode(const std::vector< double > &x)
double weightedmean_lehmer(const std::vector< double > &x, const std::vector< double > &weights, const double p)
double variance(const std::vector< double > &x)
double b0Estimation(const std::vector< double > &x, const std::vector< double > &y)
double midrange(const std::vector< double > &x)
double weightedMean(const std::vector< double > &x, const std::vector< double > &weights)
double absAvgDeviation(const std::vector< double > &x)
std::tuple< bool, double > chiSquareTest(std::vector< double > observed, std::vector< double > expected)
double neumanSandorMean(const double a, const double b)
double covariance(const std::vector< double > &x, const std::vector< double > &y)
double contramean_harmonic(const std::vector< double > &x)
The source C++ openGPMP namespace.