ansbradp

double ansbradp(int x, int m, int n);

Returns the value of the null distribution function of the Ansary-Bradley Test at the value x with sample sizes m and n.

Parameters:
xCritical point
mFirst sample size
nSecond sample size

Returns:
P(x ≤ w | x, n)

Errors:
NUMERICS_ERROR is raised if n ≤ 0 or m ≤

Usage:
double p = ansbradp(12, 5, 10)

Header:
#include "rankdist.h"