This document is archived and information here might be outdated. Recommended version. |
Provides access to members used for generating statistics.
IGenerateStatistics is used after cocreating a BaseStatistics object directly rather than getting one from IDataStatistics::Statistics. You populate the object with data using the AddValue method before returning statistics. Always set the SimpleStats property to True, unless you want frequency statistics (see IFrequencyStatistics).
Name | Description | |
---|---|---|
AddValue | Adds a data value to the collection of values used to derive the statistics. | |
FinalCompute | May be called after all values have been added to establish frequeny table (the function is not required any more). | |
Reset | Clears out the currently gathered statistics. | |
Sample | Indicates if the statistics represent a sample of the data (used for calculating standard deviation). | |
SimpleStats | Indicates if simple statistics are sufficient. These are Count, Minimum, Maximum, Sum, Mean, Standard Deviation. |
Classes | Description |
---|---|
BaseStatistics | Base statistics class for generating and reporting statistics. |