Updated: 29 June 2012
Use KSQINV to calculate the inverse of the complementary Kolmogorov-Smirnov (KS) cumulative distribution function, Qks = 1 - Pks. The equation for the cumulative distribution function is:
SELECT [wctStatistics].[wct].[KSQINV] (
is the value at which to evaluate the function. @Q is an expression of type float or of a type that can be implicitly converted to float.
· Qz must greater than zero and less than or equal to one
· Qks(0) = 1
· Qks(8) = 0
SELECT wct.KSQINV(0.269999671677355) as KSQINV
This produces the following result.