tau_matrix_4th#

causalbase.lingam.tau_matrix_4th(c4, c13, c31, c22)[source]#

Return the fourth-order tau matrix.

Parameters:
c4numpy.ndarray

Marginal fourth cumulants, shape (p,).

c13numpy.ndarray

Cum(x_i, x_j, x_j, x_j), shape (p, p).

c31numpy.ndarray

Cum(x_i, x_i, x_i, x_j), shape (p, p).

c22numpy.ndarray

Cum(x_i, x_i, x_j, x_j), shape (p, p).

Returns:
numpy.ndarray

Shape (p, p), non-negative, zero on the diagonal. Entry (i, j) is |C4(x_i) * C13(x_i, x_j) - C22(x_i, x_j) * C31(x_i, x_j)|.

Notes

The fourth-order discriminator is the stronger of the two and is the default everywhere in this subpackage. The third-order one matters when the data has skew but little excess kurtosis: it is the only one of the two that gets a signal from skew, while the fourth-order one is driven entirely by excess kurtosis and stays near zero on data that lacks it.