Bicop.hfunc2

Bicop.hfunc2(self, u: numpy.ndarray[dtype=float64, shape=(*, *), order='F']) numpy.ndarray[dtype=float64, shape=(*), order='C']

Evaluates the second h-function.

The second h-function is h2(u1,u2)=P(U1u1|U2=u2).

When at least one variable is discrete, more than two columns are required for u: the first n×2 block contains realizations of (FX1(x1),FX2(x2)). The second n×2 block contains realizations of (FX1(x1),FX2(x2)). The minus indicates a left-sided limit of the cdf. For, e.g., an integer-valued variable, it holds FX1(x1)=FX1(x11). For continuous variables the left limit and the cdf itself coincide. Respective columns can be omitted in the second block.

Parameters:

u – An n×(2+k) matrix of observations contained in (0,1), where k is the number of discrete variables.

Returns:

A length n vector of the second h-function evaluated at u.