Diffpack Documentation
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Search
Moments Class Reference
estimation of the 1st-4th moment of a random variable.
More...
#include <empirstat.h>
Inheritance diagram for Moments::
List of all members.
Detailed Description
estimation of the 1st-4th moment of a random variable.
NAME: Moments - estimation of the 1st-4th moment of a random variable
DESCRIPTION:
The class offers estimators for the first to fourth moments of a random variable. The class offers functions for updating statistics and printing of intermediate results during sampling as well as functions for returning the calculated statistical quanities. Only functionality for estimating the skewness and the kurtosis are explicitly implemeted; estimation of the expectation and variance is inherited from class "ExpecVar."
Constructor & Destructor Documentation
|
Moments::Moments (
|
) [inline]
|
|
Member Function Documentation
|
void Moments::estimator (
|
) [protected]
|
|
|
real Moments::getKurtosis (
|
) [inline]
|
|
|
|
returns the current value of kurtosis. |
|
real Moments::getSkewness (
|
) [inline]
|
|
|
|
returns the current value of skewness. |
|
|
resets and initializes internal data structures.
Reimplemented from ExpecVar. |
|
void Moments::intermediateResults (
|
Os os )
|
|
|
|
prints the curent expectation and standard deviation values.
Reimplemented from ExpecVar. |
|
void Moments::printResults (
|
Os os )
|
|
|
|
same as "intermediateResults".
Reimplemented from ExpecVar. |
|
void Moments::update (
|
real random_variable )
|
|
|
|
adds a new sample to the estimators.
Reimplemented from ExpecVar. |
Member Data Documentation
real Moments::kurt [protected]
|
|
real Moments::skew [protected]
|
|
real Moments::zm3 [protected]
|
|
real Moments::zm4 [protected]
|
|
The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.