Computes the split statistic for a candidate partition based on the overlap of factor spaces between two child nodes.
calculate_split_statistic(Y_L, Y_R, r_a, r_b)The calculated split statistic. Returns `Inf` if a node is too small.
Matrix of time series in the proposed left node.
Matrix of time series in the proposed right node.
Number of singular vectors to compute.
Number of eigenvalues to sum for the statistic.