1  Overview of the data preparation

The model has no access to administrative or survey microdata. Its input population is therefore synthetic: households and persons are drawn from behavioural rules whose parameters come from published tables, and the resulting sample is then weighted so that it reproduces published margins. The production file used for the 2024 baseline holds 150,098 persons in 50,000 households (70,422 family units) with 61 input variables. Its weights represent 37.6 million persons living in 12.52 million households.

This part documents how the file is built (Chapter 2 to Chapter 5) and how well it matches the published facts it was built from, and a set of facts it was not built from (Chapter 6).

1.1 Stages

The build is a seven-stage chain (Figure 1.1). Each stage changes exactly one of three things — the structure of the population (who lives with whom), the values of personal attributes and incomes, or the weights.

Figure 1.1: Data preparation chain. Grey boxes are published sources; blue boxes change records; orange boxes change weights only; the dashed arrow marks validation-only use.
Table 1.1: The six data-preparation stages: what each stage changes and which inputs it uses.
# Stage Changes Inputs
1 Seed generation structure, values Census 2021 household composition and size; age, education and marital-status tables; behavioural income processes
2 Annual-distribution mapping values (UoP, civil contracts) MF No 12-2025 percentiles of annual employment revenue (2022) and civil-contract revenue (2021), uprated to 2024
3 Family units structure (family ids, roles, family types) NSP 2021 definition of a biological family
4 Household IPF (raking) household weights (one per household) 52 margins in one population universe: demography, education, region, marital status, employment and fiscal counts, census family counts
5 Income-total alignment values (DG, contracts, rental) MF totals: PIT-36 DG income, PIT-36L revenue and losses, PIT-28 DG and rental revenue, art. 13 contract income
6 Indexation (2025, 2026) values, parameters, weights Published statutory values (parameter history), wage/CPI/pension growth, EUROPOP demography

Two design choices shape everything that follows.

  1. Records carry the joint distribution, weights carry the margins. The generator is responsible for who lives with whom and for the correlation between attributes (age, education, region, couple incomes). No margin can repair a household composition that does not exist in the seed, so the seed is built on census household types (Chapter 3). Calibration then only re-weights.
  2. Fiscal counts are calibration targets, not outcomes. The number of employees, of self-employed persons by tax form, of civil-contract and rental-income recipients enter calibration directly (Chapter 5). Aggregate tax revenue is not calibrated: it is an outcome of the tax rules applied to calibrated bases and is used for verification in Table 16.1. The exception is the income-total alignment (stage 5), which fixes scale self-employment income, PIT-28 revenue and contract income, and therefore makes those tax bases partly calibrated by construction. Linear-tax income is no longer aligned: revenue and losses are, and income and tax are outcomes.

1.2 File anatomy

Table 1.2: Variables of the base microdata file grouped by role (2024 file, one row per person).
Group N Variables
Identifiers 4 id_osoby, id_gospodarstwa, nr_osoby, famid
Demography 8 wiek, plec, region, wojewodztwo, wyksztalcenie, stan_cywilny, liczba_osob_gospodarstwo, rola_w_gospodarstwie
Annual incomes (PLN) 8 przychody_z_pracy, przychody_umowa_cywilna, przychod_kontrakty, przychody_dzialalnosc, koszty_dzialalnosc, przychody_eir, przychody_z_najmu, przychody_z_rolnictwa
Self-employment attributes 6 typ_rozliczenia, stawka_ryczalt, okres_dzialalnosci, ulga_na_start_uzyta, pkd_sektor, stawka_najem
Status and benefit flags 8 czy_emeryt, czy_rentowiec, czy_sie_uczy, czy_niepelnosprawny, czy_urlop_wychowawczy, czy_szkola_poza_miejscem, czy_wymaga_stalej_opieki, czy_opiekun_niepelnosprawnego
Housing and land 4 powierzchnia_mieszkania, typ_budynku, powierzchnia_gruntu, powierzchnia_ur
Family structure 8 typ_rodziny, typ_rodziny_nsp, czy_rodzic, czy_dziecko_0_24_w_rodzinie, liczba_rodzin_gd, liczba_rodzin_nsp_gd, czy_reprezentant_familii, czy_reprezentant_gd
Weights 2 waga, waga_hh
Derived summaries 13 liczba_dzieci_gospodarstwo, liczba_wymagajacych_opieki, czy_uprawniony_zasilek_pielegnacyjny, los_wniosek_gd, los_bezrob, los_wniosek_ps, los_poza_zus, udzial_wynagrodzenia_chorobowego, los_zasilek_zus, dochod_brutto_gospodarstwo, dochod_na_osobe_gospodarstwo, typ_gospodarstwa, sr_wiek

Weights are expressed in thousands of persons: summing waga over persons gives the population in thousands. waga_hh equals waga multiplied by household size. Monetary amounts are annual 2024 PLN. The tax–benefit pipeline (Part II) adds about 190 derived variables to this file.

1.3 Units and conventions

  • Person — the unit of income receipt and of contributions.
  • Family (famid) — the biological family of NSP 2021: a couple with or without children, or a lone parent with children; every other adult is a one-person unit. Joint PIT filing, the child tax credit and the family-benefit income test operate on families (Section 4.2).
  • Household — persons sharing a dwelling (census concept). Household weights are calibrated; equivalised disposable income is computed per household.
  • Universe — the GUS resident population at the end of 2023, 37.636 million, which also defines the sex and age margins. Census proportions are rescaled to it (from the 36.447 million private-household population of the Eurostat census tables and the 37.459 million household population of the NSP tables), and every weighted national total is scaled to it.