scipy.stats.mstats.

rsh#

scipy.stats.mstats.rsh(data, points=None)[source]#

Evaluates Rosenblatt’s shifted histogram estimators for each data point.

Rosenblatt’s estimator is a centered finite-difference approximation to the derivative of the empirical cumulative distribution function.

Deprecated since version 2.0.0: scipy.stats.mstats.rsh is deprecated as of SciPy 2.0.0 and will be removed, along with the scipy.stats.mstats namespace, in SciPy 2.4.0. SciPy offers no replacement for this function.

Parameters:
datasequence

Input data, should be 1-D. Masked values are ignored.

pointssequence or None, optional

Sequence of points where to evaluate Rosenblatt shifted histogram. If None, use the data.