Calculation of dispersion coefficients by means of moments