def wang_ryzin_cdf(h, Xi, x_u):
    ordered = np.zeros(Xi.size)
    for x in np.unique(Xi):
        if x <= x_u:
            ordered += wang_ryzin(h, Xi, x)

    return ordered
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/nonparametric/kernels.py/wang_ryzin_cdf/original