Class BaseStatisticsClass

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll
[Guid("B9C4358C-78B8-11D2-AE60-080009EC732A")]
[ClassInterface(ClassInterfaceType.None)]
public class BaseStatisticsClass : BaseStatistics, IGenerateStatistics, IStatisticsResults, IFrequencyStatistics
Inheritance
BaseStatisticsClass
Implements
Inherited Members

Constructors

BaseStatisticsClass()

public BaseStatisticsClass()

Explicit Interface Implementations

AddValue(double)

Adds a data value to the collection of values used to derive the statistics.

virtual void AddValue(double Value)

Parameters

Value double

ComputeAutoFrequencyIntervals()

Computes a suitable frequency interval count for the number of values.

virtual void ComputeAutoFrequencyIntervals()

Count

The count of the values.

virtual int Count { get; }

Returns

int

FinalCompute()

May be called after all values have been added to establish frequeny table (the function is not required any more).

virtual void FinalCompute()

FrequencyClassCount[int]

The frequency class count at a given interval index.

virtual int FrequencyClassCount[int intervalIndex] { get; }

Parameters

intervalIndex int

Returns

int

FrequencyIntervalCount

The frequency interval count.

virtual int FrequencyIntervalCount { get; set; }

Returns

int

FrequencyIntervalSize

The size (range) of each frequency interval.

virtual double FrequencyIntervalSize { get; }

Returns

double

Maximum

The maximum value.

virtual double Maximum { get; }

Returns

double

Mean

The arithmetic mean.

virtual double Mean { get; }

Returns

double

Minimum

The minimum value.

virtual double Minimum { get; }

Returns

double

Reset(bool)

Clears out the currently gathered statistics.

virtual void Reset(bool SimpleStats)

Parameters

SimpleStats bool

Sample

Indicates if the statistics represent a sample of the data (used for calculating standard deviation).

virtual bool Sample { set; }

Returns

bool

Remarks

By default IStatisticResults::StandardDeviation returns the Sample Standard Deviation, so there is no need to set the Sample property to True.

SimpleStats

Indicates if simple statistics are sufficient. These are Count, Minimum, Maximum, Sum, Mean, Standard Deviation.

virtual bool SimpleStats { set; }

Returns

bool

StandardDeviation

The standard deviation, based on sample flag.

virtual double StandardDeviation { get; }

Returns

double

Remarks

By default it returns the Sample Standard Deviation.

Sum

The sum of the values.

virtual double Sum { get; }

Returns

double