Provides access to members used for generating statistics.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
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).
Members
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. |
CoClasses that implement IGenerateStatistics
CoClasses and Classes | Description |
---|---|
BaseStatistics | Base statistics class for generating and reporting statistics. |