Confidence intervals and estimation uncertainty

Calculate an interval for an unknown mean, explain why individual volatility and uncertainty in an average are different, and interpret a 95% confidence level. You will then reduce the sample size and identify which conclusions the interval cannot support.

Before you start: define what is unknown

A sample is the observations collected. A population is the full distribution those observations are assumed to come from. A parameter describes that population; here μ, pronounced mu, is its unknown arithmetic mean monthly return. Expected value is this probability-weighted population average. The sample mean, written R̄, adds observed monthly returns and divides by their count n. It is an estimator: a rule for estimating μ from data.

Standard deviation measures the spread of individual observations around their mean. Write σ, pronounced sigma, for population standard deviation. Standard error measures the spread of an estimator across hypothetical repeated samples. These answer different questions: how variable is one monthly return, and how variable is the sample mean?

Returns below are simple one-month percentage returns before fees, taxes and inflation, with no deposits or withdrawals. One percentage point is the difference between 1% and 2%. When we calculate in percentage-point units, a mean of 1 means a 1% monthly return, while σ = 2 means a spread of 2 percentage points. Neither quantity is an annual return.

Step 1: state the synthetic sampling model

Assume n = 100 independent monthly observations from the same normal distribution. Normal means the symmetric bell-shaped model. Independence means one observation supplies no information about another. The population mean and spread stay the same throughout the sample. Assume σ is known to equal 2 percentage points, while the observed sample mean is R̄ = 1%. These are chosen inputs, not a claim that actual market returns follow this model.

Keeping σ known isolates uncertainty about μ. Real population volatility is usually unknown, and normality, independence and stability need evidence. One hundred months describes the sample length; the quantity being estimated remains a mean for one month, not a cumulative return over those months.

Step 2: turn individual spread into standard error

Variance is standard deviation squared. For independent observations with the same population variance σ², the variance of their sum is n × σ². Dividing that sum by n to form a mean divides its variance by n². Thus the variance of the sample mean is σ² ÷ n, and its standard deviation, the standard error, is SE = σ ÷ √n. The square root symbol √ reverses squaring.

Here √100 = 10, so SE = 2 ÷ 10 = 0.2 percentage points. Individual monthly standard deviation remains 2 percentage points. Averaging made the estimator more precise under this model; it did not make each monthly outcome less variable.

Step 3: calculate the interval endpoints

For this normal model, (R̄ − μ) ÷ SE follows the standard normal distribution, a normal distribution centered at zero with standard deviation one. About 95% lies between −1.96 and +1.96. The number 1.96 is the rounded two-sided 95% critical value; it leaves about 2.5% in each tail.

Rearranging −1.96 ≤ (R̄ − μ) ÷ SE ≤ 1.96 puts μ between R̄ − 1.96 × SE and R̄ + 1.96 × SE. This gives the interval rule: sample mean ± critical value × standard error. The margin of error is 1.96 × 0.2 = 0.392 percentage points.

Subtract and add that margin to the 1% sample mean: the lower endpoint is 1 − 0.392 = 0.608%, and the upper endpoint is 1 + 0.392 = 1.392%. The full width is 1.392 − 0.608 = 0.784 percentage points. Every endpoint concerns the unknown population mean monthly return.

Step 4: interpret the 95% label

Imagine repeatedly drawing a fresh sample of 100 observations from this same population and applying this same rule. Sample means and endpoints change; μ does not. Over many repetitions, about 95% of the resulting intervals contain μ. This is coverage, a property of the procedure under the assumptions. It does not mean exactly 95 of every 100 intervals must succeed.

Once this sample is observed, 0.608% to 1.392% either contains μ or does not. The confidence label does not assign a 95% posterior probability to μ being there. A posterior probability is a probability about a parameter after observing data within a Bayesian model, which also specifies prior assumptions. We have not supplied such a model.

The interval also does not say that 95% of upcoming monthly returns lie between these endpoints. Those individual outcomes still have an assumed spread of 2 percentage points. A prediction interval for a new outcome must account for its individual variation as well as uncertainty in the estimated mean. More data can narrow the mean interval without removing uncertainty in the next month.

Step 5: know when this recipe fails

If σ is unknown, replacing it with a sample standard deviation does not make it known. For independent normal observations, use R̄ ± t* × s ÷ √n, where s is the standard deviation estimated from the sample and t* is the two-sided 95% Student t critical value with n − 1 degrees of freedom. Degrees of freedom count the independent deviations left after estimating the sample mean. The t critical value is larger than the corresponding normal critical value for finite n, reflecting uncertainty in the estimated spread.

That t adjustment does not repair dependence or a changing population. Consecutive or overlapping returns can violate independence. The linked dependent-returns lesson explains why σ ÷ √n can then misstate standard error. With non-normal data, the exact small-sample normal and t arguments above no longer apply; any approximation needs its own justification.

Sampling and selection matter too. Omitting failed strategies or choosing the best-looking interval after screening many strategies changes the procedure. Its nominal 95% label does not automatically retain 95% coverage after that selection. Repeatedly checking results and stopping at a favorable interval also requires a method designed for that stopping rule. A positive lower endpoint under an inadequate procedure cannot establish a dependable investment opportunity.

Check your understanding: use one quarter as many observations

In a separate synthetic sample, keep the observed mean at 1%, the known σ at 2 percentage points and the same independent normal model, but use n = 25 monthly observations. What are the standard error, margin, endpoints and full width? Does the wider interval imply greater individual monthly volatility? Does it give the probability that next month is positive?

Answer: √25 = 5, so SE = 2 ÷ 5 = 0.4 percentage points. The margin is 1.96 × 0.4 = 0.784 points. Endpoints are 1 − 0.784 = 0.216% and 1 + 0.784 = 1.784%. Full width is 1.568 percentage points, twice the earlier 0.784. Cutting the count to one quarter doubles standard error because the square root of the count halves.

Individual monthly volatility remains 2 percentage points. The mean is estimated less precisely because the sample is smaller. Neither interval is a probability statement about a positive next month. Both lower endpoints are positive, but that fact neither eliminates monthly losses nor verifies the sampling assumptions. In a real new sample the observed mean could also change; holding it fixed here isolates the effect of n.

General education, not investment advice. Every numerical input below is synthetic and illustrative, not historical market data or evidence of model performance. The normal model and known population standard deviation are teaching assumptions. No calculation establishes investment suitability, a guaranteed gain or future performance.

Where this comes from

Frequently asked questions

Would 99% confidence produce a narrower interval?

No. With the same observations and model, requiring greater coverage needs a larger critical value and a wider interval. Precision and confidence level must be interpreted together.

Can I annualize these endpoints by multiplying by twelve?

That would change the target. These endpoints estimate a mean monthly simple return. An annual compounded-return calculation requires a model of the sequence and its dependence, not just relabeling monthly endpoints.

Does a larger sample fix selection bias?

No. More observations can reduce sampling variation within a valid model, but they do not by themselves correct biased inclusion, multiple searches or a population that changed.

Related glossary terms

Continue this course

Investor education only — not investment advice, and never a promise of profit. Every investment can lose value.