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

SPA SDK Help HomeLearn More About the SPA SDK

SPAFitOptions.RankBy (property)

Description

Sets or returns the criteria used to rank (sort) the fitted distributions. This property controls the order of the fitResults array elements returned from the SPADataSet.Fit method.

Syntax

object.RankBy

Return Value

(SPARankByType) - the current ranking method:

Value
Description
SPARankByKS
SPARankByAD
SPARankByCS
The fitted models will be ranked by the Kolmogorov-Smirnov, Anderson-Darling, or Chi-Squared statistics accordingly.
SPARankByName The fitted models will be ranked by the distribution name.

Example

Sub Test()
  SPAApplication.Initialize
  SPAApplication.FitOptions.RankBy = SPARankByAD
End Sub
  
Copyright © MathWave Technologies
www.mathwave.com