IStatisticsResults Interface

Provides access to members used for reporting statistics.

Description

IStatisticsResults is implemented by the BaseStatistics object and also by the histogramobjects (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.

Members

Name Description
Read-only property Count The count of the values.
Read-only property Maximum The maximum value.
Read-only property Mean The arithmetic mean.
Read-only property Minimum The minimum value.
Read-only property StandardDeviation The standard deviation, based on sample flag.
Read-only property Sum The sum of the values.

IStatisticsResults.Count Property

The count of the values.

Public ReadOnly Property Count As Integer
public int Count {get;}

Description

Returns the Count of data values in the BaseStatistics used to derive the statistics. Use this property when IGenerateStatistics.SimpleStats is set to true.

IStatisticsResults.Maximum Property

The maximum value.

Public ReadOnly Property Maximum As Double
public double Maximum {get;}

Description

Returns the Maximum data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.

IStatisticsResults.Mean Property

The arithmetic mean.

Public ReadOnly Property Mean As Double
public double Mean {get;}

Description

Returns the arithmetic Mean of all the data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.

IStatisticsResults.Minimum Property

The minimum value.

Public ReadOnly Property Minimum As Double
public double Minimum {get;}

Description

Returns the Minimum data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.

IStatisticsResults.StandardDeviation Property

The standard deviation, based on sample flag.

Public ReadOnly Property StandardDeviation As Double
public double StandardDeviation {get;}

Description

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.

Remarks

By default it returns the Sample Standard Deviation.

IStatisticsResults.Sum Property

The sum of the values.

Public ReadOnly Property Sum As Double
public double Sum {get;}

Description

Returns the Sum of all the data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.

Classes that implement IStatisticsResults

Classes Description
BaseStatistics Base statistics class for generating and reporting statistics.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.