|
Monero
|
#include <stats.h>
Public Member Functions | |
| Stats (const std::vector< T > &v) | |
| ~Stats () | |
| size_t | get_size () const |
| Tpod | get_min () const |
| Tpod | get_max () const |
| Tpod | get_median () const |
| double | get_mean () const |
| double | get_confidence_interval_95 () const |
| double | get_confidence_interval_99 () const |
| double | get_standard_deviation () const |
| double | get_standard_error () const |
| double | get_variance () const |
| double | get_kurtosis () const |
| double | get_non_parametric_skew () const |
| double | get_t_test (T t) const |
| double | get_t_test (size_t npoints, double mean, double stddev) const |
| double | get_t_test (const Stats< T > &other) const |
| double | get_z_test (const Stats< T > &other) const |
| double | get_test (const Stats< T > &other) const |
| std::vector< Tpod > | get_quantiles (unsigned int quantiles) const |
| std::vector< size_t > | get_bins (unsigned int bins) const |
| bool | is_same_distribution_95 (size_t npoints, double mean, double stddev) const |
| bool | is_same_distribution_95 (const Stats< T > &other) const |
| bool | is_same_distribution_99 (size_t npoints, double mean, double stddev) const |
| bool | is_same_distribution_99 (const Stats< T > &other) const |
| double | get_cdf95 (size_t df) const |
| double | get_cdf95 (const Stats< T > &other) const |
| double | get_cdf99 (size_t df) const |
| double | get_cdf99 (const Stats< T > &other) const |
Private Member Functions | |
| bool | is_cached (int bit) const |
| void | set_cached (int bit) const |
Private Attributes | |
| const std::vector< T > & | values |
| uint64_t | cached |
| Tpod | min |
| Tpod | max |
| Tpod | median |
| double | mean |
| double | standard_deviation |
| double | standard_error |
| double | variance |
| double | kurtosis |
|
inline |
| std::vector< size_t > Stats< T, Tpod >::get_bins | ( | unsigned int | bins | ) | const |
| double Stats< T, Tpod >::get_cdf95 | ( | const Stats< T > & | other | ) | const |
| double Stats< T, Tpod >::get_cdf99 | ( | const Stats< T > & | other | ) | const |
| std::vector< Tpod > Stats< T, Tpod >::get_quantiles | ( | unsigned int | quantiles | ) | const |
| double Stats< T, Tpod >::get_t_test | ( | const Stats< T > & | other | ) | const |
| double Stats< T, Tpod >::get_t_test | ( | size_t | npoints, |
| double | mean, | ||
| double | stddev ) const |
| double Stats< T, Tpod >::get_test | ( | const Stats< T > & | other | ) | const |
| double Stats< T, Tpod >::get_z_test | ( | const Stats< T > & | other | ) | const |
| bool Stats< T, Tpod >::is_same_distribution_95 | ( | const Stats< T > & | other | ) | const |
| bool Stats< T, Tpod >::is_same_distribution_95 | ( | size_t | npoints, |
| double | mean, | ||
| double | stddev ) const |
| bool Stats< T, Tpod >::is_same_distribution_99 | ( | const Stats< T > & | other | ) | const |
| bool Stats< T, Tpod >::is_same_distribution_99 | ( | size_t | npoints, |
| double | mean, | ||
| double | stddev ) const |
|
inlineprivate |