Sample mean and covariance
ID: sample-mean-and-covariance
For observations , the sample mean and empirical covariance matrix describe average location and joint variation:Each summand is an outer product, so is positive semidefinite. If the observations are independent and identically distributed random variables with covariance matrix , then . For , replacing the divisor by gives an unbiased estimator.
For the three observations , the sample mean is . The sum of centered outer products isso the -divisor sample covariance matrix is , and the version is . Stating the divisor avoids ambiguity when comparing formulas. The rank of a centered sample covariance matrix also explains why too few observations force singularity in high dimension.
Sample mean and covariance are statistical measures that help describe the properties of a dataset. ### Sample Mean The **sample mean** is a measure of central tendency that represents the average of a set of observations. It is calculated by summing all the values in the sample and then dividing by the number of observations in that sample.
New to topics? Read the docs here!