Skip to content

Say what the ks metrics actually compute - #27

Merged
rcannood merged 3 commits into
mainfrom
chore/ks-metric-naming
Jul 28, 2026
Merged

Say what the ks metrics actually compute#27
rcannood merged 3 commits into
mainfrom
chore/ks-metric-naming

Conversation

@rcannood

Copy link
Copy Markdown
Member

All 31 metric descriptions across the two components describe themselves as "The Kolmogorov-Smirnov statistic", but both call ks::kde.test(), which is a kernel density based global two-sample comparison test -- a different thing that happens to live in a package called ks. The referenced doi (Duong's kernel smoothing book) was right all along.

Metric ids are left alone, so results stay comparable across runs.

Checklist before requesting a review

  • I have performed a self-review of my code

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Bug fixes
  • Proposed changes are described in the CHANGELOG.md

  • CI Tests succeed and look good!

rcannood added 3 commits July 28, 2026 14:19
All 31 of these describe themselves as "The Kolmogorov-Smirnov statistic",
but both components call `ks::kde.test()`, which is a kernel density based
global two-sample comparison test -- a different thing that happens to live in
a package called ks. The referenced doi (Duong's kernel smoothing book) was
right all along.

Left the metric ids alone so the results stay comparable across runs.
@rcannood
rcannood merged commit 916a6f8 into main Jul 28, 2026
3 checks passed
@rcannood
rcannood deleted the chore/ks-metric-naming branch July 28, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant