ConditioningContext.edge_context

abstract ConditioningContext.edge_context(*, u_D, x)

Assemble the per-edge conditioning matrix x_e.

Parameters:
u_Darray, shape (n, len(D)), or None

The edge’s conditioning-set values (gathered by the cascade when assembles_conditioning is True), else None.

xarray, shape (n, p), or None

External covariates for this call, or None.

Returns:
array, shape (n, k), or None

The assembled conditioning matrix, or None when the pair copula is unconditional for this edge.