ValidationIntermediate25 min read

The next outcome is not the mean: prediction and confidence intervals

Distinguish uncertainty about a mean from variation in a future outcome, with worked examples, forecast coverage checks and clear interval labels.

A brass telescope beside a magnifying glass and a blue notebook on a cream desk
Conceptual image: estimating what is typical and anticipating what comes next require different lenses.

The band was narrow, but it covered the wrong question

A researcher asks an AI assistant to summarize a collection of outcomes. The assistant calculates an average and places a narrow shaded band around it. The researcher then asks what the next outcome might be and receives the same chart. Nothing in the arithmetic changed, but the question changed completely. A band that describes uncertainty about an average is now being read as a range for one future observation.

This fictional scene captures a common reporting problem. The quantity inside an interval matters more than the interval’s appearance. An estimated mean, a future individual outcome, an average of future outcomes and the maximum loss over a future path are different targets. They can share units and appear on similar charts without being interchangeable. A label that says only “95% interval” leaves the central question unanswered.

We will use deliberately simple hypothetical outcomes measured in dollars to make the distinction visible. The examples are not backtests of TradeAndRoll systems, and their distributional assumptions are teaching devices rather than claims about trading data. We will then examine what changes when outcomes are dependent, conditions shift or the forecast is assessed over many future periods.

The practical goal is straightforward: before an interval influences a research decision, identify what it is intended to cover, what information was available when it was produced and which assumptions support its coverage claim. That small discipline prevents a precise statement about one object from becoming an unjustified statement about another. It also makes an AI-generated analysis much easier to review.

Two targets that happen to use the same units

A confidence interval for a population mean concerns an unknown parameter of the process under study. In a frequentist interpretation, the confidence level describes the repeated-sampling coverage of the procedure under its assumptions. It is not, without a separate probabilistic model for the parameter, a statement that a fixed realized interval assigns a particular probability to the mean. The distinction is subtle, but it keeps the interpretation tied to the method that generated the interval.

A prediction interval concerns a future random outcome, or another explicitly defined future quantity. It must account for the variability of that future quantity as well as relevant uncertainty in its prediction. NIST’s discussion of a single response distinguishes uncertainty in an estimated average from the additional variation of a new measurement. NIST: uncertainty of a single response. That is the conceptual distinction used here; our numerical examples are original.

Suppose the mean outcome of a stable process were known exactly. There would be no remaining estimation uncertainty about that mean, but individual observations could still vary widely around it. Knowing the typical value does not force the next observation to equal it. Future variation does not disappear merely because a parameter is estimated precisely. This is the reason a prediction question cannot usually be answered with the standard error of the mean alone.

The reverse confusion is also possible. A wide range for one future outcome does not prove that the mean is poorly estimated. A process can be highly variable at the individual level while its mean is estimated reasonably precisely from enough relevant information. The two statements describe different aspects of uncertainty. A useful report can show both without presenting one as a contradiction of the other.

Name the target before naming the confidence level. “An interval for the expected daily outcome” and “an interval for the next daily outcome” are much clearer than a generic uncertainty band. If the target is conditional on a market state or a particular model, include that condition in the description rather than letting it disappear in a footnote.

An interval for an unknown mean is distinguished from an interval for one future random outcome
Same units, different targets. A statement about the mean does not automatically describe the next observation.

A transparent numerical example with deliberately strong assumptions

Assume, solely for this example, independent and identically distributed normal outcomes with an unknown mean and a known standard deviation of USD 100. Suppose 100 observations have a sample mean of USD 20. The known standard deviation is a mathematical simplification; in a real investigation it would usually need estimation or a more suitable model. We use a normal multiplier rounded to 1.96 for a two-sided 95% construction.

The standard error of the sample mean is USD 100 divided by the square root of 100, or USD 10. The corresponding confidence interval for the mean is USD 20 plus or minus USD 19.60: from USD 0.40 to USD 39.60. Under the stated model, this procedure addresses uncertainty about the process mean. It does not claim that 95% of individual outcomes lie inside those narrow limits.

For one new independent observation from the same process, the difference between that observation and the sample mean has variance equal to 100 squared times one plus one hundredth. The prediction standard deviation is therefore approximately USD 100.50. Multiplying by 1.96 gives a half-width of approximately USD 196.98. The prediction interval runs from about negative USD 176.98 to positive USD 216.98.

The two intervals share the same center, but their widths answer different questions. One reflects uncertainty in estimating a mean from 100 observations; the other also includes the variation of the next observation. A positive lower confidence bound for the mean does not imply a positive next outcome. In this invented example, the individual predictive range extends far below zero even though the displayed confidence interval for the mean does not.

Do not transplant these numerical limits into trading research. The example assumes normality, independence, a stable distribution and known variability. It is designed to expose the difference between targets, not to justify those assumptions for market outcomes. A report that copies the calculation while dropping the assumptions has kept the convenient arithmetic and discarded the conditions that gave it meaning.

More data can narrow one band while barely changing the other

Keep the same hypothetical standard deviation of USD 100 and suppose the sample size increases from 100 to 400, while the observed mean remains USD 20. The standard error of the mean falls from USD 10 to USD 5. The 95% confidence half-width falls from USD 19.60 to USD 9.80, giving limits of USD 10.20 and USD 29.80. Four times the independent observations halve this particular standard error.

The interval for one new observation changes much less. Its half-width becomes 1.96 times 100 times the square root of one plus one four-hundredth: approximately USD 196.24. Its limits are about negative USD 176.24 and positive USD 216.24. The researcher’s estimate of the center improved, but the next observation still comes from a process with a standard deviation of USD 100.

This contrast explains why a large archive cannot make an intrinsically variable outcome nearly certain. As estimation uncertainty decreases under the model, the future observation’s own variation remains. More relevant data can still be valuable: it can improve estimates, reveal misspecification and support better conditional models. It cannot remove uncertainty simply by increasing the row count in an unrelated or unstable sample.

The phrase “more data” also deserves scrutiny. Four hundred highly dependent observations are not equivalent to four hundred independent ones. Four hundred observations from a different operating regime may answer a different question. A growing archive can even make a misspecified estimate look more precise while its relevance to the next period deteriorates. Precision is conditional on the measurement and model being appropriate.

A shrinking standard error is not a shrinking distribution of future outcomes. A chart that places both bands on the same axis can make this distinction immediately visible. Label the model and sample sizes, and avoid using the narrow band as the hero graphic for a claim about what the next trade will do.

Increasing a hypothetical independent sample from 100 to 400 halves mean confidence half-width from 19.60 to 9.80 dollars while one-outcome prediction half-width stays near 197 dollars
Original normal-model example with known standard deviation USD 100. Sample size changes estimation uncertainty much more than individual future variation.

The next average and the next total are new targets again

The future object might be an average of several observations rather than one observation. Under the same independent stable model, averaging reduces the new sample’s variation. NIST’s prediction-limit documentation explicitly distinguishes the mean of a specified number of new observations from a single future observation. NIST: prediction limits for a future mean. The number of future observations is part of the target, not a detail to choose after seeing the outcome.

Continue the known-variability example with 100 historical observations and ask about the average of the next 25 independent observations. The variance of the difference between that future average and the historical mean is 100 squared times the sum of 1/100 and 1/25. Its standard deviation is approximately USD 22.36, so the 95% prediction half-width is approximately USD 43.83. Centered at USD 20, the limits are about negative USD 23.83 and positive USD 63.83 for the future average.

Now ask about the total of those same 25 future observations. Multiplying the average by 25 changes both the center and the interval. The predicted total is USD 500, with approximate limits of negative USD 595.67 and positive USD 1,595.67 when calculated before rounding. That is not the same as saying that each of the 25 observations lies inside the interval for their average. The aggregation defines what is being covered.

In a trading application, a sequence of profits may not add under a fixed scale. Reinvestment, varying position sizes, overlapping positions and costs can make the portfolio path state-dependent. A prediction interval for a simple sum of independent dollar outcomes is then not an interval for the account’s compounded return. The arithmetic target must match the economic target. A clear label should state whether the outcome is per trade, per day, per unit of exposure or for a complete account path.

The calculation also shows why horizon should never be omitted. “The expected result is twenty dollars” says little without identifying the unit and horizon. A well-labelled report can compare one observation, an average and a total side by side, while explaining that each requires its own uncertainty calculation and assumptions about dependence.

Unknown variability and model uncertainty cannot be wished away

The known standard deviation in our example was an explicit simplification. When variability is estimated from a finite normal sample, a conventional construction uses an appropriate Student distribution adjustment and the estimated standard deviation. That change accounts for a specified source of estimation uncertainty under the model. It does not turn an unstable or dependent trading series into an independent normal sample.

There are several layers to distinguish. Parameter uncertainty concerns quantities estimated inside a chosen model. Outcome variation concerns the new observation generated under that model. Model uncertainty concerns whether the model’s structure and assumptions adequately describe the intended situation. A single software-produced interval may account for some layers and omit others. The analyst should identify which layers are included rather than assuming that a 95% label absorbs every possible uncertainty.

For example, a model might estimate a conditional mean and conditional variance from historical features. Its prediction interval can be wide in a volatile state and narrow in a quiet state. If the future state lies outside the conditions represented in the training data, that conditional calculation may be poorly supported. An elegant interval does not establish that the model extrapolates reliably into an unfamiliar environment.

Ask what the interval leaves fixed. Does it treat a fitted model as known? Does it include uncertainty in estimated costs? Does it assume that the future observation comes from the same process as the historical sample? Does it condition on information that would genuinely be available at the prediction time? These questions make the method’s scope concrete and often reveal more than comparing two software packages’ default interval widths.

Sensitivity analysis can help expose omitted assumptions. Recalculate under defensible alternatives for volatility, costs or dependence and describe the changes. Do not combine the resulting ranges into a supposedly calibrated interval unless a method justifies that construction. A collection of sensitivity scenarios is useful precisely because its assumptions remain visible; it need not pretend to be a single probability statement.

The forecast must be recorded before its outcome arrives

A predictive claim has a chronology. The information available at the prediction time determines what the method could legitimately use. An interval calculated after seeing the outcome may be a useful retrospective diagnostic, but it is not the forecast that was available beforehand. Preserve the prediction time, target time, model version, input data version and interval bounds as they were issued.

Suppose a model predicts the next day’s net result using the current volatility state. The state must be measurable from information available at issuance. A label built from the next day’s realized high and low would use future information. The resulting interval might appear to adapt impressively to difficult days, but that apparent skill would not be available in the intended workflow. A correctly calculated interval can still be based on unavailable information.

The outcome definition also needs to be frozen. If the forecast targets a daily marked-to-market result, evaluate it against that result under the same accounting convention. Do not switch to closed-trade profit because it fits the interval more often. Preserve costs, currency conversion and treatment of missing observations. A model can look better simply because the evaluation variable changed, even when its actual predictive ability did not.

For a rolling investigation, retain a ledger with one row per issued prediction. Include the bounds, nominal coverage, horizon, relevant state and eventual observed outcome. Record withdrawals and unavailable forecasts rather than quietly removing them. The ledger makes it possible to distinguish a method that forecasts every eligible interval from one that selectively reports only easy cases. Both policies can be studied, but their populations differ.

A forecast reconstructed with hindsight is not a forecast preserved in advance. An archive of issued predictions is therefore more informative than a chart regenerated using the final model. It allows another reader to examine whether the model’s stated uncertainty corresponded to the decisions and information actually available at the time.

Overlapping horizons deserve their own field in that ledger. A forecast for the next 25 days issued today and another issued tomorrow share most of their eventual outcomes. Their coverage indicators are therefore not automatically independent observations. A sequence of misses may reflect one common episode rather than many separate failures, and a long sequence of successes may likewise contain less independent evidence than its row count suggests. Forecast count and independent evidence are different quantities.

Preserve the target interval’s start and end, not just its issue date. This allows a reviewer to identify overlap and select an evaluation method that respects it. It also prevents an easy accounting mistake: comparing a 25-day forecast with whichever 25 observations happen to be available after missing records were removed. The target should remain the one specified at issuance. If the required outcome cannot be reconstructed, record it as unavailable under the stated policy rather than quietly changing the horizon.

Pointwise coverage is not coverage of the entire future path

A chart may display a band at each of several future horizons. The meaning of those bands depends on their construction. A pointwise 95% interval at each horizon does not automatically mean that the entire path lies inside all the intervals with 95% probability. Covering each future quantity separately and covering a collection simultaneously are different events.

For a deliberately simple arithmetic illustration, consider two independent future outcomes, each covered by its own 90% interval under an idealized procedure. The chance that both are covered is 0.9 times 0.9, or 81%. This is not a model for two overlapping trading forecasts; it is a small example showing why individual coverage cannot be read as joint coverage. Dependence and the method’s construction determine the actual relationship in a concrete setting.

The distinction becomes especially important when the target is a path-dependent quantity. Maximum drawdown, worst cumulative loss and time below a threshold depend on the sequence, not merely on one terminal observation. Taking the lower edge of a series of pointwise intervals does not automatically create a calibrated bound for maximum drawdown. It may combine marginally adverse values that do not form a plausible joint path.

Name a path claim as a path claim. If the intended question concerns a future maximum, minimum or accumulated account result, construct and evaluate that target directly with a method appropriate to its dependence and state rules. A set of marginal bands can remain a useful display, but its caption should not silently promote it into simultaneous protection.

The forecasting text by Hyndman and Athanasopoulos discusses predictive distributions and horizon-specific intervals as distinct from point forecasts. Forecasting: Principles and Practice, the forecaster’s toolbox. The practical extension here is to keep the horizon and event being covered explicit whenever the chart is used to discuss a trading research question.

One future outcome, the average of 25, the total of 25 and a whole-path maximum are shown as separate prediction targets
Changing the future object changes the calculation. Pointwise intervals do not automatically cover a whole trajectory.

Asymmetric outcomes need not produce symmetric intervals

The normal teaching example produced limits equally distant from the center. That symmetry came from the model. It is not a rule that every predictive interval must obey. A distribution with a long adverse tail can have a lower predictive limit much farther from a central summary than its upper limit. Forcing symmetry can hide an economically important feature of the assumed outcome distribution.

Imagine an entirely hypothetical predictive distribution with median USD 15, lower 2.5% quantile negative USD 180 and upper 97.5% quantile positive USD 90. Its central interval is asymmetric around the median. These numbers are invented to illustrate a shape, not estimated from a robot. They do not determine the distribution’s mean, and the interval’s midpoint should not be casually relabelled as the expected outcome.

Quantile estimates themselves can be uncertain, especially near sparsely observed tails. An estimated predictive lower quantile and a confidence interval for that quantile are different objects again. One describes a location in the forecast distribution; the other concerns uncertainty in estimating that location under a specified procedure. The distinction can be represented clearly, but piling several unlabeled bands onto one chart often makes the analysis less understandable.

An observed minimum is not automatically a predictive lower bound. A historical sample may not include the kind of outcome that matters most for the next period. Resampling or fitting a tail model introduces assumptions about what the archive represents and how far extrapolation is justified. Those assumptions should be documented rather than hidden behind the visual authority of a percentile label.

Choose a display that fits the question. A small table of central estimate, lower limit, upper limit, target and assumptions may communicate more than an elaborate shaded curve. If an asymmetric interval is used, explain whether the tails have equal nominal probability or whether a different criterion selected the bounds. Similar-looking ranges can encode different definitions.

Coverage is necessary to inspect, but width matters too

Once outcomes arrive, count how often they fall inside the issued intervals. In a hypothetical ledger of 20 forecasts, 18 outcomes inside their intervals produce an observed coverage rate of 90%. That raw fraction is a descriptive result for those forecasts. It is not proof that the method’s population coverage is exactly 90%, especially with a small or dependent sample.

Break the count into relevant, predeclared conditions where the data support it. Suppose eight quiet-state forecasts all contain their outcomes, while ten of twelve active-state forecasts contain theirs. The overall rate remains 18/20. The subgroup rates are 8/8 and 10/12, or 100% and about 83.3%. These invented counts illustrate why an acceptable-looking average can conceal uneven behavior; the small groups do not justify precise conclusions about conditional coverage.

A method can obtain high coverage by issuing extremely wide intervals. A range that includes almost every conceivable outcome may be safe descriptively but unhelpful for the intended research decision. Inspect interval width, misses and their economic scale alongside coverage. Coverage without sharpness can be uninformative; narrowness without coverage can be misleading. A proper evaluation balances these aspects using a stated criterion rather than rewarding whichever chart looks tightest.

Examine where misses occur. A small miss just outside an upper bound and a large adverse miss below a lower bound have different economic implications, even if both count as one failure in a simple coverage proportion. Preserve signed errors and distances to bounds. Do not redefine the interval afterward to absorb inconvenient misses and then report the revised band as the originally issued forecast.

The review should also retain forecasts that could not be issued. If a method abstains during difficult conditions, evaluate that abstention policy explicitly. High coverage among the remaining easy observations does not describe the entire operating population. A useful report states both the fraction of eligible cases receiving forecasts and the performance of those forecasts.

A hypothetical coverage ledger has 8 of 8 quiet-state outcomes and 10 of 12 active-state outcomes inside intervals, totaling 18 of 20
Invented coverage counts illustrate aggregation. Small conditional samples need uncertainty, and coverage should be read alongside interval width.

Costs and decisions can change the variable being predicted

A forecast of gross price-related profit is not a forecast of the net account result. In a simple hypothetical case with a deterministic cost of USD 10 per observation, subtracting that cost shifts the mean and both interval endpoints downward by USD 10 without changing the width. This is a translation of the same random variable by a fixed amount, not a new estimate of uncertainty.

If costs vary, the problem changes. Their variation and relationship with gross outcomes affect the net distribution. Costs may be larger precisely when signals are frequent or conditions are difficult. Subtracting an average cost from every predictive endpoint can therefore miss the joint behavior that matters. The correct object is the distribution of the net outcome under the stated execution and accounting mechanism, not two unrelated averages placed next to each other.

The prediction may also influence the policy that generates the eventual outcome. If a system changes position size whenever an interval becomes wide, the realized account result comes from that adaptive rule. Evaluating a forecast against the resized result while claiming it predicted a fixed-size outcome mixes targets. Preserve the distinction between the forecast variable and the decision policy that uses it.

An uncertainty estimate is an input to a decision, not a complete decision rule. A research project can use intervals to identify where a model is poorly supported, where additional data would help or which assumptions dominate a conclusion. Turning that information into an execution policy requires separate definitions of resources, constraints and behavior. The interval alone does not establish an appropriate action or a guaranteed result.

For a clear review, write the accounting identity in words: what is predicted before costs, which costs are random, how currency conversion works and which actions can alter the quantity. This often reveals that two analysts disagree because they are forecasting different objects rather than because one interval calculation is wrong.

A review prompt that forces the target into the open

An AI assistant can help audit an interval report if the request makes ambiguity expensive. Ask it to identify the covered quantity, units, horizon, conditioning information and assumptions before performing any calculation. Require it to distinguish estimation uncertainty from new-outcome variation. If it cannot determine the target from the supplied report, it should state that uncertainty rather than invent a convenient interpretation.

For the hypothetical example in this article, a useful task is to reproduce the confidence and prediction intervals under the explicitly stated independent normal model with known standard deviation. Then ask what changes when the target becomes an average of 25 future observations. Finally, ask which assumptions would need investigation before applying any of those calculations to a real sequence of system outcomes. This turns the exercise into a test of reasoning, not a search for an attractive band.

Check the result independently. Confirm that the single-outcome prediction interval remains wide as the historical sample grows, that a future total is not confused with an average and that units are consistent. Give the assistant an intentionally mislabeled chart and ask it to explain the mismatch. These checks are especially useful when a plotting function uses a generic interval argument whose meaning depends on the model object supplied.

A good interval caption is a compact research specification. It should let another reader identify what is covered, under which assumptions and with what nominal level. If a caption cannot do that, more decimal places will not repair the analysis. Keep the underlying ledger and method details available even when the public-facing chart is simple.

Use the interval to sharpen the next research question

The most useful outcome of this distinction may be a better question. Instead of asking whether a narrow band proves that a robot works, ask whether the mean is estimated precisely enough for a stated comparison, whether a future-outcome range is calibrated for relevant conditions or whether a path-dependent risk quantity needs a different model. Each question leads to a different experiment and a different evidence requirement.

The TradeAndRoll free demo supplies ten Forex systems with rules, source code, market CSVs and research prompts. A concrete first exercise is to choose a well-defined outcome from one system, inspect its accounting and write down which interval question would actually help your investigation. The availability of data and code makes the question inspectable; it does not make normality, independence or predictive accuracy automatic.

For a broader discussion of what a limited collection of trades can establish, the article on small trade samples provides a complementary starting point. Here the central distinction is the target itself. Even an enormous sample cannot make an interval for a mean become an interval for one future observation merely by changing the chart title.

The next outcome is not the mean. Preserve that distinction in the calculation, the ledger and the caption. A precise estimate can coexist with substantial future variability, and a wide predictive range can coexist with useful knowledge about the center. Understanding both statements makes research more informative without turning uncertainty into either a promise or a reason to stop asking questions.

Back to the Blog