Commit cf2b0cd
Add salary sacrifice NI relief as calibration target
Target the actual NI relief from salary sacrifice (£4.1bn from SPP/HMRC data)
rather than gross contributions. This uses a counterfactual simulation approach:
calculate what NI would be paid if salary sacrifice were converted to employment
income, then take the difference.
Current FRS data shows £0.63bn relief vs £4.1bn target, so calibration will
scale up weights approximately 6.5x to match the external benchmark.
Changes:
- tax_benefit.csv: Add salary_sacrifice_ni_relief target (£4.1bn for 2023)
- loss.py: Calculate NI relief via counterfactual simulation
Closes #215
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent dcf8ee7 commit cf2b0cd
4 files changed
Lines changed: 633 additions & 488 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
161 | 192 | | |
162 | 193 | | |
163 | 194 | | |
| |||
0 commit comments