Repository navigation
hank_shock_incidence: state the labour-tax financing the overlay does not apply - #284
vahid-ahmadi wants to merge 1 commit into
Conversation
… not apply (#214) The overlay scales pre-tax employment income by the HANK w and N paths. The model also moves the labour tax rate every period to balance the government budget; nothing in the result said so. Add a caveat with the model's annual-mean tax change and report it in the application block. No incidence number changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
A cross-check from the us-hank-model side (us-hank-model #21): after G +1% of GDP the pre-tax wage bill rises 0.31% on impact while the post-tax one falls 0.48%. The figures in this PR give the same answer: w + N = +0.313% and the tax rate +0.507pp on impact, which at the steady-state rate of 0.356 is −0.79% of post-tax labour income, so −0.48% net. So for a spending shock the overlay's sign is wrong for workers' net income, not only its size. This PR flags that and reports the tax path; it deliberately does not switch the overlay to post-tax labour income, because that changes published incidence numbers. That switch (or an option for it) is the decision left on #214. 🤖 Generated with Claude Code |
Addresses option 1 of #214. Option 2 (applying the tax leg) is left for a decision; see the end.
What was wrong
hank_shock_incidencescales pre-tax employment income by the HANK real wage and labor paths and leaves PolicyEngine's statutory taxes the same on both sides. In the HANK model the labour tax rate is endogenous: it moves every period to balance the government budget (us-hank-model README: "G shocks are balanced-budget: the labour tax adjusts every period"). The overlay drops that leg, and no caveat, note or field in the result said so. A reader of a spending-shock incidence sees a small earnings gain for households and nothing about the tax rise the model charges them for it.Evidence
Run locally at the pinned us-hank-model
58353e5, two-asset variant, incidence year = first four quarters:For the spending rise the two legs work against each other, so the sign of the net effect on workers' income can differ from the overlay's. For the easing they work in the same direction, so the overlay understates the gain. The quarterly tax figures for the spending shock match the ones in #214 (+0.51pp on impact, +1.59pp in the next quarter).
What changed
EconomicAssumptions.from_hank_result: a new first caveat says the labour-tax financing is not applied. When the payload carries thetaxseries (every currenthank_shockresult does), the caveat and a note give the model's annual-mean tax change over the incidence year. An older payload withouttaxgets the caveat with no number.core.hank_shock_incidence: theapplicationblock gainslabour_tax_rate_change_pp_not_applied(the same annual mean, ornull). The caveat reaches bothcaveatsandscore.caveats.mcp_server.hank_shock_incidencedocstring: the "cannot do" list now includes the financing.hank_shock_incidence, including thenullcase.No incidence number changes. The applied earnings factor, the microsimulation and every decile figure are the same as before; this adds a statement and one reported field.
How verified
pytest tests -qinintegration/: 498 passed, 79 skipped.core.hank_shockandEconomicAssumptions.from_hank_resultwith us-hank-model58353e5installed.pytest tests -q3281 passed;site_contract.pyclean.Left for a decision
Applying the tax leg (option 2 in #214) would change published incidence numbers and needs a choice of how to map the model's flat labour tax onto the US schedule: scale the earnings factor by the post-tax ratio, or run an equivalent PolicyEngine reform. This PR does not do that. The
us-hankpage's description of the overlay is unchanged here.Merging redeploys the hosted MCP server (
deploy-mcp.ymlruns onintegration/**).🤖 Generated with Claude Code