TorchBicop.hfunc2

TorchBicop.hfunc2(u, x=None)

Evaluates the second h-function.

\[h_2(u_1, u_2) = \mathbb{P}(U_1 \le u_1 \mid U_2 = u_2).\]
Parameters:
uTensor, shape (n, 2), dtype float

Pseudo-observations in [0, 1]^2.

xTensor or None, optional

Conditioning variables, shape (n, k). Ignored by TorchBicop (an unconditional pair copula); accepted so the class satisfies the BicopLike contract.

Returns:
Tensor, shape (n,), dtype float

Conditional CDF values in [0, 1].