wilcoxonv

void wilcoxonv(double p, int n, int *w0, int *w1);

Returns two critical points of the Wilcoxon Signed Rank Test null distribution function with sample size of n trials such that P(W ≤ w0) ≤ p ≤ P(W ≤ w1).

Parameters:
pCummulative probability.
nSample size
w0Lower bound critical point.
w1Upper bound critical point.

Returns:
On exit, w0 and w1 are set such that P(W ≤ w0 | n) ≤ p ≤ P(W ≤ w1 | n)

Errors:
NUMERICS_ERROR is raised if n ≤ 0, p ≤ 0, or p ≥ 1

Usage:
int w0, w1;
wilcoxonv(.5, 10, &w0, &w1)

Header:
#include "rankdist.h"