Time-dependent probability density of statistical mechanics