Skip to main content

wilcoxon_pmf_all

Function wilcoxon_pmf_all 

Source
pub fn wilcoxon_pmf_all(n: usize) -> Vec<f64>
Expand description

Full PMF of the Wilcoxon signed-rank statistic

Used internally by scipy.stats.wilcoxon.

The result has length $n (n + 1) / 2 + 1$, and contains the probability that the signed-rank statistic of a sample of size $n$ equals $k$ at index k.

Corresponds to xsf::wilcoxon_pmf_all.

ยงSee also