Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Separate process uncertainty, estimated parameters and coherent totals

Current complete on-site edition 6

Required teaching and complete optional models are supplied on LawfareGroup.com. Publisher and primary links are optional provenance or further reading. Florida is the contemporary state-law default; federal rules and explicitly comparative accounting frameworks are distinguished. Independent subject review and observed human learner testing remain pending.

Cumulative regression and forecasting dossier, transfer models and 30-point rubric

Preserved original teaching integrated with complete current on-site preparation. Independent human subject review and observed learner testing remain pending.

Learning objectives

Begin with a stated stochastic process

Consider y(t)=100+0.8[y(t-1)-100]+epsilon(t), with independent normal innovations of mean zero and standard deviation 3. Assume for this calculation that the model and parameters are known and the last observed value is 120. Iterating conditional expectations gives one-, two- and three-step means 116,112.8 and 110.24. The displacement from 100 is multiplied by 0.8 at every step. This is a conditional forecast from a specified process, not a fitted empirical discovery about an actual company.

At horizon h, the forecast error is the sum of future innovations weighted by 1,0.8,...,0.8^(h-1). Independence eliminates covariance terms. The variance is therefore 9 times the sum of 0.8^(2j), for j=0 through h-1. At horizons one, two and three it is 9,14.76 and 18.4464. Because the autoregressive coefficient has absolute value below one, this innovation variance tends to 9/(1-0.64)=25. The conditional mean tends to 100. A long-horizon forecast can become stable in its mean while retaining irreducible uncertainty.

Under the stated known-parameter normal model, a central interval uses mean plus or minus approximately 1.96 standard deviations. Horizon one gives [110.12,121.88]; horizon two gives approximately [105.27,120.33]. The second interval is wider even though its mean is closer to 100. These calculations include process innovations only. Parameter estimation, model selection, measurement revision and structural breaks require additional treatment. Replacing estimated coefficients in this formula does not automatically produce an interval with its advertised empirical coverage.

Covariance controls aggregate uncertainty

Suppose forecasts for two business units are 50 and 70, so a coherent total forecast is 120. Their forecast-error variances are 9 and 16, and their covariance is 6. The total error variance is 9+16+2(6)=37. Ignoring the common shock would report 25 and understate uncertainty. If covariance instead were -6, the variance would be 13. Both examples satisfy the covariance bound in this two-variable case: absolute covariance cannot exceed sqrt(9*16)=12. A collection of guessed pairwise correlations must also form a valid joint covariance matrix.

Adding component point forecasts is an accounting identity at a shared definition, period and unit. Adding endpoints of separate 95 percent intervals does not generally construct a total 95 percent interval. The distribution of the sum and the dependence between component errors matter. Preserve the hierarchy, timing and units before applying a reconciliation method. A sales amount and a transaction count cannot be added simply because both appear in a spreadsheet.

For a deliberately different exercise, stipulate an exact externally known total of 100, with the same unconstrained component forecasts and covariance matrix. The discrepancy is 20. The minimum-variance linear adjustment under this specified covariance allocates reductions in proportion to Sigma times the ones vector: 15 and 22, divided by their sum 37. Adjusted forecasts are 50-300/37=41.8919 and 70-440/37=58.1081, which sum to 100. More uncertain and correlated components absorb different corrections. This is a constrained projection demonstration, not a claim that the total has been independently estimated without error.

Do not hide model uncertainty behind reconciliation

If the top-level forecast is itself uncertain, treating it as a hard truth misstates the problem. Include its uncertainty and dependence within a joint forecast-reconciliation approach. The known-total illustration intentionally assumes away that uncertainty so the algebra can be inspected. With zero component covariance and the same variances, the weights become 9/25 and 16/25, yielding 42.8 and 57.2. Equal splitting is not the variance-based solution except under a suitable symmetry.

Change the autoregressive coefficient to one and the stated process becomes a random walk around the latest value, rather than a stationary mean-reverting process. The conditional mean stays 120 and the innovation variance is 9h. There is no finite limit of 25. Treating a near-unit-root estimate as confidently stationary can severely misdescribe long-horizon risk. Check stability, residual dependence, forecast horizons and parameter uncertainty with the original time-series readings. A trend or seasonal process calls for an appropriately different model.

Evaluate interval coverage and width on forecasts actually issued at appropriate rolling origins. Coverage is a property to investigate over a relevant sequence and population, not a label established by printing 95 percent. A very wide interval can cover many outcomes while being operationally useless; a narrow interval may systematically miss. Show calibration by horizon and material subgroup, explain dependence between errors, and compare with a suitable baseline. Simulated draws under a fitted model check implementation under that model; they cannot establish that the real business follows it. Read the forecasting chapters on autoregression and hierarchical reconciliation alongside this limited, fully specified calculation.

Worked example: Why the horizon-two variance is 14.76

The horizon-two error equals epsilon(T+2)+0.8 epsilon(T+1). Its variance is 9+0.64(9)=14.76 under independent innovations. The interval half-width is 1.96 sqrt(14.76), approximately 7.5301. Estimated parameters or correlated innovations invalidate simply reusing this derivation without modification.

Worked example: A total is not independent of its components

For errors eA and eB, expand (eA+eB)^2 around zero means to obtain Var(eA)+Var(eB)+2Cov(eA,eB). With 9,16,6 the total is 37. Stipulating an exact total of 100 changes the forecasting problem; the covariance-based adjustments 300/37 and 440/37 are reductions, not new observed sales.

Progressive optional practice

Attempt each problem before opening its model. Then revise the reasoning under the changed conditions.

Guided

Compute the horizon-three conditional mean.

Compare the model reasoning

100+0.8^3(120-100)=110.24.

Changed conditions

The latest observation is 80.

Compare the revised analysis

The same formula gives 89.76. Mean reversion acts from below as well as above under this specified model.

Independent

Can component covariance be 20 when their variances are 9 and 16?

Compare the model reasoning

No. Its absolute value exceeds sqrt(144)=12 and the resulting covariance matrix is not valid.

Changed conditions

The covariance is -6.

Compare the revised analysis

It is admissible in this two-component example and yields total variance 13. A larger system still needs a valid complete covariance matrix.

Transfer

Should the known-total adjustment be applied to an uncertain executive sales forecast?

Compare the model reasoning

Not as an exact constraint without justification. Model the top forecast’s error and dependence, then use a reconciliation approach appropriate to that joint information.

Changed conditions

The total is an audited historical amount and the components are missing allocations.

Compare the revised analysis

An exact historical identity may be appropriate, but allocation assumptions, feasibility and what the adjusted numbers mean still require explicit review.

Preserved historical development snapshot · Course content review

Source readings and scope

Forecasting: Principles and Practice, ARIMA models — Read autoregressive models and ARIMA forecasting, especially assumptions and forecast uncertainty. Primary source checked October 27, 2026. The business records and numerical models are original synthetic exercises.

Forecasting: Principles and Practice, hierarchical forecasts — Read coherent aggregation, reconciliation and forecast-error covariance. Primary source checked October 27, 2026. The business records and numerical models are original synthetic exercises.

Forecasting: Principles and Practice, forecast toolbox — Read prediction intervals, accuracy and chronological evaluation. Primary source checked October 27, 2026. The business records and numerical models are original synthetic exercises.

Reproduce the worked examples in Python 3. Standard library only; synthetic data; no production records or network access.