Mathwords logoMathwords

x-bar — Definition, Formula & Examples

X-bar (written xˉ\bar{x}) is the symbol used in statistics to represent the mean of a sample — the average value calculated from a subset of a larger population.

The statistic xˉ\bar{x} denotes the arithmetic mean of nn observed values x1,x2,,xnx_1, x_2, \ldots, x_n drawn from a population. It serves as a point estimator of the population mean μ\mu.

Key Formula

xˉ=i=1nxin\bar{x} = \frac{\sum_{i=1}^{n} x_i}{n}
Where:
  • xˉ\bar{x} = Sample mean
  • xix_i = Each individual data value in the sample
  • nn = Number of data values in the sample

How It Works

To find xˉ\bar{x}, add up every data value in your sample and divide by the number of values. Because xˉ\bar{x} is computed from a sample rather than the entire population, its value changes from sample to sample. This variability is described by the sampling distribution of xˉ\bar{x}, which has standard deviation σ/n\sigma / \sqrt{n}. In AP Statistics, xˉ\bar{x} appears in confidence intervals, hypothesis tests, and the Central Limit Theorem.

Worked Example

Problem: A random sample of 5 test scores is: 72, 85, 90, 68, 95. Find x-bar.
Sum the values: Add all five scores together.
72+85+90+68+95=41072 + 85 + 90 + 68 + 95 = 410
Divide by n: There are 5 values, so divide the sum by 5.
xˉ=4105=82\bar{x} = \frac{410}{5} = 82
Answer: xˉ=82\bar{x} = 82

Why It Matters

Every confidence interval and many hypothesis tests in AP Statistics are built around xˉ\bar{x}. Understanding what the symbol means — and that it estimates μ\mu with some uncertainty — is essential for interpreting inference results on the AP exam and in real-world survey or experimental data.

Common Mistakes

Mistake: Confusing xˉ\bar{x} (sample mean) with μ\mu (population mean).
Correction: xˉ\bar{x} is a statistic computed from sample data and varies between samples. μ\mu is a fixed parameter of the entire population. Use xˉ\bar{x} when reporting results from a sample; use μ\mu when referring to the true population value.

Related Terms