Stochastic Dependency, Theory and Applications