13 Validation
A model can be right in total and wrong in every unit, or right for the year it was calibrated on and wrong one year later. The checks in this chapter are therefore sorted by how hard they are to pass. Identities must hold exactly. In-sample replication shows that the machinery reproduces the year it was fitted to. Out-of-sample tests project forward from information available at the time and compare the result with what happened. Only the last kind says how far a projection can be trusted, and the chapter spends most of its space there, on where the errors fall and what a reader should do about them.
13.1 What must hold exactly
Accounting identities and in-sample replications are binary: they pass or the pipeline is wrong. They matter because they rule out a class of error (lost people, lost money, double counting) so that the remaining chapters can attribute differences to behaviour and not to plumbing.
| Check | Result |
|---|---|
| Births − deaths = natural change (yearbook, 1946–2024) | within 0.1 thousand every year |
| Internal migration nets to zero nationally | exact in every year and scenario |
| No negative population cell over 36-year runs | holds in all scenarios (outflow cap) |
| Run without migration feedback reproduces the earlier baseline | bit-exact (2.84 million cells) |
| Revenue and spending legs add up to the budget-report totals | exact to the złoty, every unit, 2022–2025 |
| Function split of spending 2016–2025 against the history panel | exact |
| 2024 education, social and other spending, national total | within 0.01% |
| 2025 subvention formula against the statute | verified |
| Debt stock–flow consistency (debt-limit screen) | median gap 0; 72% of units exact |
Exactness has a limit that the next sections return to. The spending models reproduce the 2024 national total of each cost line to within 0.01%, but they do so with one unit cost per type of local government. In the 2024 calibration year the modelled spending of the middle unit equals its actual spending (ratio 1.01 for education, 0.99 for social care, 1.01 for other functions), yet one unit in ten is more than 19% below actual in education and one in ten is more than 26% above. For social care the tenth and ninetieth percentiles of the ratio are 0.66 and 1.55, and for other functions 0.73 and 1.34. Replication therefore guarantees the totals and says nothing about any one budget. That is the reason for the unit-level out-of-sample tests below.
13.2 Demography: errors follow shifts in share, not size
Claim. Powiat populations are projected well one year ahead. Gmina populations, which are downscaled from the powiat, are accurate for most units and badly wrong for a minority, and that minority is defined by one mechanism: a gmina gaining or losing share of its powiat.
Evidence. Launching from the 2024 population, the projected 2025 total is within 0.04% of the observed national figure and the mean absolute error over powiats is 0.14%. For gminas the longer test freezes each gmina’s share of its powiat at the 2011 census base and projects 2020 from the observed powiat totals, so the powiat is known and only the downscaling is tested. Over the 2,295 gminas that share a powiat with at least one other gmina (single-gmina powiats are exact by construction) the mean absolute error is 5.6%, the median 3.4% and the 90th percentile 13.1%.
| Gmina population, 2011 | Gminas | Mean error | Median | 90th pct | Mean signed error |
|---|---|---|---|---|---|
| under 3,000 | 93 | 6.0% | 4.3% | 11.7% | +4.5% |
| 3,000–5,000 | 484 | 6.2% | 3.7% | 14.8% | +3.7% |
| 5,000–10,000 | 920 | 5.1% | 3.5% | 11.0% | +1.3% |
| 10,000–20,000 | 526 | 6.1% | 3.4% | 15.4% | +0.3% |
| over 20,000 | 272 | 5.2% | 2.9% | 13.5% | +1.8% |
Size explains almost none of it (Table 13.2). Units under 3,000 residents have a mean error of 6.0% and units over 20,000 have 5.2%; the median is between 2.9% and 4.3% in every class. A rule that treats small gminas as inherently less reliable misplaces the problem. What does separate gminas is how far their share moved over the decade (Table 13.3).
| Change in share of powiat, 2011–2020 | Gminas | Mean error | Median | 90th pct | Mean signed error |
|---|---|---|---|---|---|
| Lost most share of powiat | 459 | 13.6% | 10.8% | 23.3% | +13.6% |
| Lost some | 459 | 3.8% | 3.7% | 5.3% | +3.8% |
| Almost unchanged | 459 | 1.0% | 1.0% | 2.0% | +1.0% |
| Gained some | 459 | 1.6% | 1.6% | 2.8% | -1.6% |
| Gained most | 459 | 7.9% | 6.1% | 15.3% | -7.9% |
Mechanism. The frozen-share method is exact for a gmina whose share does not change and wrong by exactly the share change otherwise, so Table 13.3 is partly an identity. Its content is the distribution of share change. The three middle quintiles moved by 1–4% of their share and have mean errors of 1.0–3.8%. The fifth that lost most share is overstated by 13.6% on average and the fifth that gained most is understated by 7.9%; the top tenth of units by error carries 38% of all absolute error. The shifts are the ones documented in Section 4.3.2: rings around large cities gain at the expense of their cores and of peripheral gminas.
Boundary conditions. Two features limit what the test can claim. First, it is a nine-year horizon, so it overstates the error of the shorter projections used for the budgets. Over 2022–2024 the same frozen shares give a mean error of 1.2% across 2,421 gminas. Second, modelling the drift does not help in that short window: adding a suburban share trend raises the error to 1.4% at half strength and 1.6% at full strength, and extrapolating the observed 2021–2024 drift gives 1.3%. Over two years the estimated drift adds more noise than signal, which is why the baseline keeps shares fixed (see Section 6.3).
Implication. Treat a gmina’s projected headcount as reliable to a few per cent for the first years. Over a decade, if the pattern of the 2010s continues, expect it to be too high for shrinking peripheral gminas and too low for ring gminas, by amounts that can exceed 10%. Age structure, which moves with the powiat, is more dependable than the level.
13.3 Behaviour: what the holdout tests can and cannot show
Claim. The estimated local-economy equations pass a holdout only when they describe slow-moving gaps, and the migration feedback adds nothing measurable over holding the 2017 rates constant.
Evidence. The migration feedback was estimated on 2011–2017 and used to predict powiat net migration in 2018–2024. Its mean absolute error is 1.139 per 1,000 residents, against 1.139 for rates held at their 2017 values: a ratio of 1.0003. The rejected between-powiat specification does worse (1.164). The unemployment-gap equation improves on a frozen gap (0.47 against 0.52 percentage points). The own-tax-gap equation does worse than a frozen gap (0.056 against 0.048 log points): it predicts more convergence of own-tax gaps than occurred in 2018–2024 (Section 5.6). The attraction drivers are stable across the two periods and survive a spatial-error specification (Section 5.3).
Mechanism. A feedback that needs several years to appear would be hard to detect in seven years of data, and the window contains the pandemic and the 2022 refugee inflow, which may have disturbed flows for reasons unrelated to local conditions. A null result here means the loop is not large enough to beat persistent location effects, not that it is zero. The own-tax equation is different in kind: it does not merely add nothing, it loses to a frozen gap, because it builds in more convergence than the data showed.
Implication. The feedback should be read as a small adjustment layered on persistent sorting. Scenario differences in later chapters that come from the feedback alone should not be presented as findings, and projected convergence of own-tax gaps should be read as an upper bound on what the 2018–2024 record supports.
13.4 Finance: totals close, units disperse
Claim. The revenue and spending machinery is dependable for aggregates and for tax revenues, and weakest for the equalising subvention of an individual unit, which is the year-to-year residual of two much larger quantities.
Evidence: spending. Projecting 2022 and 2023 spending from wage-grown costs, the national gap is 9.3% and 8.4% for education, 7.8% and 5.5% for social care, and 12.7% and 3.3% for other functions. The education miss comes mainly from teacher pay rises that departed from average wage growth in 2023–2024, which no wage-indexed cost rule can anticipate; it is a policy-shock error, concentrated in the cost line where pay is set largely by national statute.
Evidence: PIT. Predicting each powiat’s declared 2024 tax from 2023 ratios gives a mean error of 5.1% with a single blended ratio of tax to wage bill. Splitting the base into wages-and-pensions and business income, which is the natural refinement, raises it to 10.4%. The wage-and-pension leg, projected on the wage-bill proxy, has an error of 15.0%, while the business-income leg, projected on the stock of sole traders, has 5.6%. Until the wage-and-pension leg has a better driver than the wage-bill proxy the split cannot beat the blended ratio, and the projections use the blended ratio.
Evidence: out of sample, 2026. The strongest test projects every 2026 input from information available before 2026 and compares it with the Ministry’s 2026 figures (Table 13.4). The first column is the error cumulated across units, the second the gap in the national total.
| Block | Unit-level error | Gap in national total |
|---|---|---|
| Converted population (subvention denominator) | 1.4% | – |
| Pupil-weighted education need | 8.8% | 8.7% |
| Ecological need | 4.5% | 4.5% |
| Update need (uzupełniająca) | 14.4% | 14.4% |
| Development need (rozwojowa) | 19.6% | 19.5% |
| Equalising need | 37.6% | 4.2% |
| PIT income | 5.3% | – |
| CIT income | 35.5% | – |
| Income base for the equalising formula | 16.2% | – |
| Equalising subvention due | 25.9% | 15.2% |
| Year-end correction (korekta) | 69.8% | 5.9% |
Mechanism. The table separates three kinds of error. Population denominators (1.4%) and PIT income (5.3%) are good. The needs blocks whose 2026 value comes from a frozen or single-parameter rule have a unit error equal to the national gap (education 8.8% against 8.7%, update 14.4% against 14.4%, development 19.6% against 19.5%). That is a level error: every unit is off by about the same amount because one indexation parameter was wrong, which says nothing about geography. The equalising need and the correction behave the other way, with unit errors of 37.6% and 69.8% against national gaps of 4.2% and 5.9%. They redistribute: totals close and units trade places. The subvention due combines the two: a 15.2% national gap and a 25.9% unit error. The national gap is 8.0% for powiats and 22–25% for gminas, cities with powiat rights and voivodeships. The entitlement is computed from the gap between a unit’s needs and its tax base, so the 16% unit error in the base and the 38% unit error in the equalising need both feed into it.
Boundary conditions. The 2026 test uses frozen 2025 values for two needs blocks, so part of what it measures is the cost of that choice rather than of the formula. Corporate income tax, at 35.5%, is small and volatile; its error matters little for totals. The test covers one year, and the subvention formula changed in 2025, so there is no earlier year that could confirm the pattern.
Implication. For PIT, the projections are good to about 5% per unit and better for aggregates. The projected subvention of a single unit in a single year should be read as within roughly a quarter of the figure, and a conclusion about a unit that hinges on it (a small debt-limit margin, a deficit of a few per cent of revenue) is a flag for inspection, not a forecast.
13.5 How far each output can be trusted
The results above translate into a reading rule for each family of outputs.
| Output | Evidence | Typical error | Use as |
|---|---|---|---|
| National population | one-year test, identities | 0.04% | headline figure |
| Powiat population | one-year test | 0.14% | headline figure |
| Gmina population, first years | 2022–2024 backtest | 1.2% | headline figure |
| Gmina population, a decade out | 2011–2020 backtest | 3.4% median, 13% at the 90th percentile | ordering, with ring and periphery bias |
| Net internal migration | 2018–2024 holdout | 1.1 per 1,000 | no better than frozen rates |
| Declared PIT per powiat | 2023→2024 test | 5% | headline figure |
| Education spending, national | 2022–2023 backtest | 8–9% | headline, with a pay-shock caveat |
| Subvention per unit | 2026 out-of-sample | 26% | direction and order of magnitude |
13.6 Reproducibility
Every run records its configuration hash, data vintage and code version. Every figure and table in this report is generated by script from those runs, with a sidecar recording its source and run. Automated checks verify that budget totals reconcile, that internal migration closes, and that every exhibit has a caption, a source and a run identifier.
13.7 What the evidence does not cover
Four gaps limit how much of the chapter’s reading can be extended to the long horizon.
- Multi-year demographic projections from earlier launch years. The one-year test and the nine-year downscaling test are both informative, but there is no full projection launched in 2011, 2015 or 2018 and compared with the census-based stock, because the rate panels for those years are not held. The projection error at the five- and ten-year horizons is therefore inferred, not measured.
- Interval calibration. The innovation variances behind the Monte Carlo bands are stylised, not estimated, so a band is a statement about sensitivity to the assumed distributions and not a coverage probability.
- External comparison. There is no comparison with the Eurostat regional projections.
- Independent review by a demographer and a public-finance specialist.