Simulation & Probabilistic Analysis SDK
Add Distribution Fitting & Simulation Features to Your Applications

SPA SDK Help HomeLearn More About the SPA SDK

SPADataSet.Statistics (property, read-only)

Description

Returns the descriptive statistics object.

Syntax

object.Statistics

Return Value

(SPAStatistics) - the descriptive statistics object.

Example

Sub Test()
  Dim data(5) As Double
  Dim empty() As Double
  Dim dataSet As New SPADataSet
  SPAApplication.Initialize

  ' specify the data
  data(0) = 1.5
  data(1) = 3.2
  data(2) = 9.6
  data(3) = 4.1
  data(4) = 7.8

  ' assign the data
  dataSet.Assign(SPADomainContinuous, SPADataSample, data, empty) 

  ' display the sample mean 
  MsgBox dataSet.Statistics.Value(SPAStatMean)
End Sub
  
Copyright © MathWave Technologies
www.mathwave.com