Complete reference
Sampling and the sample mean
Use this page when you want the full derivations, source detail, and method notes. The main lesson keeps the shorter study path.
Method reference
Statistics, parameters, estimators and estimates
A parameter, such as population mean , variance or coffee-drinking proportion , is fixed for a specified population. A statistic is a function of a random sample: mean, median, mode, standard deviation and proportion are examples.
In the lecture’s coffee example, if counts morning coffee drinkers in a sample of size , the random sample proportion is ; after collecting data its realised value is . Distinguish the random rule from its observed value.
An estimator is a statistic used to estimate a parameter ; an estimate is its realised numerical value.
Unbiasedness means over repeated sampling, not in every sample. The teacher suggests following the short mean proof first and self-reading the longer variance proof; both are retained below.
Why the mean and variance estimates are unbiased
For iid observations with common finite mean and variance , let . By linearity,
This expectation calculation only needs the common mean. Independence is needed when dropping covariances in the variance calculation:
The standard error is . For and positive variance, this variance is smaller than the individual variance; at it is equal.
For dependent observations, covariance terms must be included. An exact finite-population sample without replacement may require a finite-population correction; do not silently replace that sampling design with iid draws.
For , define
Expand the centred sum:
because . Here is common to every summand, but it is still a random variable; the source’s phrase “ is a constant” is only meaningful with respect to the summation index. We do not pull it out of an expectation as a deterministic quantity.
Using and ,
Thus the observed is an unbiased variance estimate. This does not say that is generally unbiased for .
Formula and calculator notation tables
Choose the case that matches the supplied data. Calculate the mean and variance separately, then check which denominator the calculator uses.
Given data: and
- Mean estimate:
- Unbiased variance estimate:
Given data: and
- Mean estimate:
- Unbiased variance estimate:
Given data: Variance computed with denominator
- Mean estimate: Use the observed mean
- Unbiased variance estimate: Multiply that variance by
Quantity: Population parameter
- Mean notation:
- Variance notation:
Quantity: Observed sample summaries
- Mean notation:
- Variance notation: Source “sample variance”: ; calculator
Quantity: Unbiased population estimates
- Mean notation:
- Variance notation: ; calculator
“Sample variance” is used with different denominator conventions in different texts. This source uses the denominator- version in its MF27 comparison, then multiplies by . Check the formula rather than inferring it from the name.
For nonconstant data, calculator is larger than because its squared value has denominator ; both are zero for constant data.
Square the stored to obtain and avoid premature rounding.
Raw values go in L1; a frequency table also requires its frequencies in L2, as Examples 2 and 3 show.
Why shifting simplifies the arithmetic
The lecture contrasts with for . A shift changes the mean but not the centred sum of squares. First,
Next, expand both terms:
Dividing by proves the shifted variance formula. Do not add the shift back to a variance.
Calculate, then explain what the estimate means
For ten observations, and . Find estimates of the population mean and variance. Explain which estimate needs the shift restored and why the variance estimate uses 9.
After your attempt: compare the reasoning
The mean estimate is . The unbiased variance estimate is . Shifting changes the mean but leaves centred deviations unchanged. The deviations from the sample mean must sum to zero, so only nine can vary freely; this motivates the denominator . The estimate 10 is not a guarantee that the population variance equals 10.
Sampling distributions: exact normal and CLT cases
Start by identifying the random quantity: one observation, the sample mean, or the total. Then decide whether normality is exact or justified as an approximation.
A sampling distribution describes the values of a statistic across repeated samples of the same size. It is not the distribution of the observations within one sample. The teacher suggests a spreadsheet illustration; the comparison figure below shows the same change in shape and spread mathematically.
For iid , the sample mean is exactly and the total is exactly for any positive integer .
Normality is preserved under independent linear combinations; no large-sample argument is needed.
For iid observations with finite variance , the central limit theorem states that
For a sufficiently large sample, write by CLT, or equivalently .
This is a limiting distribution result used for approximate probabilities and inference, as the source’s “Limits” callout explains.
The source suggests as a working guideline; it is not a universal guarantee for highly skewed or heavy-tailed distributions. The quality depends on the population and on the event being approximated, especially a tail.
If is discrete, remains discrete even when a continuous normal approximation is useful.
Increasing changes the sampling distribution, not the individual-observation distribution.
For small and an unknown population distribution, mean and variance alone do not determine an exact normal probability. State and justify any extra normality assumption rather than treating it as a fact; a near-normal population may support an approximation.
Larger gives asymptotic convergence, not a promise that every finite-sample tail error decreases monotonically.
Decide which distribution you are describing
Compare two sets of independent observations: one from a normal population and one from a strongly right-skewed population with finite variance. Both populations have mean 40 and variance 100. For each population, describe what can be said about sample means based on 4 observations and on 100 observations. Distinguish a distribution’s moments from a justified normal model.
After your attempt: compare the models
In both cases . The variances are 25 for and 1 for .
For the normal population, the means are exactly and .
For the skewed population, four observations do not justify assuming a normal mean.
At 100 observations a CLT approximation may be appropriate, but adequate sample size depends on the skewness and the probability being estimated.
The individual observations remain skewed; repeated sample means are the quantities whose distribution changes.
Reference: the retained discrete-sampling comparison
For the lecture’s plants, and , so exactly and . In contrast, sixty iid counts have by CLT; the source’s upper tail .00491 is approximate, while the exact binomial total gives .004301767. The worked examples below retain both methods and their qualifications.
This comparison retains the lecture’s discrete sampling example and its exact-versus-approximate qualification. For normal-probability calculations in the main worked example, identify whether the quantity is an individual observation or a sample mean.