#include <mi32/statunivar.h>
Public Member Functions | |
| ERRVALUE | Accumulate (UINT32 NumValues, const void *pValues, const UINT8 *pValidity=0) |
| ERRVALUE | AccumulateWeighted (const void *pValue, double weight) |
| double | ComputeBinCenter (INT32 BinIndex) const |
| INT32 | ComputeBinIndex (double value) const |
| ERRVALUE | Finalize () |
| UINT64 | GetBinCount (INT32 BinIndex) const |
| double | GetBinCountWeighted (INT32 BinIndex) const |
| const DOUBLE_RANGE & | GetBinRange () const |
| double | GetBinWidth (INT32 BinIndex) const |
| UINT64 | GetCountAboveMaxBin () const |
| double | GetCountAboveMaxBinWeighted () const |
| UINT64 | GetCountBelowMinBin () const |
| double | GetCountBelowMinBinWeighted () const |
| UINT64 | GetCountInvalid () const |
| UINT64 | GetCountValid () const |
| double | GetCountValidWeighted () const |
| double | GetMean () const |
| INT32 | GetMedianBinIndex () const |
| INT32 | GetModeBinIndex () const |
| UINT32 | GetNumBins () const |
| double | GetStdDev () const |
| double | GetSum2 () const |
| const DOUBLE_RANGE & | GetValueRange () const |
| bool | HasEqualBinWidths () const |
| ERRVALUE | Initialize (NUMTYPE NumType, UINT32 NumBins, double MinBin, double MaxBin, double BinWidth=0) |
| ERRVALUE | Set (UINT64 CountValid, UINT64 CountBelowMinBin, UINT64 CountAboveMaxBin, UINT64 CountInvalid, double Mean, double Sum2, const DOUBLE_RANGE &ValueRange, const DOUBLE_RANGE &BinRange, double BinWidth, const void *BinCounts, UINT32 NumBins, int BinBytes) |
| STAT_UNIVARIATE () | |
| ~STAT_UNIVARIATE () | |
Statistics include minimum, maximum, mean, standard deviation and optional histogram.
Definition at line 53 of file statunivar.h.
|
|
Default constructor.
|
|
|
Destructor.
|
|
||||||||||||||||
|
Accumulate samples for computing statistics.
|
|
||||||||||||
|
Accumulate single sample with weight.
|
|
|
Compute center value for specified bin.
|
|
|
Compute bin index from specified value.
|
|
|
Finalize computation of statistics.
|
|
|
Get count of samples in specified bin. If any weighted will be rounded up, use GetBinCountWeighted for weighted total.
|
|
|
Get count of samples in specified bin with partial counts for weighted.
|
|
|
Get range for histogram bins.
Definition at line 101 of file statunivar.h. |
|
|
Get width of specified bin.
|
|
|
Get count of valid samples above maximum bin. If any weighted will be rounded up, use GetCountAboveMaxBinWeighted for weighted total. |
|
|
Get count of valid samples above maximum bin with partial counts for weighted.
|
|
|
Get count of valid samples below minimum bin. If any weighted will be rounded up, use GetCountBelowMinBinWeighted for weighted total. |
|
|
Get count of valid samples below minimum bin with partial counts for weighted.
|
|
|
Get count of invalid samples.
Definition at line 128 of file statunivar.h. |
|
|
Get count of valid samples. If any weighted will be rounded up, use GetCountValidWeighted for weighted total. |
|
|
Get count of valid samples with partial counts for weighted.
|
|
|
Get mean sample value.
Definition at line 141 of file statunivar.h. |
|
|
Get index for median bin.
Definition at line 145 of file statunivar.h. |
|
|
Get index for mode bin.
Definition at line 149 of file statunivar.h. |
|
|
Get number of bins.
Definition at line 153 of file statunivar.h. |
|
|
Get standard deviation.
Definition at line 157 of file statunivar.h. |
|
|
Get sum of squares.
Definition at line 161 of file statunivar.h. |
|
|
Get range of accumulated values.
Definition at line 165 of file statunivar.h. |
|
|
Determine if has equal bin widths.
Definition at line 169 of file statunivar.h. |
|
||||||||||||||||||||||||
|
Initialize for accumulation and statistics computation, including histogram with equal bin widths. Note that for integer types, the bin width will also be an integer, thus the last bin may have a smaller width.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Set all statistics.
|
1.3.8-20040913