Skip to content

Add calibration target for babies under 1 in Scotland#259

Merged
MaxGhenis merged 1 commit into
mainfrom
add-scotland-babies-calibration
Jan 15, 2026
Merged

Add calibration target for babies under 1 in Scotland#259
MaxGhenis merged 1 commit into
mainfrom
add-scotland-babies-calibration

Conversation

@vahid-ahmadi

@vahid-ahmadi vahid-ahmadi commented Jan 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add calibration target for babies under 1 in Scotland to improve accuracy of Scottish Child Payment (SCP) baby boost modeling.

Add scotland_babies_under_1 calibration target (46k) from NRS Vital Events data.

Changes

File Change
demographics.csv Add scotland_babies_under_1 row with 46k target
loss.py Add matrix column: (region == "SCOTLAND") & (age < 1)
test_scotland_babies.py Add test with 15% tolerance

Data source

Test plan

  • Run pytest policyengine_uk_data/tests/test_scotland_babies.py after recalibration
  • Verify Scotland baby count is within 15% of 46k target

@vahid-ahmadi vahid-ahmadi self-assigned this Jan 15, 2026
Add scotland_babies_under_1 calibration target (~46k) based on NRS Vital Events data.
This addresses overestimation of babies in Scotland (99k vs 46k actual births per year).

Source: NRS Vital Events Reference Tables 2024
https://www.nrscotland.gov.uk/publications/vital-events-reference-tables-2024/

Changes:
- demographics.csv: Add scotland_babies_under_1 entry (46k for all years)
- loss.py: Add matrix column for Scotland babies under 1
- test_scotland_babies.py: Add test to validate calibration accuracy (15% tolerance)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vahid-ahmadi vahid-ahmadi force-pushed the add-scotland-babies-calibration branch from 10d1e9f to 65ebd14 Compare January 15, 2026 15:12
@MaxGhenis MaxGhenis merged commit c3fad21 into main Jan 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants