Analysis of dispersion by the random walk method