Skip to main content

wilcoxon_cdf

Function wilcoxon_cdf 

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

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

After truncating k towards zero, this returns cdf[k], 0 if k < 0, or 1 if k is at least the last index. cdf is the table returned by wilcoxon_cdf_all.

Corresponds to xsf::wilcoxon_cdf.

ยงSee also