Sample mean and covariance (source code)

= Sample mean and covariance
{wiki}

The sample mean and covariance estimate the first two moments of a <random vector> from repeated observations.