Sampling means and unbiased variance
Choose sampling distributions, estimate population variance from raw or coded data, and plan precision without confusing bias with spread.
Practise
Choose the check for your course.
More
Offline pages
Saved on this device only. Connect at least once every 30 days to confirm Premium. Sign-out or a change of account removes saved copies.
Find this activity in your course
On this page
You stopped at:
ContinueRevision Mode is on. Questions and activities are hidden.
A sample mean varies between samples
A population is the full collection you want to describe. A sample is the part you observe. Its mean is one estimate of the population mean, and a fresh sample can give a different estimate.
Before collecting data, write X₁, …, Xₙ for the observations and X bar = (X₁ + … + Xₙ)/n for their sample mean. They are random variables because the sample has not yet been selected. After observing values x₁, …, xₙ, write x̄ for the resulting numerical mean. The population mean μ is a fixed parameter, even when its value is unknown.
For a small illustration, draw twice independently from values 0, 2 and 4, each equally likely on each draw. Replacement makes the second draw a fresh choice. The nine ordered pairs are equally likely, but their means are not:
| Sample mean | Probability |
|---|---|
| 0 | 1/9 |
| 1 | 2/9 |
| 2 | 3/9 |
| 3 | 2/9 |
| 4 | 1/9 |
For example, the pairs (0,4), (2,2) and (4,0) all give mean 2. An extreme mean of 0 requires both draws to be zero, giving probability 1/9 instead of the single draw’s 1/3. Averaging reduces spread here, but the mean still varies. This small sampling distribution is discrete, not normal.
A random sample needs a selection process
A simple random sample of a stated size gives every possible sample of that size an equal chance under its sampling design. Choosing people who volunteer or measuring only the easiest items to reach does not meet that definition merely because the resulting list is long.
State the population and how observations are selected. To investigate the current output of a production process, a sample confined to its best-performing hour may miss the population you intended to study. A larger sample from that same hour does not remove the selection bias.
The formulas below use independent observations with the same population distribution. Sampling without replacement from a finite population creates dependence; the independent model may be a useful approximation when the sampled fraction is very small, but it is not an exact consequence of simple random sampling. Check the stated sampling model before using an independent-observation formula.
Separate observation spread from mean spread
If X₁, …, Xₙ are independent and identically distributed with population mean μ and finite variance σ², then
The sample mean is centred on μ over repeated samples: it is an unbiased estimator of μ. This does not say that every observed x̄ equals μ.
The standard deviation of the sample mean is its standard error:
σ describes variation among individual observations; σ/√n describes variation among means of n observations. Increasing n does not change the population’s individual-observation spread. Quadrupling n halves the standard error; it does not divide it by four.
For a normal population with mean 50 and variance 81, an independent random sample of 36 has mean distribution X bar ∼ N(50,2.25). Its standard error is 9/6 = 1.5. Thus
Using standard deviation 9 in that probability would ask about one individual observation exceeding 53, not the average of 36 observations.
Decide whether a normal model is exact or approximate
An independent sample from a normal population has a normal sample mean for any sample size. No large-sample approximation is needed for that distribution:
For independent observations from a non-normal population with finite variance, the Central Limit Theorem supports an approximately normal sample mean when n is sufficiently large. It does not say that the individual observations become normal. The required n depends on the population’s shape; strong skewness or rare extreme values can require more observations.
“n ≥ 30” is a common working condition in stated tasks, not a universal guarantee. Increasing n cannot by itself fix dependence, a biased sampling design or a population without the required finite variance. State when a calculated normal probability uses the Central Limit Theorem.
Check your understanding 1 Choose the distribution from the sampling conditions
For each case, say whether a normal sample-mean distribution is exact, is a large-sample approximation needing the stated assumptions, or is not justified by the information given.
- Nine independent observations from a normal population.
- Nine independent observations from a strongly skewed population whose shape is otherwise unspecified.
- One hundred independent observations from a common non-normal, finite-variance population, in a task stating that the sample is sufficiently large for the Central Limit Theorem.
- One thousand measurements taken during a common disturbance, with no justified independence model.
For a population with standard deviation 9, compare the standard errors for independent samples of sizes 36 and 144. Does the larger sample reduce the population standard deviation?
Show answer
The normal population gives an exact normal mean distribution at n = 9. The small strongly skewed sample has no stated justification for a normal approximation. The n = 100 case supports the stipulated Central Limit Theorem approximation, so its normal probabilities are approximate. The common-disturbance case does not justify the independent sample-mean variance or normal approximation merely through its large count.
The standard errors are 9/square root of 36 = 1.5 and 9/square root of 144 = 0.75. The population standard deviation remains 9 in both cases. The spread of sample means changes, not the spread of the observations being sampled.
Estimate the unknown population variance
For an independent sample of n observations, x̄ estimates μ. An unbiased estimate of the population variance is
The deviations from the fitted sample mean sum to zero, so they cannot vary independently: once n − 1 are known, the final one is fixed. The divisor n − 1 supplies the unbiased population-variance estimator. Dividing the same squared-deviation total by n instead describes the spread of the observed data as a complete list; it answers a different question.
For data 6, 9, 10, 12 and 13, n = 5, Σx = 50 and Σx² = 530. The mean is 10 and the squared deviations are 16, 1, 0, 4 and 9, totalling 30. Therefore
The variance of the five-value list with divisor n is 6, not the unbiased estimate 7.5. If using a calculator, check whether its spread output uses n or n − 1, and whether it displays a standard deviation or a variance. Square a sample standard deviation to obtain s².
“Unbiased” describes the estimator across repeated independent samples: the average s² targets σ². It does not make this particular s² the exact population variance. Also, although s² is unbiased for σ², taking its square root does not generally give an unbiased estimator of σ.
The estimated standard error is s/square root of n = square root of (s²/n). For these five observations it is square root of (7.5/5) ≈ 1.225. This estimates the spread of a mean; it does not establish that a normal probability calculation is valid for this small sample with an unspecified population shape.
Check your understanding 2 Keep the sample and its mean’s spread separate
An independent random sample of three measurements gives 6 cm, 9 cm and 12 cm. Find the population-mean estimate, the unbiased population-variance estimate and the estimated standard error, giving the last answer to three significant figures. What variance would describe these three recorded values as a complete population instead? Does the sample itself establish a normal sampling distribution?
Show answer
The mean estimate is 9 cm. The squared deviations total (-3)² + 0² + 3² = 18 cm², so the unbiased population-variance estimate is s² = 18/(3-1) = 9 cm². The estimated standard error is square root of (9/3) = square root of 3 ≈ 1.73 cm. Dividing the squared deviations by 3 instead gives 6 cm², the variance of the three-value list treated as a complete population.
The estimates do not establish the population’s shape. With only three observations and no stated normal population, the normal sample-mean probability model is not justified by this information. The estimated standard error is not proof of a normal distribution, and it is not the population standard deviation.
Undo coding for location, not for a shift in spread
For coded observations d = x − a, the mean and unbiased variance estimate are
Adding a back recovers the original mean. It does not change the deviations from that mean, so it is not added to the variance. The units of a mean are the observation units; variance has their square.
Coding can also improve numerical stability. If all observations are close to a very large common value, raw Σx² and (Σx)²/n may be nearly equal. Subtracting prematurely rounded totals can lose the small squared-deviation total. Work with deviations from a nearby a and retain the supplied precision.
Check your understanding 3 Undo the coding for the mean
Ten observations are coded as d = x − 20, with Σd = 15 and Σd² = 85. Find x̄, the unbiased population-variance estimate and the estimated standard error. Do these summary totals alone establish a normal sampling distribution?
Show answer
The mean is 20 + 15/10 = 21.5. The unbiased variance estimate is [85-15²/10]/9 = 125/18 ≈ 6.94444. The estimated standard error is square root of ((125/18)/10) = 5/6 ≈ 0.833333.
Do not add 20 to the variance or divide it by n − 1 a second time to estimate mean spread. The variance has already used n − 1; estimating the variance of the mean divides s² by n. These totals give neither a population shape nor an independence justification, so they do not establish a normal sampling distribution.
Try it yourself 1
Plan a measurement sample
Problem
Measurements from a process have a normal population distribution with unknown mean μ and known standard deviation 12 units. A planned random sampling design gives independent observations from this population.
Find the smallest sample size n for which the sample mean lies within 2 units of μ with probability at least 0.95. Check the neighbouring smaller integer. Another proposal uses 1000 readings taken only during the process’s best-performing hour; explain whether its larger count by itself guarantees a better estimate of the overall process mean.
Write your answer, then compare it with the solution
Hints
Hint 1
Express the error in standard-error units
The probability concerns a sample mean on both sides of μ. Standardise its distance using the mean’s spread, and decide how much probability remains in each tail before choosing an inverse boundary.
Show full solution
Model the error of the sample mean
Method
Use the sampling distribution around the unknown population mean.Reason
The stated normal population and independent design justify it exactly under the model; knowing μ numerically is unnecessary for an error measured relative to μ.Working
Answer
X bar ∼ N(μ,144/n). The target is P(|X bar -μ| < 2) ≥ 0.95, equivalent to P(|Z| < square root of n/6) ≥ 0.95.Allocate the two tails and solve for n
Method
Use the standard normal 97.5th percentile for the positive boundary.Reason
The central 95% leaves 2.5% in each tail; using the 95th percentile would leave too much outside.Working
Answer
square root of n/6 ≥ z_(0.975) requires n ≥ 36z_(0.975)² ≈ 138.292518. The smallest integer candidate is 139, using the unrounded inverse normal value.Check the integer and the population being sampled
Method
Verify both neighbouring sample sizes, then assess the alternative sampling frame.Reason
Rounding a required sample size down can miss the probability target. A larger count does not remove systematic selection bias.Working
Answer
For n = 138 the central probability is approximately 0.949757; for n = 139 it is 0.950582. It increases with n as the standard error decreases, so 139 is minimal. The 1000 readings confined to the best-performing hour do not by themselves represent the overall process population. Their count alone cannot guarantee a better estimate of its mean.
Quick check
Compare your observation spread, standard error, two-tail allocation and integer decision separately. The probability calculation relies on the stated sampling design; a numerical sample-size target cannot repair a different, biased design.
Keep track of this lesson
Mark the lesson done when you have worked through it.
Lesson progress is optional and kept on this device.
Loading lesson controls…
Your lesson mark records your own study. Checks are kept separately in My Learning.