openGPMP
Open Source Mathematics Package
|
#include <statistics.hpp>
Public Member Functions | |
double | b0Estimation (const std::vector< double > &x, const std::vector< double > &y) |
double | b1Estimation (const std::vector< double > &x, const std::vector< double > &y) |
double | mean (const std::vector< double > &x) |
double | median (std::vector< double > x) |
std::vector< double > | mode (const std::vector< double > &x) |
double | range (const std::vector< double > &x) |
double | midrange (const std::vector< double > &x) |
double | absAvgDeviation (const std::vector< double > &x) |
double | standardDeviation (const std::vector< double > &x) |
double | variance (const std::vector< double > &x) |
double | covariance (const std::vector< double > &x, const std::vector< double > &y) |
double | correlation (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 | weightedMean (const std::vector< double > &x, const std::vector< double > &weights) |
double | geometricMean (const std::vector< double > &x) |
double | harmonicMean (const std::vector< double > &x) |
double | RMS (const std::vector< double > &x) |
double | powerMean (const std::vector< double > &x, const double p) |
double | lehmerMean (const std::vector< double > &x, const double p) |
double | weightedmean_lehmer (const std::vector< double > &x, const std::vector< double > &weights, const double p) |
double | contramean_harmonic (const std::vector< double > &x) |
double | heronianMean (const double A, const double B) |
double | heinzMean (const double A, const double B, const double x) |
double | neumanSandorMean (const double a, const double b) |
double | stolarskyMean (const double x, const double y, const double p) |
double | identricMean (const double x, const double y) |
double | logMean (const double x, const double y) |
std::tuple< bool, double > | chiSquareTest (std::vector< double > observed, std::vector< double > expected) |
Definition at line 43 of file statistics.hpp.
double gpmp::ml::Stats::absAvgDeviation | ( | const std::vector< double > & | x | ) |
double gpmp::ml::Stats::b0Estimation | ( | const std::vector< double > & | x, |
const std::vector< double > & | y | ||
) |
double gpmp::ml::Stats::b1Estimation | ( | const std::vector< double > & | x, |
const std::vector< double > & | y | ||
) |
double gpmp::ml::Stats::chebyshevIneq | ( | const double | k | ) |
std::tuple<bool, double> gpmp::ml::Stats::chiSquareTest | ( | std::vector< double > | observed, |
std::vector< double > | expected | ||
) |
double gpmp::ml::Stats::contramean_harmonic | ( | const std::vector< double > & | x | ) |
double gpmp::ml::Stats::correlation | ( | const std::vector< double > & | x, |
const std::vector< double > & | y | ||
) |
double gpmp::ml::Stats::covariance | ( | const std::vector< double > & | x, |
const std::vector< double > & | y | ||
) |
double gpmp::ml::Stats::geometricMean | ( | const std::vector< double > & | x | ) |
double gpmp::ml::Stats::harmonicMean | ( | const std::vector< double > & | x | ) |
double gpmp::ml::Stats::heinzMean | ( | const double | A, |
const double | B, | ||
const double | x | ||
) |
double gpmp::ml::Stats::heronianMean | ( | const double | A, |
const double | B | ||
) |
double gpmp::ml::Stats::identricMean | ( | const double | x, |
const double | y | ||
) |
double gpmp::ml::Stats::lehmerMean | ( | const std::vector< double > & | x, |
const double | p | ||
) |
double gpmp::ml::Stats::logMean | ( | const double | x, |
const double | y | ||
) |
double gpmp::ml::Stats::mean | ( | const std::vector< double > & | x | ) |
double gpmp::ml::Stats::median | ( | std::vector< double > | x | ) |
double gpmp::ml::Stats::midrange | ( | const std::vector< double > & | x | ) |
std::vector<double> gpmp::ml::Stats::mode | ( | const std::vector< double > & | x | ) |
double gpmp::ml::Stats::neumanSandorMean | ( | const double | a, |
const double | b | ||
) |
double gpmp::ml::Stats::powerMean | ( | const std::vector< double > & | x, |
const double | p | ||
) |
double gpmp::ml::Stats::R2 | ( | const std::vector< double > & | x, |
const std::vector< double > & | y | ||
) |
double gpmp::ml::Stats::range | ( | const std::vector< double > & | x | ) |
double gpmp::ml::Stats::RMS | ( | const std::vector< double > & | x | ) |
double gpmp::ml::Stats::standardDeviation | ( | const std::vector< double > & | x | ) |
double gpmp::ml::Stats::stolarskyMean | ( | const double | x, |
const double | y, | ||
const double | p | ||
) |
double gpmp::ml::Stats::variance | ( | const std::vector< double > & | x | ) |
double gpmp::ml::Stats::weightedMean | ( | const std::vector< double > & | x, |
const std::vector< double > & | weights | ||
) |
double gpmp::ml::Stats::weightedmean_lehmer | ( | const std::vector< double > & | x, |
const std::vector< double > & | weights, | ||
const double | p | ||
) |