Skip to main content

wilcoxon_pmf

Function wilcoxon_pmf 

Source
pub fn wilcoxon_pmf(k: f64, pmf: &[f64]) -> f64
Expand description

PMF of the Wilcoxon signed-rank statistic, from a precomputed table

After truncating k towards zero, this returns pmf[k], or 0 if k is out of bounds. pmf is the table returned by wilcoxon_pmf_all.

Corresponds to xsf::wilcoxon_pmf.

ยงSee also