Skip to main content

wilcoxon_sf

Function wilcoxon_sf 

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

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

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

Corresponds to xsf::wilcoxon_sf.

ยงSee also