Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: patch
changes:
changed:
- Calibrate savings income from ONS National Accounts D.41g household interest data instead of SPI (fixes underestimation from ~�3bn to ~�55bn)
8 changes: 6 additions & 2 deletions policyengine_uk_data/utils/incomes_projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,15 @@ def create_target_matrix(
target_names = []
target_values = []

# Note: savings_interest_income is excluded here because SPI data
# significantly underestimates household interest income. It is instead
# calibrated from ONS National Accounts D.41g data in tax_benefit.csv.
INCOME_VARIABLES = [
"employment_income",
"self_employment_income",
"state_pension",
"private_pension_income",
"property_income",
"savings_interest_income",
"dividend_income",
]

Expand Down Expand Up @@ -157,13 +159,15 @@ def create_income_projections():
sim = Microsimulation(dataset=SPI_2020_21)
sim.set_input("household_weight", 2022, reweighted_weights)

# Note: savings_interest_income is excluded because SPI significantly
# underestimates it. Savings income is calibrated from ONS National
# Accounts D.41g household interest data in tax_benefit.csv instead.
INCOME_VARIABLES = [
"employment_income",
"self_employment_income",
"state_pension",
"private_pension_income",
"property_income",
"savings_interest_income",
"dividend_income",
]

Expand Down
26 changes: 25 additions & 1 deletion policyengine_uk_data/utils/loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,15 @@ def pe_count(*variables):
target_names = []
target_values = []

# Note: savings_interest_income is excluded because SPI significantly
# underestimates it. Savings income is calibrated from ONS National
# Accounts D.41g household interest data separately below.
INCOME_VARIABLES = [
"employment_income",
"self_employment_income",
"state_pension",
"private_pension_income",
"property_income",
"savings_interest_income",
"dividend_income",
]

Expand Down Expand Up @@ -327,6 +329,28 @@ def pe_count(*variables):
target_values.append(row[variable + "_count"])
target_names.append(name_count)

# Savings interest income from ONS National Accounts D.41
# Source: ONS HAXV - Households (S.14): Interest (D.41) Resources
# https://www.ons.gov.uk/economy/grossdomesticproductgdp/timeseries/haxv/ukea
# SPI significantly underestimates savings income (~£3bn vs £43-98bn actual)
# because it only captures taxable interest, not tax-free ISAs/NS&I
ONS_SAVINGS_INCOME = {
2020: 16.0e9,
2021: 19.6e9,
2022: 43.3e9,
2023: 86.0e9,
2024: 98.2e9,
2025: 98.2e9, # Projected (held flat)
2026: 98.2e9,
2027: 98.2e9,
2028: 98.2e9,
2029: 98.2e9,
}
savings_income = sim.calculate("savings_interest_income")
df["ons/savings_interest_income"] = household_from_person(savings_income)
target_names.append("ons/savings_interest_income")
target_values.append(ONS_SAVINGS_INCOME.get(int(time_period), 55.0e9))

# HMRC Table 6.2 - Salary sacrifice income tax relief by tax rate
# This helps calibrate the distribution of SS users by income level
# 2023-24 values (£m): Basic £1,600, Higher £4,400, Additional £1,200
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.