SI1–SI6 - Sample means and the Central Limit Theorem

SI1–SI6 - Sample means and the Central Limit Theorem

SI1–SI2 turn sample data into estimates of a population's mean and variance. SI3–SI6 then treat the sample mean itself as a random variable: you will calculate its standard error, distinguish exact Normal results from the Central Limit Theorem, and approximate probabilities for means and totals.

Estimate the population, not just the spread of the list

Can averaging make a collection of very irregular measurements behave predictably? Yes, but first separate three objects: the population, the sample you actually saw, and all the other samples you might have drawn.

Suppose five measurements are 8,10,12,14,168,10,12,14,16. Their mean is 1212, and their squared deviations from 1212 total 4040. When these are a random sample from a larger population, the usual estimate of the population variance is 40/4=1040/4=10, rather than 40/5=840/5=8.

Point estimate

A point estimate is a single value calculated from sample data to estimate a population parameter. Use the sample mean xˉ\bar x to estimate the population mean μ\mu:

μ^=xˉ=∑xin\hat\mu=\bar x=\frac{\sum x_i}{n}

The sample mean varies between samples; the population mean being estimated is fixed.

This point-estimation rule is not separately printed in the formula booklet. The sample-variance formula below is supplied. Its divisor is n−1n-1, because the deviations are taken from the estimated mean. You need to use this result, not prove why it is unbiased.

Sample variance as a population-variance estimate

For a sample of size n>1n>1,

s2=∑(xi−xˉ)2n−1=∑xi2−(∑xi)2/nn−1s^2=\frac{\sum(x_i-\bar x)^2}{n-1} =\frac{\sum x_i^2-(\sum x_i)^2/n}{n-1}

Use s2s^2 to estimate σ2\sigma^2, and s=s2s=\sqrt{s^2} to estimate the population standard deviation.

In the formula booklet.

“Unbiased” describes the variance estimator: across random samples its mean is the population variance. It does not promise that one sample gives the true value, or that a biased sample becomes representative after this calculation.

Worked example 1: estimate from a short sample

Question. A random sample is 8,10,12,14,168,10,12,14,16. Estimate the population mean and variance.

Plan. Find the sample mean, then divide the sum of squared deviations by n−1n-1.

xˉ=605=12estimate the population mean∑(xi−xˉ)2=16+4+0+4+16=40squared deviationss2=405−1=10estimate the population variance\begin{aligned} \bar x&=\frac{60}{5}=12 && \text{estimate the population mean}\\ \sum(x_i-\bar x)^2&=16+4+0+4+16=40 && \text{squared deviations}\\ s^2&=\frac{40}{5-1}=10 && \text{estimate the population variance} \end{aligned}

Why this step? Dividing by 55 describes the variance of the five-value list with equal weights; it is not the required sample-variance estimate.

Answer. Estimated mean 1212, estimated variance 1010.

Check. The summary formula gives (760−602/5)/4=10(760-60^2/5)/4=10 too.

Change only the measurement scale: multiply every observation by 22. Means double, while squared deviations multiply by 44.

Worked example 2: changing the measurement scale

Question. Estimate the population mean and variance from the random sample 16,20,24,28,3216,20,24,28,32.

Plan. Calculate the new summaries, retaining divisor n−1n-1.

xˉ=1205=24new sample mean∑xi2=3040sum of squared observationss2=3040−1202/54=40sample-variance formula\begin{aligned} \bar x&=\frac{120}{5}=24 && \text{new sample mean}\\ \sum x_i^2&=3040 && \text{sum of squared observations}\\ s^2&=\frac{3040-120^2/5}{4}=40 && \text{sample-variance formula} \end{aligned}

Why this step? A variance has squared measurement units, so multiplying all observations by 22 multiplies the variance by 222^2.

Answer. Estimated mean 2424, estimated variance 4040.

Check. These are 2(12)2(12) and 4(10)4(10), matching the scale change.

On many calculators, the sample standard deviation is labelled sxs_x, while a different output divides by nn. Check the definition rather than relying on the position of the menu entry.

Watch out

Wrong: use divisor nn when asked to estimate a population variance from a sample.

Right: use n−1n-1. Also distinguish s2s^2, a variance, from ss, a standard deviation.

Multiply the original measurements by a different scale factor.

A sample mean has its own distribution

Imagine repeatedly drawing 3636 independent measurements from a population of mean 5050 and standard deviation 1212. Each sample has a different mean. Those means form a new distribution, centred at 5050, with standard deviation 12/36=212/\sqrt{36}=2.

Sampling distribution and standard error

Before the observations are taken,

X‾=X1+⋯+Xnn\overline X=\frac{X_1+\cdots+X_n}{n}

is a random variable. Its probability distribution is the sampling distribution of the mean. A realised value is written xˉ\bar x.

The standard error of the mean is the standard deviation of this sampling distribution.

Independent observations make the mean less variable than a single observation. Expectation adds nn copies of μ\mu; variance adds nn copies of σ2\sigma^2, then dividing the total by nn divides its variance by n2n^2.

Mean, variance and standard error of a sample mean

For nn independent observations from a population with mean μ\mu and finite variance σ2\sigma^2,

E(X‾)=μ,Var⁡(X‾)=σ2n,SE⁡(X‾)=σnE(\overline X)=\mu,\qquad \operatorname{Var}(\overline X)=\frac{\sigma^2}{n},\qquad \operatorname{SE}(\overline X)=\frac{\sigma}{\sqrt n}

If σ\sigma is unknown, estimate the standard error by s/ns/\sqrt n. These moment results do not require a Normal population.

Not in the formula booklet: learn it.

A standard deviation describes variation between individual observations. A standard error describes variation between their sample means. The similar-looking formula does not make them the same quantity.

Worked example 3: repeated samples of thirty-six

Question. A population has mean 5050 and variance 144144. Independent random samples of size 3636 are taken. Find the mean, variance and standard error of their sample means.

Plan. Retain the population mean and divide the population variance by the sample size.

E(X‾)=50sample means centre on μVar⁡(X‾)=14436=4independent mean varianceSE⁡(X‾)=4=2standard deviation of the means\begin{aligned} E(\overline X)&=50 && \text{sample means centre on }\mu\\ \operatorname{Var}(\overline X)&=\frac{144}{36}=4 && \text{independent mean variance}\\ \operatorname{SE}(\overline X)&=\sqrt4=2 && \text{standard deviation of the means} \end{aligned}

Why this step? The variance 144144 belongs to individual observations. It must be reduced before calculating the spread of the means.

Answer. Mean 5050, variance 44, standard error 22.

Check. The standard error is 12/36=212/\sqrt{36}=2, smaller than the individual standard deviation 1212.

Change only the sample size, multiplying it by 44. This halves the standard error, rather than dividing it by 44.

Worked example 4: four times as many observations

Question. Repeat the calculation for independent samples of size 144144 from the same population.

Plan. Replace nn in the variance and standard-error formulae.

E(X‾)=50unchanged population meanVar⁡(X‾)=144144=1new sample sizeSE⁡(X‾)=1square root of variance\begin{aligned} E(\overline X)&=50 && \text{unchanged population mean}\\ \operatorname{Var}(\overline X)&=\frac{144}{144}=1 && \text{new sample size}\\ \operatorname{SE}(\overline X)&=1 && \text{square root of variance} \end{aligned}

Why this step? The square root in the denominator makes precision improve more slowly than sample size grows.

Answer. Mean 5050, variance 11, standard error 11.

Check. 11 is half the previous standard error 22.

If only one sample is available and the population variance is unknown, use its ss to estimate the standard error. This remains an estimate: a second sample can give a different ss.

Exam tip

When asked what standard error means, say “the standard deviation of the sampling distribution of the mean”. Giving only s/ns/\sqrt n explains how it is estimated, not what it is.

Now the spread is estimated from a sample rather than known for the population.

Watch out

Wrong: SE⁡(X‾)=12/36\operatorname{SE}(\overline X)=12/36 for samples of size 3636. The variance divides by nn, but the standard deviation divides by n\sqrt n. Correct: Var⁡(X‾)=144/36=4\operatorname{Var}(\overline X)=144/36=4 and SE⁡(X‾)=12/6=2\operatorname{SE}(\overline X)=12/6=2.

Identify whether a given spread is a variance or standard deviation before using it below.

Normal populations give exact Normal sample means

You already know

Independent Normal combinations are Normal. In particular, for independent N(μ,σ2)N(\mu,\sigma^2) observations,

X‾∼N(μ,σ2n)\overline X\sim N\left(\mu,\frac{\sigma^2}{n}\right)

This holds for every positive sample size, as established in the preceding Normal-combinations lesson.

Here the new sampling-distribution language makes the interpretation clear. A small sample does not prevent an exact Normal mean when the population itself is Normal. You do not need the Central Limit Theorem to justify this case.

Worked example 5: an exact mean probability

Question. Individual measurements are independent with distribution N(120,62)N(120,6^2). Find the probability that the mean of 99 measurements exceeds 123123.

Plan. State the exact distribution of the mean, then calculate its upper tail.

X‾∼N(120,369)=N(120,4)Normal populationP(X‾>123)=P(Z>123−1202)standard error 2=P(Z>1.5)=0.066807…standard Normal tail\begin{aligned} \overline X&\sim N\left(120,\frac{36}{9}\right)=N(120,4) && \text{Normal population}\\ P(\overline X>123)&=P\left(Z>\frac{123-120}{2}\right) && \text{standard error }2\\ &=P(Z>1.5)=0.066807\ldots && \text{standard Normal tail} \end{aligned}

Why this step? Use the mean's standard error 22, not the individual standard deviation 66.

Answer. Probability 0.06680.0668.

Check. The threshold is 1.51.5 standard errors above the mean, so an upper tail below 0.10.1 is sensible.

Change only the sample size from 99 to 3636, keeping the threshold fixed.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account