Description
Returns a collection of statistics for the input data.
Syntax
object.Statistics
Arguments
None.
Return Value
(BDKStatistics) – the result statistics. The BDKStatistics is defined as:
| Public Type BDKStatistics | |
| Minimum As Double | the distribution minimum (or BDKMinusInfinity). |
| Maximum As Double | the distribution maximum (or BDKPlusInfinity). |
| 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 data:
Dim m as Double, sd as Double
With inputobj.Statistics
m = .Mean
sd = .StdDeviation
End With