| Part | Title | Content |
|---|---|---|
| I | Data preparation | sources, seed generator, mapping to MF distributions, families, raking and alignment, verification of the data |
| II | Model | engine and semantics; ZUS, NFZ, local taxes; PIT linear, ryczałt, scale; benefits; aggregates — rules and population outcomes vs ZUS, MF and GUS; incidence and redistribution vs EU-SILC; OECD standard families, relief costs and reforms vs MF, national accounts; findings |
| III | Baseline verification | aggregates scorecard and uncertainty; distributions (MF, BGD, EU-SILC); stylised households (ATR/MTR/PTR); population METR/PTR; synthesis |
| A | Appendices | all parameters; variable dictionary |
Polish Tax–Benefit Microsimulation Model
Model documentation: data preparation, pipeline modules and baseline verification (2024)
Executive summary
This report documents the Polish tax–benefit microsimulation model of the microsim_yaml project for the 2024 policy year, for experts who want to assess it and improve it. It has three parts: how the synthetic input population is prepared from published aggregates (Part I), how each pipeline module computes contributions, taxes and benefits (Part II), and how the 2024 baseline compares with published outcomes and with the statute for well-defined households (Part III). All numbers are computed from the repository at commit 91a7fa3 when the report is rendered.
Main findings
- The rules engine reproduces the 2024 statute for the core schedules. An independent re-implementation matches the pipeline to the grosz for employees, contract workers, pensioners and all three self-employment forms; statutory marginal rates are reproduced within 0.03 percentage points (Oracle comparison for contributions, Analytic checkpoints).
- Main fiscal aggregates are on target: scale PIT -5.1%, PIT-36L -3.8%, ryczałt -6.3%, health contributions -2.9%, 800+ -4.3%, family benefits -0.7% against MF, NFZ and MRPiPS 2024 (Table 16.1). Some of them (PIT-36L, ryczałt) are close by construction because the corresponding incomes are aligned to MF totals. Each family benefit is now compared with GUS 2024: spending on 7 of 9 benefits lies within ±15%, partly through calibrated take-up and eligibility shares (Benefits in the population). Social contributions are the exception: they are +7.5% above the ZUS total of contributions to the Social Insurance Fund (National accounts).
- The household distribution is too unequal. The median equivalised income matches EU-SILC (-3.6%), but the Gini is 33.2 (EU-SILC 24.9) and the poverty rate 19.8% (13.2%), mainly because short-spell earners have no other income and several transfers are not simulated (Equivalised income: comparison with EU-SILC). Before social transfers the model’s poverty rate matches EU-SILC (43.8% against 43.9%); the modelled non-pension transfers then reduce poverty much less than the transfers counted in EU-SILC (Redistribution compared with EU-SILC).
- Some relief populations remain overstated: 4+ families +77.2% and lone-parent filers -1.2%, while child-credit claimants are -7.2%. Youth-relief claimants are now a calibration target.
- The first review found 8 groups of rule defects; all are now corrected. The largest were the self-employed relief window (ZUS +1.27 bn PLN), the cost deduction of civil contracts (PIT +0.48 bn), the care allowance and the parental benefit paid for two birth cohorts. With the corrections the generator was recalibrated to ZUS, GUS and LFS data. 19 of 28 externally checked quantities moved towards their references (15 Corrections implemented after the first review).
- The data build is reproducible and consistent: re-running the production generator reproduces the production weights to 2e-14. All margins share one population universe, the fiscal and family counts are calibrated in the household rake (one weight per household), and linear-tax income is a test rather than a target (5 Calibration: raking and alignment, 6 Verification of the prepared data).
- Results are robust to the generator’s randomness: across 6 complete rebuilds with different seeds the main fiscal totals vary by at most 0.8% (Uncertainty).
- Tooling was repaired: every statutory parameter lives in one registry per year with an indexation policy; the project’s 192-check hypothetical-household suite, the tests and the report build run in continuous integration with pinned dependencies.
- External checks of the schedules agree, except where transfers are missing. For 13 standard OECD households the model reproduces Eurostat’s contributions, tax and child benefit to within 1 PLN, and the tax wedge at 67% of the average wage exactly. The model’s cost of raising the tax-free amount to 60,000 PLN is 47.9 bn PLN against the Ministry of Finance’s estimate of about 48 bn. For a single person the low-wage trap is half the OECD figure and the unemployment trap is below it, mainly because the model has no housing allowance (13 External checks of schedules, policy responses and macro totals).
The unemployment benefit, the main social-assistance allowances and the ZUS sickness and maternity benefits are now modelled and checked against administrative totals (11 Unemployment benefit, social assistance and ZUS sickness benefits). The main open items are the housing allowance, MF “other income” (which keeps scale PIT about 5% below MF), take-up of tax choices and the low-income tail of the generated incomes. A prioritised list closes Part III (Recommended improvements).
How to read this report
Each comparison is labelled as calibrated (the reference was a target of the data build, so agreement only confirms the mechanics) or free (agreement is evidence). Figures show the model in blue and references in orange throughout. Money is in annual 2024 PLN; weights are in thousands of persons.
Provenance
| Item | Value |
|---|---|
| Repository commit | 91a7fa3 |
| Microdata | data/polish_microdata_ipf_v24.parquet (50,000 households, 149,426 persons) |
| Pipeline | bezrobocie.yml, zus_module.yml, zasilki_zus.yml, nfz_module.yml, podatki_lokalne.yml, pit_linia.yml, pit_ryczalt.yml, pit_skala.yml, swiadczenia_rodzinne.yml, pomoc_spoleczna.yml, agregaty.yml |
| Policy year | 2024 (base_parameters_2024.yml) |
| External benchmarks | Eurostat EU-SILC 2025, LFS 2024, OECD–EC tax-benefit indicators (earn_nt_*) and government finance statistics (extracted 19 Nov 2026); GUS BGD 2024; GUS Świadczenia na rzecz rodziny w 2024 r.; MF No 12-2025; MF PIT 2024; ZUS |