Add an auxiliary MTR capital gains elasticity alongside the retention-rate elasticity - #1823
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the auxiliary elasticity convention native, so downstream analyses stop hand-rolling response machinery in either convention.
Context
#1803 made
gov.simulation.capital_gains_responses.elasticitythe retention-rate elasticity (Agersnap–Zidar / CenTax convention) on the hardened MTR measurement. Some analyses also report the marginal-tax-rate convention as an auxiliary comparison — PolicyEngine/uk-cgt-paper#7 documents one hand-rolling exactly this with the pre-#1803 nested-branch pattern, and PolicyEngine/uk-equalising-cgt#1 documents another approximating it with a constant conversion that inverts sign under the ≥2.90 semantics.Change
gov.simulation.capital_gains_responses.mtr_elasticity(default 0): elasticity of realisations with respect to the marginal tax rate itself, typically negative.capital_gains_behavioural_responseapplies it through the previously-orphanedrelative_capital_gains_mtr_changevariable (dlog MTR onmeasure_capital_gains_mtrs, 0.001 floor).Tests: exact hand-computed MTR factor, both-set guard, default zeros, recalculation regression; full CGT YAML suite passes.
🤖 Generated with Claude Code