Decomposition of multivariate probabilities