3  Seed generation

The generator draws households one at a time from a single seeded random stream (seed 314159; a second stream, offset by a constant, is reserved for work after retirement age so that changing that block does not re-randomise the rest of the population). For each household it draws size, region and composition, then for each member age, sex, education, marital status, labour-market status and incomes. This chapter documents each block: the rule, its parameters and their source. Blocks whose output is later overwritten or re-weighted are flagged, because their parameters matter only for the joint distribution, not for the margins.

3.1 Household size, region and composition

Size. Household size \(s\in\{1,\dots,10\}\) is drawn from the NSP 2021 distribution of households by size (Table 3.1). The published 5+ class is split with the Eurostat census table: 47.8% of 5+ households have exactly five persons, the remainder is spread over 6–10 with shares 40/25/15/10/10%, giving a mean of 7.25 persons for 6+ households (census: 7.08).

Table 3.1: Household size distribution used by the generator (share of households) and the NSP 2021 source.
Persons Generator (%) NSP 2021 (%)
1 22.57 22.57
2 25.06 25.06
3 19.04 19.04
4 16.33 16.33
5 8.13 —
6 3.55 —
7 2.22 —
8 1.33 —
9 0.89 —
10 0.89 —
5+ 17.01 17.01

The implied mean household size is 3.00 persons (NSP 2021: 2.99).

Region. The voivodeship is drawn from fixed population shares and the urban/rural type from voivodeship-specific urbanisation rates (both in Section A.2). The voivodeship enters the income draws through a regional income multiplier (0.84 Podkarpackie … 1.20 Mazowieckie).

Composition. Given its size, a household is assigned one of seven census composition types (Eurostat cens_21hhcs_r3) with the probabilities in Figure 3.1. Each type has its own builder that fixes the roles and the age relations of the members:

  • CPL_NCH couple without resident children (young couples before children, empty nesters, elderly couples; head age drawn from a three-part mixture);
  • CPL_YCH couple whose youngest resident child is under 25 (head age \(\sim N(45, 9)\) truncated to 20–66);
  • CPL_OCH couple living only with adult children aged 25+;
  • LONE_YCH, LONE_OCH lone parent with the same child-age split (85.7% lone mothers, census \(F1\_CH/(F1\_CH+M1\_CH)\));
  • FAM_GE2 two or more family nuclei: 85% three-generation households (younger couple or lone parent + grandparents, 60% of whom are a couple), 15% older couple + adult child with partner;
  • MULTI related or unrelated adults without a family nucleus.
Figure 3.1: Probability of each census composition type by household size (Eurostat census 2021, cens_21hhcs_r3). Size 6 stands for 6–10 persons. One-person households are not shown.

Children’s ages. In a family of \(k\) children the first birth occurs at parent age \(a_1\sim N(27,4)\) clipped to 18–42 and the gaps between births are \(\mathrm{round}(\Gamma(3,0.9))\ge 1\) years. The set of ages is then shifted (not clipped) so that the youngest is under 25 or 25+ as the composition type requires and no child is younger than 0 or older than parent age − 18. Shifting rather than clipping avoids mass points at age 0 and at the bounds; the code documents an earlier defect where clipping put three times the GUS number of newborns at age 0.

Living alone. The age of a one-person household is drawn from the census 5-year distribution of persons living alone (Figure 3.2); 46% are 65+.

Figure 3.2: Age distribution of persons living alone used by the generator (Eurostat cens_21he_r2, share of one-person households by 5-year band).

3.2 Marital status

Marital status follows composition. Co-resident couples draw their status jointly: married with probability \(p(a_{\min})\) depending on the younger partner’s age (0.52 at 18–24, 0.73 at 25–34, 0.91 at 35–59, 0.97 at 60+), otherwise an informal union; this reproduces the NSP share of informal unions among couples (11.1%). Adults without a partner in the household are “married, spouse absent” with an age-dependent rate (2–10%, census cens_21mh) and otherwise single, widowed or divorced in the census proportions for their sex and age (Figure 3.3).

Figure 3.3: Marital-status rules. Left: probability that a co-resident couple is married, by the younger partner’s age. Right: legal status of unpartnered adults by sex and age band (census 2021, cens_21m).

3.3 Education

Completed education for persons 20+ is drawn from census shares of ISCED 0–2, 3–4 and 5–8 by 5-year age band (cens_21he_r2). The model needs four levels, so ISCED 3–4 is split into basic vocational (zasadnicze zawodowe) and general/technical secondary with an assumed, age-rising vocational share (25% at 20 → 50% at 70+; the overall 40% matches the GUS 25+ ratio). An urban/rural tilt (urban: low ×0.85, tertiary ×1.25; rural: low ×1.25, tertiary ×0.65) is not in the source; the IPF education and urban/rural margins pin the totals. Persons aged 18–19 are mostly still in school and get “primary” as completed level with probability 0.85.

Figure 3.4: Educational attainment by age used by the generator (urban persons; after the urban tilt and the vocational split).

3.4 Labour-market status

Each adult below the retirement age (women < 60, men < 65) draws one status from a multinomial distribution \(\{\text{employee},\ \text{self-employed},\ \text{civil contract},\ \text{contract (art. 13 pt 7–9)},\ \text{mixed},\ \text{unemployed},\ \text{inactive}\}\). The probabilities are built in three steps:

\[ u = \min\!\Big(0.30,\ \min(0.4,\ u_0(r)\,m_e)\cdot f_a \cdot f_{s}\Big),\qquad \iota = \min\!\big(0.70,\ \iota_0(a)\, k_e\big)\cdot g_{s,a}\cdot g_r , \tag{3.1}\]

where \(u_0=0.06\) in developed and 0.09 in other voivodeships, \(m_e\) and \(k_e\) are education multipliers (tertiary 0.4/0.6 … primary 2.0/1.6), \(f_a=1.3\) under 25 and 1.4 above 55, \(f_s=0.9\) for women 30–50, \(\iota_0(a)\) the age profile of inactivity (0.55 below 20, 0.08 at 30–44, 0.48 at 60+), \(g_{s,a}=1.15\) for women 25–45, 0.45 for men 25–59 (men 60–64: \(\iota=0.30\)), and \(g_r=0.85\) in rural areas. The male factors (added in November 2026) bring the employment rates of men to the LFS level. The active share \((1-u)(1-\iota)\) is split by a fixed urban or rural composition (Table 3.2) and the employee share is finally scaled by 0.90 so that the number of employment-contract recipients lands near the MF annual count before calibration (the removed mass becomes inactive).

Table 3.2: Composition of the active population by employment type before scaling (share of the active).
Type Urban (%) Rural (%)
employee (UoP) 78.4 70.4
self-employed (DG) 9.5 15.5
civil contract 5.2 6.2
contract art. 13 pt 7–9 3.3 4.0
mixed UoP + side job 3.6 3.9
Figure 3.5: Labour-market status probabilities produced by the generator by age, for an urban man and woman with secondary education in a developed voivodeship. The weights later re-scale employment counts (IPF and alignment), not these age profiles.
NoteAssessment note

The age profile of employment is parametric. The sex factors and the retirement-age work shares were set against LFS 2024 employment rates by age and sex. IPF constrains the total number of employees, contract workers and self-employed, and, since November 2026, the number of earners under 26 (MF count of youth-relief claimants). It does not constrain the age distribution of earners otherwise. Section 6.4 reports the resulting age-specific rates against LFS. An explicit calibration margin by age band and sex would make the fit exact, but it would have to bridge the gap between the annual concept (any income in the year) and the LFS reference-week concept.

3.5 Income processes

All monthly amounts are drawn from log-normal distributions parameterised by their mean \(m\) and standard deviation \(s\):

\[ \sigma^2=\ln\!\big(1+s^2/m^2\big),\qquad \mu=\ln m-\tfrac12\sigma^2,\qquad X\sim\mathrm{LN}(\mu,\sigma^2),\ \ \mathbb E X = m . \tag{3.2}\]

For all streams except employment wages the draw is a three-component mixture: with probability 0.10 the mean and SD are multiplied by 1.7 and 1.3, with probability 0.05 by 2.5 and 1.5 (fat right tail). The draw is multiplied by the regional multiplier and an age–earnings multiplier taken from GUS wages by age (December 2024), floored at a minimum and multiplied by 12.

Table 3.3: Monthly income-process parameters by education (mean / SD / floor, PLN). Employee means are rescaled at import so that their education-weighted mean equals the GUS December 2024 average wage.
Stream Education Mean SD Floor
Employee wage (UoP) primary 5,607 2,100 4,300
Employee wage (UoP) vocational 7,210 3,000 4,300
Employee wage (UoP) secondary 8,812 3,800 4,300
Employee wage (UoP) tertiary 12,683 7,000 4,300
DG skala/liniowy revenue base primary 5,000 3,000 0
DG skala/liniowy revenue base vocational 8,000 4,000 0
DG skala/liniowy revenue base secondary 12,000 6,000 0
DG skala/liniowy revenue base tertiary 18,000 10,000 0
DG ryczałt revenue base primary 4,500 2,000 1,500
DG ryczałt revenue base vocational 6,000 2,700 2,000
DG ryczałt revenue base secondary 8,000 3,500 2,500
DG ryczałt revenue base tertiary 12,000 5,500 3,000
Civil contract primary 2,000 1,500 500
Civil contract vocational 3,000 2,000 500
Civil contract secondary 4,000 2,500 500
Civil contract tertiary 6,000 4,000 500
Contract art. 13 pt 7–9 primary 4,400 2,000 4,000
Contract art. 13 pt 7–9 vocational 5,800 2,700 4,000
Contract art. 13 pt 7–9 secondary 7,500 3,400 5,000
Contract art. 13 pt 7–9 tertiary 10,200 5,500 5,000
Old-age pension all 3,400 1,700 2,000
Disability pension all 2,800 1,000 1,600

Age–earnings multipliers (GUS, ratio of average wage in the age group to the overall average): 18–24: 0.700, 25–34: 0.928, 35–44: 1.047, 45–54: 1.058, 55–64: 0.991, 65–+: 1.079.

Employees. On top of the log-normal level each employee draws a working intensity — full-time with probability 0.97 (tertiary) to 0.85 (primary, vocational), intensity \(\sim N(0.90, 0.08)\) clipped to \([0.70, 1]\); otherwise \(N(0.70, 0.18)\) clipped to \([0.15, 1]\) — with the second adult’s intensity shifted towards the first adult’s. A share of employees works only part of the year (22% below age 30, 14% at 60+, 10% otherwise; 2–9 months). Finally 5% of employees get a ×1.4–2.0 and another 5% a ×1.15–1.5 top-tail boost.

ImportantThese employee-level parameters affect only the ranking

Stage 2 (Chapter 4) replaces every employee’s annual revenue by the value of the MF annual distribution at the employee’s rank. The level parameters above therefore no longer determine the distribution of wages; they determine who is where in it (education, age, region, couple correlation, part-year work). The same holds for civil contracts. The calibration effort spent on employee means and standard deviations in earlier model versions is superseded by the mapping.

Couples. The second member’s draw is shifted by an assortative factor \(c=(r-0.5)\cdot 0.6\) where \(r\) is the first member’s income share of the sum of the two expected incomes, and the draw is multiplied by \((1+0.3c)\).

Mixed status. A “mixed” person has a UoP job at 0.65 of the normal level plus either a civil contract (60%: 1–3k PLN/month for 6–12 months) or a small business (40%: 2–5k PLN/month for 8–12 months, cost ratio 35–60%, tax form skala/ryczałt/liniowy 50/35/15%).

3.6 Self-employment (DG)

Self-employment needs five joint attributes: tax form, revenue, costs, the ryczałt rate and business age (for the ZUS relief ladder). The generator draws them in this order:

  1. Tax form: ryczałt 40%, scale (skala) 35%, linear (liniowy) 25% — the MF 2024 shares of 878k PIT-28, 765k PIT-36 (incl. about 240k side businesses) and 557k PIT-36L filers.
  2. Revenue: log-normal draw scaled by a form-specific factor (ryczałt ×0.75, scale ×1.55, linear ×1.15 followed by a heavy-tail multiplier: 7% ×20–40, 11% ×10–25, 27% ×4–15, 55% ×0.8–4; capped at 12M PLN). These factors were tuned to MF average revenue per filer and are overruled by the income alignment of stage 6.
  3. Sector (PKD section) from the MF No 11-2025 JDG structure; the sector gives a cost-ratio dispersion and a default ryczałt rate (Table 3.4).
  4. Costs: for scale/linear filers the cost ratio is \(\kappa=\mathrm{clip}(\bar\kappa_f+\varepsilon,\,0.05,\,0.99)\) with \(\bar\kappa=0.85\) (linear) or 0.68 (scale) and \(\varepsilon\sim N(0,\sigma_{PKD})\); 4% of firms run at a loss (\(\kappa\sim U(1.02, 1.30)\)), so PIT-36L losses exist. Ryczałt filers have no costs.
  5. Ryczałt rate (2, 3, 5.5, 8.5, 12.5 or 17%) from revenue-band specific distributions calibrated to the MF average effective rate; 10% take the sector default instead.
  6. Business age in months from a four-bucket distribution (Figure 3.6); 45% of firms in their first 6 months use the full ulga na start.
Table 3.4: PKD sector parameters for self-employment (shares normalised; MF No 11-2025 structure, cost ratios calibrated).
PKD Sector Share (%) Mean cost ratio SD Default ryczałt (%)
G Handel 28.8 0.82 0.08 8.5
F Budownictwo 17.3 0.75 0.10 8.5
C Przetwórstwo 11.6 0.78 0.10 5.5
H Transport 8.6 0.70 0.10 8.5
M Nauka i technika 8.5 0.45 0.12 12.5
S Pozostałe usługi 6.1 0.50 0.12 8.5
I Gastronomia 4.5 0.65 0.08 8.5
Q Zdrowie 3.5 0.40 0.12 12.5
N Dział. wspierająca 2.9 0.55 0.12 8.5
K Finanse 1.7 0.50 0.12 8.5
P Edukacja 1.6 0.35 0.12 12.5
J IT i komunikacja 1.3 0.30 0.10 12.5
L Nieruchomości 1.3 0.60 0.12 12.5
A Rolnictwo 1.2 0.60 0.10 5.5
R Kultura 0.6 0.45 0.12 12.5
E Dostawa wody 0.3 0.65 0.10 8.5
B Górnictwo 0.1 0.70 0.10 8.5
D Energetyka 0.0 0.65 0.10 8.5
Figure 3.6: Business-age distribution (months at the end of the year) and the ZUS relief ladder it activates. Shares are the generator buckets; the shading marks the statutory relief windows used by the model.
NoteAssessment note

28% of firms are at most 30 months old (start relief and preferential base), and the mean age is about 9.0 years. The shares of the five buckets were calibrated so that, with the statutory ladder of Table 8.1, the model reproduces the ZUS count of 194.4 thousand Mały ZUS Plus users at the end of 2024 (Section 8.5). Ages are drawn uniformly within a bucket using a fixed number of random draws, so re-calibrating the buckets leaves the rest of the population unchanged. ZUS statistics of payers by contribution base would allow the preferential and full-base rungs to be calibrated directly as well. Until November 2026 the distribution put 60% of firms below 25 months, to compensate for an over-long preferential window (Chapter 15).

3.7 Pensions, retirement-age work, rental and farming

  • Retirement-age persons (women 60+, men 65+) receive an old-age pension (log-normal, mean 3,400, SD 1,700, floor 2,000 PLN/month, ×regional multiplier). 5% of those under 70 and 2% of those aged 70–74 also have a small civil contract. On a separate random stream a share that falls with age works on an employment contract (part-time, 35–95% intensity): women 22% at 60–64, 7% at 65–69, 3% at 70–74; men 13% at 65–69, 6% at 70–74. The shares follow LFS 2024 employment rates by age and sex (Figure 6.4). 23.4% of these workers defer the pension and are therefore eligible for the working-senior PIT relief (calibrated to the MF count of 157.6k claimants). Until November 2026 the shares were 28% (contracts) and 18% (employment) for all ages, which gave 44% of 65–74-year-olds labour income.
  • Disability pensions for working-age adults with probability rising with age (1% under 30 → 7% at 60–67), ×0.5 (tertiary) … ×2.0 (no education), ×1.2 rural; amount log-normal (mean 2,800 PLN/month). Disability pensioners are flagged as disabled for benefit purposes.
  • Rental income (always taxed by ryczałt since 2023): 3.5% of urban and 1.4% of rural adults 25+; annual amount \(\mathrm{Exp}(5600)\times\) regional multiplier \(\times U(1, 2.2)\).
  • Farming: rural households only, first two members, probability \(0.10+0.05\min(3,s-2)\), +0.15 in agricultural voivodeships; farm type (subsistence/small/medium/large 52/32/10/6%, GUS PSR 2020) determines income (\(N(10k,5k)\) … \(N(150k,50k)\) PLN/year) and agricultural area (0.5–200 ha, used by KRUS).
  • Housing: floor area = BGD 2024 average for urban/rural households × \(U(0.85, 1.15)\); building type and land area by urban/rural rule; used only by the property-tax module.

3.8 Benefit-relevant flags

Randomness lives only in the data: the pipeline is deterministic. Flags are drawn once per person with a fixed seed (12345):

Table 3.5: Flags drawn for the benefit and PIT rules, with their rule and basis.
Flag Rule Used by
In education (czy_sie_uczy) 18–29: Eurostat enrolment rate by single year (95% at 18 → 6.6% at 29) child tax credit for 18–25 pupils; student ZUS exemption; family allowance 18–24
Student side job 15% of enrolled 19–24 without income: civil contract U(6k, 18k) PIT-0 youth claimants
Disabled (czy_niepelnosprawny) all disability pensioners; 4.4% of children (GUS: care allowance for 4.4% of children under 16); adults with the care-allowance flag care benefits, family-allowance supplement, higher income test
Care-allowance eligibility disabled children; 50% of disability pensioners and 1.05% of other adults 18–74 (significant disability or moderate before 21); calibrated to GUS 965.6k recipients care allowance
Parental leave 3% of parents 18–64 with a child family-allowance supplement
School away from home 15% of persons 15–24 family-allowance supplement
Needs permanent care 15% of disabled children; 42% of adults with the care-allowance flag (calibrated to 276.6k carer benefits) carer benefit (paid to another adult of the household)
Caregiver 30% of adults not needing care in a household with a care need carer allowance
Claiming draw (household) U(0, 1) per household take-up of means-tested benefits; alimony condition of the lone-parent supplement
Figure 3.7: School/university enrolment rate by age used for the in-education flag (Eurostat educ_uoe_enra12 / demo_pjan, Poland 2023).

The disability and care-need rates are calibrated to the GUS 2024 counts of care-allowance recipients and carer benefits. The split between disability pensioners and other adults (50%) is an assumption. The rates for parental leave, school away from home and caregivers remain assumptions without a cited source.