Differential equations – dynamic system, variable in probability distribution.

If I have a variable $ n $ That can evolve over time. This variable has a probability distribution. $ D $.

Is there a mathematical "tool" that allows obtaining the expression of a differential equation as for any type of distribution? $ D $:

$ frac {dn} {dt} = f (D, n) $