BIE::SimpleStat Class Reference
Simple case of a distribution: running mean and std dev with distribution provided by multivariate Gaussian probability.
More...
#include <SimpleStat.h>
List of all members.
|
Public Member Functions |
|
| SimpleStat (int n) |
| | Constructor for $n$ dimensional data.
|
| bool | AccumData (double, vector< double > &) |
| | Accumlulate data: Value or state may be dummy in some applications.
|
|
bool | AccumulateData (double v, RecordBuffer *datapoint) |
| | Required member but not used here.
|
|
double | PDF (State &) |
| | Differential distribution function P(x).
|
|
double | logPDF (State &) |
| | Log of differential distribution function P(x).
|
| double | CDF (State &) |
| | Cumulative distribution function P(>x).
|
|
vector< double > | lower () |
| | Lower bound on distribution (in each dimension).
|
|
vector< double > | upper () |
| | Upper bound on distribution (in each dimension).
|
|
vector< double > | Mean () |
| | Return mean of distribution (mulitvariate).
|
|
vector< double > | StdDev () |
| | Return standard deviation of distribution (mulitvariate).
|
|
vector< double > | Moments (int n) |
| | Return specifided momemnt of distribution (mulitvariate).
|
|
vector< double > | Sample () |
| | Return random variate from distribution.
|
|
SimpleStat * | New () |
| | Clone (factory) function.
|
Friends |
|
class | boost::serialization::access |
Detailed Description
Simple case of a distribution: running mean and std dev with distribution provided by multivariate Gaussian probability.
Member Function Documentation
| bool BIE::SimpleStat::AccumData |
( |
double |
value, |
|
|
vector< double > & |
state | |
|
) |
| | [virtual] |
Accumlulate data: Value or state may be dummy in some applications.
returns true if data is used in distribution
Reimplemented from BIE::SampleDistribution.
| double BIE::SimpleStat::CDF |
( |
State & |
|
) |
[virtual] |
Cumulative distribution function P(>x).
Throws exception if not appropriate.
Reimplemented from BIE::Distribution.
The documentation for this class was generated from the following file: