cb6efdff16129db90f2677ceb7e5ecebf0260efc,statsmodels/nonparametric/kernels_asymmetric.py,,kernel_cdf_beta2,#Any#Any#Any#,197

Before Change


        // without vectorizing:
        if x < 2 * bw:
            a = a1 - np.sqrt(a2 - x**2 - x / bw)
            pdf = stats.beta.sf(sample, a, (1 - x) / bw).mean(-1)
        elif x > (1 - 2 * bw):
            x_ = 1 - x
            a = a1 - np.sqrt(a2 - x_**2 - x_ / bw)
            pdf = stats.beta.sf(sample, x / bw, a).mean(-1)

After Change


        // without vectorizing:
        if x < 2 * bw:
            a = a1 - np.sqrt(a2 - x**2 - x / bw)
            pdf = stats.beta.sf(sample, a, (1 - x) / bw)
        elif x > (1 - 2 * bw):
            x_ = 1 - x
            a = a1 - np.sqrt(a2 - x_**2 - x_ / bw)
            pdf = stats.beta.sf(sample, x / bw, a)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 4

Instances


Project Name: statsmodels/statsmodels
Commit Name: cb6efdff16129db90f2677ceb7e5ecebf0260efc
Time: 2021-03-09
Author: josef.pktd@gmail.com
File Name: statsmodels/nonparametric/kernels_asymmetric.py
Class Name:
Method Name: kernel_cdf_beta2


Project Name: statsmodels/statsmodels
Commit Name: cb6efdff16129db90f2677ceb7e5ecebf0260efc
Time: 2021-03-09
Author: josef.pktd@gmail.com
File Name: statsmodels/nonparametric/kernels_asymmetric.py
Class Name:
Method Name: kernel_cdf_invgauss


Project Name: statsmodels/statsmodels
Commit Name: cb6efdff16129db90f2677ceb7e5ecebf0260efc
Time: 2021-03-09
Author: josef.pktd@gmail.com
File Name: statsmodels/nonparametric/kernels_asymmetric.py
Class Name:
Method Name: kernel_cdf_invgamma


Project Name: statsmodels/statsmodels
Commit Name: cb6efdff16129db90f2677ceb7e5ecebf0260efc
Time: 2021-03-09
Author: josef.pktd@gmail.com
File Name: statsmodels/nonparametric/kernels_asymmetric.py
Class Name:
Method Name: _kernel_cdf_gamma


Project Name: statsmodels/statsmodels
Commit Name: cb6efdff16129db90f2677ceb7e5ecebf0260efc
Time: 2021-03-09
Author: josef.pktd@gmail.com
File Name: statsmodels/nonparametric/kernels_asymmetric.py
Class Name:
Method Name: kernel_cdf_beta


Project Name: statsmodels/statsmodels
Commit Name: cb6efdff16129db90f2677ceb7e5ecebf0260efc
Time: 2021-03-09
Author: josef.pktd@gmail.com
File Name: statsmodels/nonparametric/kernels_asymmetric.py
Class Name:
Method Name: kernel_cdf_recipinvgauss


Project Name: statsmodels/statsmodels
Commit Name: cb6efdff16129db90f2677ceb7e5ecebf0260efc
Time: 2021-03-09
Author: josef.pktd@gmail.com
File Name: statsmodels/nonparametric/kernels_asymmetric.py
Class Name:
Method Name: kernel_cdf_gamma2


Project Name: statsmodels/statsmodels
Commit Name: cb6efdff16129db90f2677ceb7e5ecebf0260efc
Time: 2021-03-09
Author: josef.pktd@gmail.com
File Name: statsmodels/nonparametric/kernels_asymmetric.py
Class Name:
Method Name: kernel_cdf_weibull


Project Name: statsmodels/statsmodels
Commit Name: cb6efdff16129db90f2677ceb7e5ecebf0260efc
Time: 2021-03-09
Author: josef.pktd@gmail.com
File Name: statsmodels/nonparametric/kernels_asymmetric.py
Class Name:
Method Name: kernel_cdf_lognorm


Project Name: statsmodels/statsmodels
Commit Name: cb6efdff16129db90f2677ceb7e5ecebf0260efc
Time: 2021-03-09
Author: josef.pktd@gmail.com
File Name: statsmodels/nonparametric/kernels_asymmetric.py
Class Name:
Method Name: kernel_cdf_bs