IFrequencyStatistics Interface

Provides access to members used for reporting frequency statistics.

Description

IFrequencyStatistics is used to return information about your data values that is similar to an equal-interval histogram. You can use ComputeAutoFrequencyIntervals to let the system choose a suitable data interval, or set it manually with the FrequencyIntervalCount property. Retrieve the frequency values with FrequencyClassCount, which uses a zero-based index.

You can QI to IFrequencyStatistics after calling IDataStatistics::Statistics as long as IDataStatistics::SimpleStats is False.

Members

Name Description
Method ComputeAutoFrequencyIntervals Computes a suitable frequency interval count for the number of values.
Read-only property FrequencyClassCount The frequency class count at a given interval index.
Read/write property FrequencyIntervalCount The frequency interval count.
Read-only property FrequencyIntervalSize The size (range) of each frequency interval.

IFrequencyStatistics.ComputeAutoFrequencyIntervals Method

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

Public Sub ComputeAutoFrequencyIntervals ( _
)
public void ComputeAutoFrequencyIntervals (
);

Description

The ComputeAutoFrequencyIntervals automatically sets the FrequencyIntervalCount based upon the data in the BaseStatistics.

IFrequencyStatistics.FrequencyClassCount Property

The frequency class count at a given interval index.

Public Function get_FrequencyClassCount ( _
    ByVal intervalIndex As Integer _
) As Integer
public int get_FrequencyClassCount (
    int intervalIndex
);

Description

Returns the number of data values in the specified frequency interval. The interval at the start of the frequency statistics has an index of 0 and the interval at the end of the frequency statistics has an index of FrequencyIntervalCount - 1.

IFrequencyStatistics.FrequencyIntervalCount Property

The frequency interval count.

Public Property FrequencyIntervalCount As Integer
public int FrequencyIntervalCount {get; set;}

Description

Either set the number of data intervals using the FrequencyIntervalCount property or use the ComputeAutoFrequencyIntervals method to automatically set the FrequencyIntervalCount based upon the data in the BaseStatistics.

Use the FrequencyIntervalSize to return the size range of each data interval.

IFrequencyStatistics.FrequencyIntervalSize Property

The size (range) of each frequency interval.

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

Description

Returns the size range of each data interval based upon the FrequencyIntervalCount property and the data values in the BaseStatistics.

Classes that implement IFrequencyStatistics

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.