INNER CODE UNIT · Python

right

sdv-dev/Copulas · copulas/bivariate/__init__.py:47

        right = sum(np.logical_and(U >= base[k], V >= base[k])) / N

        if left > 0:
            z_left.append(base[k])
            L.append(left / base[k] ** 2)

        if right > 0:
            z_right.append(base[k])
            R.append(right / (1 - z_right[k]) ** 2)

    return z_left, L, z_right, R


def _compute_tail(c, z):
    r"""Compute upper concentration function for tail.

    The upper tail concentration function is defined by:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…