spr

imdlib.compute.spr(x)

Computes Spearman’s rho test statistics (Zsr) for trend analysis

Parameters

x: ndarray

Numpy array of a variable

Returns

Zsr: float