Probability & Statistics Codexery

Sample mean and covariance

Statistics computed from a sample to estimate population parameters.

Sample mean and covariance

The sample mean and sample covariance are statistics computed from a sample of data on one or more random variables. The sample mean is the average value of a sample of numbers taken from a larger population, used as an estimator for the population mean. The sample covariance matrix shows the relationship between each pair of variables in a multivariate sample.

field
Statistics
known_for
Estimating population mean and covariance from sample data
definition_sample_mean
Sum of values divided by the number of values
definition_sample_covariance
K-by-K matrix with entries based on deviations from the sample mean
use
Representing location and dispersion of sample distribution and estimating population values

Lore & Background

The sample mean is defined as the average of the values of a variable in a sample, calculated by summing those values and dividing by the number of values. For example, from a sample (1, 4, 1) taken from a population, the sample mean is 2, while the population mean is 1.5. Even if a sample is random, it is rarely perfectly representative, and different samples from the same population yield different sample means. When a statistician considers multiple variables, the sample mean becomes a vector of averages, one for each variable. The sample covariance matrix is a K-by-K matrix where each entry is computed using the sum of products of deviations from the sample means, divided by N-1. This matrix is useful for judging the reliability of sample means as estimators and for estimating the population covariance matrix.

Reader's Guide

The sample mean and sample covariance are widely used in statistics due to their ease of calculation and desirable characteristics. The sample mean serves as an estimator for the population mean, with reliability estimated using the standard error, which is calculated from the sample variance. For random samples, the standard error decreases with sample size, and the distribution of the sample mean approaches the normal distribution as sample size increases. The sample covariance matrix extends these concepts to multiple variables, providing a measure of how variables co-vary. It is a key tool in multivariate statistics, allowing researchers to understand relationships between variables, such as sales, profits, and employees of companies. The sample covariance is also used as an estimate of the population covariance matrix, making it fundamental for inferential statistics and hypothesis testing.

Did You Know?

More in Probability & Statistics 1-24

Elsewhere in the Probability & Statistics universe

Spotted an error? Know more?

This is a living reference — every entry is fact-audited, and reader corrections feed straight into our audit queue. Suggest an edit · See this site's audit record

Comments

Loading…
Open in the interactive codex →