Skip to content

Commit 38dafb7

Browse files
authored
Update ksdist.jl (#1581)
While the sqrt(n) factor is often part of the test statistic this is not what is implemented here. To witness, see ```julia https://github.com/JuliaStats/Distributions.jl/blob/254f27f1b32a72d6529e2f78a3745b68bd38b31e/test/testutils.jl#L597-L607 ``` where there is no sqrt(n) factor.
1 parent 84bdc87 commit 38dafb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/univariate/continuous/ksdist.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Distribution of the (two-sided) Kolmogorov-Smirnoff statistic
55
66
```math
7-
D_n = \\sup_x | \\hat{F}_n(x) -F(x)| \\sqrt(n)
7+
D_n = \\sup_x | \\hat{F}_n(x) -F(x)|
88
```
99
1010
``D_n`` converges a.s. to the Kolmogorov distribution.

0 commit comments

Comments
 (0)