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
Valuedouble
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
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
intervalIndexint
Returns
FrequencyIntervalCount
The frequency interval count.
virtual int FrequencyIntervalCount { get; set; }
Returns
FrequencyIntervalSize
The size (range) of each frequency interval.
virtual double FrequencyIntervalSize { get; }
Returns
Maximum
The maximum value.
virtual double Maximum { get; }
Returns
Mean
The arithmetic mean.
virtual double Mean { get; }
Returns
Minimum
The minimum value.
virtual double Minimum { get; }
Returns
Reset(bool)
Clears out the currently gathered statistics.
virtual void Reset(bool SimpleStats)
Parameters
SimpleStatsbool
Sample
Indicates if the statistics represent a sample of the data (used for calculating standard deviation).
virtual bool Sample { set; }
Returns
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
StandardDeviation
The standard deviation, based on sample flag.
virtual double StandardDeviation { get; }
Returns
Remarks
By default it returns the Sample Standard Deviation.
Sum
The sum of the values.
virtual double Sum { get; }