Analysis of relations in stochastic systems