KSStatistic Property

KSStatistic returns the Kolmogorov-Smirnov goodness-of-fit statistic (versus a normal probability curve) for the data values in the column from which the statistics were calculated. Returns a variant. This is a read-only property.

Syntax

object.KSStatistic( Col )

Parameter

Type

Description

Col

Long

optional, default=1 (column A)

Example

This example demonstrates how to return Kolmogorov-Smirnov goodness-of-fit statistic for data values in column C.

Debug.Print "Sample Kolmogorov-Smirnov Goodness of Fit "; Stats.KSStatistic(3)

Used by: WksStatistics object