#include <empirstat.h>
Inheritance diagram for EmpiricalStatistics::

Public Methods | |
| virtual | ~EmpiricalStatistics () |
| int | getNoSamples () |
| void | setResponseName (const String &name) |
| String | getResponseName () |
Protected Methods | |
| EmpiricalStatistics () | |
| void | init () |
Protected Attributes | |
| int | nsamples |
| String | response_name |
| bool | new_samples_collected |
NAME: EmpiricalStatistics - base class for calculating statistics of random samples
DESCRIPTION:
This is base class for calculating statistics of random samples. Specific of types statistical estimation methods must be implemented as classes derived from "EmpiricalStatistics". For example, there are subclasses for estimation of the first moments.
|
|
The constructor is called from subclasses. In addition, the function "setReponseName" must be called with a string reflecting the name of the statistical quantity to be estimated. There are no virtual functions in this hierarhcy because it seldom makes sense to use a general estimator. Class derivation is therefore used for sharing code and for indicating a programming standard for all estimation classes. |
|
|
|
|
|
returns the number of samples collected so far. |
|
|
|
|
|
Reimplemented in CorrAlongLine, ExpecVar, Moments, Extremes, ExpecVarFieldFE, ExpecVarFieldLattice, MomentsFieldLattice, Histogram, MomentsFieldFE, TestOfNormality, and VectorMoments. |
|
|
sets the name of the statistical quantity to be estimated. |
|
|
|
|
|
|
|
|
|