A narrow confidence interval for a robot measurement's mean does not imply that the next individual reading will fall within that narrow interval. Estimating an average and predicting a future observation are different statistical questions.

More repeated observations can make the average more precisely estimated while leaving substantial variation in individual observations. An interval label needs to identify which uncertainty it represents.

NIST's statistical handbook defines confidence limits for a mean, and its Dataplot reference describes prediction limits for one or more new observations. The calculations below use original hypothetical summaries and an explicit normal model. They are not a capability study, a sensor specification, or a prediction validated on robot data.

State the statistical experiment

Assume n independent observations from one normal population with fixed unknown mean μ and unknown variance σ². Let xbar be their sample mean and s their sample standard deviation, using denominator n − 1 in the variance calculation.

Assume any future observations discussed here are independent of this historical sample and come from the same population. There is no drift, change of operating condition, selection of favorable readings, or shared error that invalidates independence in the declared model.

These assumptions define the example. Repeated values from a robot log do not establish them simply by having timestamps or a large sample count.

For a two-sided 95% confidence interval for μ, use xbar ± t* s/√n, where t* is the 97.5th percentile of Student's t distribution with n − 1 degrees of freedom.

The s/√n term describes the estimated sampling scale of the mean. It is smaller than s because averaging independent observations reduces variation in the average.

An original timing-summary calculation

Invent a sample summary with n = 25, mean 40 ms, and sample standard deviation 5 ms. Treat the normal, independent, unchanged-population model as stipulated rather than inferred from those three numbers.

For 24 degrees of freedom, use the rounded critical value t* ≈ 2.064. The estimated standard error of the mean is 5/√25 = 1 ms.

The confidence-interval half-width is therefore approximately 2.064 ms. The resulting interval is approximately [37.936, 42.064] ms.

This interval targets the population mean. It is not intended to contain 95% of all individual durations, and it is not an operating deadline.

Its frequentist confidence level describes the repeated-sampling procedure. Under the assumptions, repeating the full sample-and-interval construction would cover the fixed population mean in 95% of repetitions, apart from the rounding used here. It does not assign a new 95% probability to the fixed mean after this particular interval has been observed.

The next observation has an additional source of variation

Let Ynew be one independent future observation from that same normal population. Its difference from the historical mean estimate contains both the new observation's deviation from μ and the estimation error in xbar.

Under independence, their variances add: Var(Ynew − xbar) = σ² + σ²/n = σ²(1 + 1/n).

Replacing σ by s and using the corresponding t pivot gives the two-sided prediction interval xbar ± t* s√(1 + 1/n).

For the invented summary, the scale becomes 5√1.04 ≈ 5.099020 ms. Multiplying by the same rounded 2.064 critical value gives a half-width of approximately 10.524376 ms.

The prediction interval is therefore approximately [29.475624, 50.524376] ms. It is much wider than the mean confidence interval, although both use exactly the same historical summary.

The extra width does not come from choosing a less precise confidence level. Both procedures use a nominal 95% level under the stated model. They cover different targets.

Compare the widths without repeating the arithmetic

The ratio of prediction half-width to mean-confidence half-width is √(n + 1). With n = 25, that ratio is √26 ≈ 5.099020.

The sample standard deviation and critical value cancel from this ratio. The comparison isolates the distinction between one future observation and the historical mean estimate.

Increasing n shrinks the mean-estimation term. It does not remove the future observation's own σ² contribution. With a stable nonzero population spread, collecting more historical observations cannot make individual future observations identical.

A future observation at 47 ms would lie outside the displayed mean interval but inside the displayed prediction interval. That fact is consistent with what each interval was designed to express. It is not, by itself, evidence of a changed mean or a faulty instrument.

Nor does one observation inside either interval validate the assumptions. Coverage is a property of the procedure under its model, not a quality certificate attached to a single outcome.

Predicting a future average is another question

Suppose the target is the mean of m new independent observations rather than a single new value. Its difference from xbar has variance σ²/m + σ²/n.

The prediction interval for that new average uses xbar ± t* s√(1/n + 1/m). The historical sample still supplies the estimate s and its n − 1 degrees of freedom in this construction.

For m = 25 and the same invented historical summary, the scale is 5√0.08 ≈ 1.414214 ms. The half-width is approximately 2.918937 ms, producing [37.081063, 42.918937] ms.

This is wider than the confidence interval for the fixed population mean because the new average also varies from sample to sample. It is narrower than the single-observation prediction interval because the new twenty-five-value average has less variation than one value.

The future sample count changes the prediction target; it does not retroactively add observations to the historical sample.

An interval is not a physical error bound

Systematic calibration error, changing operating states, dependence, and a nonnormal population can all change the interpretation or suitability of these formulas. A timing distribution with a hard lower boundary and a long upper tail may not be represented well by the stipulated normal model.

A prediction interval for one future value also differs from a tolerance interval intended to cover a specified fraction of a population. Multiple future comparisons require their own coverage question; one 95% prediction interval is not a joint guarantee for an unlimited sequence of readings.

For a robot measurement report, keep the target, model, sample size, standard-deviation convention, and coverage meaning with the endpoints. A precise estimate of an average can coexist with a broadly varying next observation.

Sources checked October 23, 2026: NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.2 Confidence Limits for the Mean, official web edition as accessed: https://www.itl.nist.gov/div898/handbook/eda/section3/eda352.htm

NIST Dataplot reference, PREDICTION LIMITS, mean of one or more new observations, web edition as accessed; no page revision date inferred: https://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/predlimi.htm

Illustration note: A generic robot sensor or monitoring scene is a concept illustration. It does not show measured timing data, empirical interval coverage, or a certified measurement bound.