model 01 — tax-benefit microsimulation · pe-microsim · UK · US · hosted
Calculate taxes and benefits.
Compare current law with a reform for a UK or US household, or estimate population-wide revenue and distributional effects.
Statute as code, at household resolution.
The package encodes UK and US tax-and-benefit rules as parameterised statute and computes every variable for a household you describe — UK: income tax, National Insurance, Universal Credit, Child Benefit, Pension Credit; US: federal and state income tax, payroll tax, SNAP, TANF, EITC, CTC, SSI and Social Security. A reform is a flat dict of parameter path → new value, identical at household and population level.
The limit is structural: it cannot answer GDP, inflation, interest rates or macro feedback. Its costings are static, and the macro members of the suite exist to supply what it cannot see.
The four packages underneath
policyengine-core (the simulation framework, forked from
OpenFisca), policyengine-uk and
policyengine-us (the statutory rules per country), and
policyengine — the analyst-facing package covered here,
adding dataset management, reforms, structured outputs and
version-pinned release bundles for reproducibility. See also the
code, the
methodology, and
how far to trust it.