Skip to content

Add Wilcoxon Distribution  #213

Open

Description

@zieglerSe

Description

Removed the obsolete Wilcoxon Distribution, as it is not used in the signed-rank tests.

Activity

  1. bvenn commented on Jun 28, 2022

    @bvenn
    Member

    The signed rank test currently is only an approximation for large values (see #182 (comment))

    There is a valid wilcoxon distribution that is quite expensive to calculate. Nevertheless it is required to calculate exact u test results, and should be implemented:

    References:

  2. changed the title [-]obsolete Wilcoxon Distribution [/-] [+]Add Wilcoxon Distribution [/+] on Jun 29, 2022
  3. github-actions commented on Apr 12, 2026

    @github-actions
    Contributor

    🤖 This is an automated response from Repo Assist.

    The "Wilcoxon distribution" referenced here is the exact null distribution of the Wilcoxon rank-sum statistic (used for the two-sample Mann-Whitney U test), distinct from the approximate normal distribution the signed-rank test currently uses.

    What's needed:

    • A DP-based CDF for the Wilcoxon rank-sum distribution: count the number of m-subsets of {1,...,m+n} that sum to ≤ w (the R wilcox.c algorithm). This is O(m·n·m·n) in the worst case but very fast for small samples.
    • An exact variant of MannWhitneyUTest.computeUtest that uses the exact CDF for small samples (say m·n ≤ 400) and falls back to the normal approximation otherwise.
    • PR FR: Mann-Whitney-U test #182 (omaus/FSharp.Stats) added a UTest.fs with a normal-approximation U-test but has had merge conflicts since 2022 — the implementation logic is sound and could be the starting point.

    I'll look at implementing this in a future run, as I already have an open PR batch for this cycle.

    Generated by 🌈 Repo Assist, see workflow run. Learn more.

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/repo-assist.md@97143ac59cb3a13ef2a77581f929f06719c7402a
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions