Previous Next


Statistics Property (RDKDistribution Object)

Description

Returns a collection of statistics for the distribution.

Syntax

object.Statistics

Arguments

None.

Return Value

(RDKStatistics) – the result statistics. The RDKStatistics is defined as:

Public Type RDKStatistics  
NumDataPoints As Long not used for distribution objects.
NumErrors As Long not used for distribution objects.
Minimum As Double the distribution minimum(or RDKMinusInfinity).
Maximum As Double the distribution maximum(or RDKPlusInfinity).
Mean As Double the distribution mean.
StdDeviation As Double the distribution std deviation.
Variance As Double the distribution variance.
Skewness As Double the distribution skewness.
Kurtosis As Double the distribution kurtosis.
Mode As Double the approximate distribution mode.
Percentiles (1 to 19) the 5th, 10th, …,95th percentiles of the distribution
End Type  

Example

'Get the mean and standard deviation of dist:
Dim m as Double, sd as Double
With dist.Statistics
    m = .Mean
    sd = .StdDeviation
End With