#include <CNCL/MomentsTime.h>
CN_MOMENTSTIME
CNStatistics
None
CNMoments
The CNMomentsTime
class yields the moments of an time-weighted input
sequence:
When specifying an input value, you also have to specify the current time. The time span from the last input to this input is used as the input value's weight.
Constructors:
CNMomentsTime(CNParam *param)
CNMomentsTime(const char* aName = NIL, const char* aDescription = NIL);
CNMomentsTime
evaluation.
Optionally, you can specify aName
and aDescription
of the
statistical evaluator.
In addition to the member functions required by CNCL and CNStatistics
,
CNMomentsTime
provides:
virtual void put( double x_i, CNSimTime put_time);
x_i
for statistical evaluation. You
also have to specify the current time. The time span from the last input
to this input is used as the input value's weight.
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.