Go to the previous, next section.
#include <CNCL/Confidence.h>
CN_CONFIDENCE
CNStatistics
None
CNMoments CNMomentsTime
CNConfidence class yields the moments of an input
sequence:
CNConfidence(CNParam *param)
CNConfidence(const char* aName = NIL, const char* aDescription = NIL);
CNConfidence evaluation.
Optionally, you can specify aName and aDescription of the
statistical evaluator.
CNStatistics,
CNConfidence provides:
virtual double mean() const;
double variance() const;
double M_2() const;
double M_3() const;
double Z_3() const;
double skewness() const;
double relative_variance() const;
double relative_deviation() const;
double z_level(double conf) const;
double err_level(double z_level) const;
double conf_level(double z_level) const;
double low_conf_bound(double conf) const;
mean().
double hi_conf_bound(double conf) const;
mean().
In general the confidence level conf = 0.95 is quite useful. It
means that in 1 out of 20 measurements the "true" value is within the
confidence interval determined by hi_conf_bound() and low_conf_bound().
Go to the previous, next section.