Player12
An open source football management simulator
Loading...
Searching...
No Matches
lab_stats.h File Reference
#include <cstddef>
#include <cstdint>
#include <functional>
#include <limits>
#include <optional>
#include <span>

Go to the source code of this file.

Classes

struct  Lab::Estimate
 
struct  Lab::Band
 

Namespaces

namespace  Lab
 

Enumerations

enum class  Lab::Verdict : std::uint8_t {
  Lab::Pass , Lab::Warn , Lab::Fail , Lab::Info ,
  Lab::NotMeasured
}
 

Functions

double Lab::tQuantile975 (std::size_t degrees_of_freedom)
 
Estimate Lab::meanEstimate (std::span< const double > values)
 
Estimate Lab::proportionEstimate (std::size_t successes, std::size_t trials)
 
Estimate Lab::ratioEstimate (std::span< const double > numerators, std::span< const double > denominators)
 
Estimate Lab::medianEstimate (std::span< const double > values)
 
Estimate Lab::bootstrapEstimate (std::size_t units, const std::function< double(std::span< const std::size_t >)> &statistic, std::uint64_t seed, int resamples)
 
Verdict Lab::classify (const Estimate &estimate, const std::optional< Band > &band)