Remove scipy.stat.threshold
scipy.stat.threshold was deprecated since scipy 0.17.0 and is removed in scipy 1.0. This PR replaces it by an equivalent code. The code is taken from scipy 0.19.1 (latest version before removal).
Edited by Ole Streicher
scipy.stat.threshold was deprecated since scipy 0.17.0 and is removed in scipy 1.0. This PR replaces it by an equivalent code. The code is taken from scipy 0.19.1 (latest version before removal).