If the system is ergodic, ensemble averages of any physical quantity
can be computed as time averages over a molecular dynamics simulation, and can be approximated as:
where
is the value of
evaluated with the particles at positions
. The root mean square fluctuation of
is:
with
If all
samples of
were statistically independent from each other, then the standard deviation of
would be obtained as
however, on the trajectory generated by the molecular dynamics procedure most of the evaluations of
will be similar to each other, because the necessity of making small time step increments to generate an accurate trajectory means that the configurations will be close to each other for some time. So, in computing
over
time steps we do not have
independent samples, but only a fraction
, where
is related to the correlation time
, which measures the number of steps that we need to wait to obtain a statistically independent sample of
.
It follows that the statistical error on the average value of
falls off as
is not known in advance, but it is fixed, and depends only on the system and on our choice of
, and so the statistical error on the average value of
can be reduced as much as wanted by increasing the number of samples
.
Subsections