 |
AntiMicroX
|
void process(double x)
Processes a new sample of the current data stream and updates internal intermediate values.
Definition: statisticsestimator.cpp:36
double calculateVariance() const
Calculates the sample variance of the processed data stream from internal intermediate values.
Definition: statisticsestimator.cpp:50
size_t getCount() const
Gets the amount of processed samples.
Definition: statisticsestimator.h:37
size_t m_count
Definition: statisticsestimator.h:49
Estimates mean of a data stream using Welford's algorithm and calculates statistic properties.
Definition: statisticsestimator.h:25
double m_var
Definition: statisticsestimator.h:48
double m_mean
Definition: statisticsestimator.h:47
StatisticsEstimator()
Definition: statisticsestimator.cpp:20
double calculateRelativeErrorSq() const
Calculates the squared relative three sigma error range, i.e. the squared estimation accuracy in perc...
Definition: statisticsestimator.cpp:58
double getMean() const
Gets the mean of processed samples.
Definition: statisticsestimator.h:42
void reset()
Resets the StatisticsEstimator so that it is ready to process a new data stream.
Definition: statisticsestimator.cpp:25