|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStatisticsResults
Provides access to members used for reporting statistics.
IStatisticsResults is implemented by the BaseStatistics object and also by the histogram
objects (see esriCartoUI). Its use is straightforward, the only point to note is for the StandardDeviation property—if your data is a sample of the real data, you should indicate so with IGenerateStatistics::Sample before calling StandardDeviation.
Method Summary | |
---|---|
int |
getCount()
The count of the values. |
double |
getMaximum()
The maximum value. |
double |
getMean()
The arithmetic mean. |
double |
getMinimum()
The minimum value. |
double |
getStandardDeviation()
The standard deviation, based on sample flag. |
double |
getSum()
The sum of the values. |
Method Detail |
---|
int getCount() throws IOException, AutomationException
Returns the Count of data values in the BaseStatistics used to derive the statistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMinimum() throws IOException, AutomationException
Returns the Minimum data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMaximum() throws IOException, AutomationException
Returns the Maximum data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getSum() throws IOException, AutomationException
Returns the Sum of all the data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMean() throws IOException, AutomationException
Returns the arithmetic Mean of all the data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getStandardDeviation() throws IOException, AutomationException
Returns the StandardDeviation of all the data values in the BaseStatistics.
If your data is a sample of the real data, you should indicate so with IGenerateStatistics::Sample before calling StandardDeviation.
By default it returns the Sample Standard Deviation.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGenerateStatistics.setSample(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |