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

SPA SDK Help HomeLearn More About the SPA SDK

SPAFitOptions.GofEnabled (property)

Description

Sets or returns whether the specified goodness of fit test should be performed after the distributions are fitted to data. By default, all the supported tests are enabled.

Syntax

object.GofEnabled(gofTestType As SPAGofTestType)

Arguments

Name & type
Description
Accepted values
gofTestType
(SPAGofTestType)
Goodness of fit test type SPAGofTestKS Kolmogorov-Smirnov test
SPAGofTestAD Anderson-Darling test
SPAGofTestCS Chi-Squared test

Return Value

(Boolean) - whether the specified goodness of fit test should be performed.

Example

Sub Test()
  SPAApplication.Initialize

  ' disable the Chi-Squared GOF test
  SPAApplication.FitOptions.GofEnabled(SPAGofTestCS) = False
End Sub
  
Copyright © MathWave Technologies
www.mathwave.com