Add Distribution Fitting & Simulation Features to Your Applications |
|
SPA SDK Help Home • Learn More About the SPA SDK | |
SPADistribution.Statistics (property, read-only)DescriptionReturns the theoretical distribution statistics object. Syntax
object.Statistics
Return Value(SPAStatistics) - the theoretical distribution statistics object. ExampleSub Test() Dim dist As New SPADistribution SPAApplication.Initialize ' specify the distribution type and parameters dist.Type = SPADistWeibull ' Weibull distribution dist.Param(0) = 1.5 ' alpha dist.Param(1) = 2 ' beta ' check whether the distribution mean is defined for this set of distribution parameters If dist.Statistics.Defined(SPAStatMean) Then MsgBox dist.Statistics.Value(SPAStatMean) Else MsgBox "The mean is not defined" End If End Sub |
|
Copyright © MathWave Technologies www.mathwave.com |