#include <CNCL/Moments.h>
CN_MOMENTS
CNStatistics
None
CNMomentsTime CNConfidence
The CNMoments
class yields the moments of an input sequence:
Constructors:
CNMoments(CNParam *param)
CNMoments(const char* aName = NIL, const char* aDescription = NIL);
CNMoments
evaluation.
Optionally, you can specify aName
and aDescription
of the
statistical evaluator.
with new_name
as name
of evaluation.
In addition to the member functions required by CNCL and CNStatistics
,
CNMoments
provides:
virtual void put( double x_i, double w_i);
x_i
for statistical evaluation. If no
weight w_i
is specified, 1.0
is used as a default value.
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;
Go to the first, previous, next, last section, table of contents.