Description
Returns the critical values for a given goodness-of-fit test.
Syntax
object.CriticalValue(whichStatistic As BDKFitStatistic, significanceLevel as Double)
Arguments
whichStatistics (Required BDKFitStatistic) – which test to return the critical value for. The options are:
significanceLevel (Required Double) – the level of significance. For the Anderson-Darling and Kolmogorov-Smirinov tests, not all significance levels will be available. The most common levels that are available for these tests are (.75, .5, .25, .15, .10, .025, .01, .005, .001). Which of those level are available depends on the specific distribution being fit. All significance levels are available for the Chi-Squared test.
Return Value
(Double) – the critical value.
Example
'Get the critical value for a significance level of .025:
cValue = fitResult.CriticalValue(BDKKSStatistic, .025)