GB Car-Insurance Risk Map
An expected annual motor-insurance premium for every small area in Great Britain — 41,729 LSOAs (England and Wales) and Data Zones (Scotland) — built entirely from open data and calibrated against published price indices.
The question
Why does the same car cost several times more to insure in one postcode than another? Insurers price location aggressively but publish nothing about how. The model works out the territorial effect from the outside: it takes the open data an insurer's territory model plausibly summarises — vehicle crime, area deprivation, traffic intensity, who lives there — and regresses it against the only public ground truth, published premium indices.
It is a territorial risk proxy, not a quote engine: it uses no individual driver or vehicle details.
The data
Open public data, all under the Open Government Licence, plus a hand-transcribed price anchor, put onto one geography: the 2011 census small areas that the deprivation indices, boundaries and Scottish Data Zones all share.
- Crime: street-level vehicle crime from data.police.uk for England and Wales; Recorded Crime in Scotland through a SPARQL endpoint.
- Deprivation: the English, Welsh and Scottish indices, ranked within each nation. Their crime sub-domain drives the premium; Wales has no pure crime domain, so its Community Safety domain stands in as the documented nearest analogue.
- Traffic: about 22,000 DfT count points, as the mean daily flow within 2 km of each area.
- Who lives there: Census 2021 (England and Wales) and 2022 (Scotland) for the young-driver share and cars per household.
- Diagnostics on the map, not in the price: road collisions, flood extents and local-authority traffic.
- The anchor, not a feature: a 137-row panel hand-transcribed from the WTW/Confused.com quarterly price index and MoneySuperMarket's regional figures, under a strict no-invented-figures rule — every £ figure traces to a published, cited source.
The model
Ordinary least squares on the log of each area's premium relative to the national average, with area-clustered standard errors. Modelling the ratio strips out the national price level and its drift over time, leaving the effect of place; absolute pounds come back at the end by pinning to the latest published national average.
It is deliberately small, because the calibration sample honestly is: 106 matched observations across 30 areas. Every feature enters as a rank percentile within comparable groups, so no outlier can blow up its own prediction and three nations' different scales line up.
- An evidence gate. A feature gets in only with an independent partial correlation at acceptable collinearity, or by winning a leave-one-area-out head-to-head. It has said no more often than yes: population density, flood risk and road casualties were all gated out, and in the July 2026 wave the crime sub-domain replaced overall deprivation.
- Place and composition. Each area gets three numbers: the full premium, a place-only counterfactual with demographics held at the national median, and the uplift between them. Composition alone explains more of the spread (R² 0.88) than place alone (R² 0.82), and that is reported as a finding.
- Explainable to the pound. Each premium decomposes into an exact £ step per factor from a typical-GB baseline (every feature at the median), summing to the headline figure with no residual. The split uses log-mean (LMDI) weights, so it is order-invariant: no factor gains or loses by where it sits in the sequence.
- Honest intervals. A cluster bootstrap, widened by the out-of-sample error, gives every area a low and high premium, with a median width of £373.
From the July 2026 calibration: a panel R² of 0.930, a leave-one-area-out error of £76.51, a temporal back-test error of £69.76, a Spearman rank agreement of 0.974 between predicted and actual premiums, and a modelled premium span of £186 to £1,578 across Great Britain.
The live map
A static React and MapLibre map on GitHub Pages: search any GB postcode, see the area's premium and its per-factor breakdown. There is no server in production.
Open the live map, or read the one-page write-up beside it, How it works.
The same model sets the area figures in Vouched, a first-car running-cost checker: its insurance estimates are scaled by each postcode district's premium from this model, relative to London.
What was hard
- Open data that wasn't a download. England's flood extents had to be requested from Defra by email and arrived over credentialed SFTP; a Welsh ArcGIS organisation was decommissioned mid-project; SEPA's API intermittently rejects complex geometries, so the ingest retries feature by feature.
- Three nations, three scales. Crime recording differs between England and Wales and Scotland, Scottish crime arrives at council grain, and Wales has no pure crime domain in its deprivation index.
- Geometry that breaks itself. Re-simplifying after repairing polygons once re-broke Scottish areas, so the repair is always the last geometry step.
- Proxies that looked right. Local-authority traffic per resident turned out to be an inverse-density proxy, and population density was always collinear; point-level traffic flow replaced both.
- Stale premiums. Running the risk stage without recalibrating can ship stale premiums, and it has bitten before; the calibrate step now re-runs it, and a serve-consistency test guards the map against stale coefficients.
What it doesn't claim
- It validates at postcode-area and region grain and predicts at small-area grain, so per-area figures are directionally strong rankings, not quotes.
- Area aggregates predict area premiums; nothing here supports conclusions about individuals.
- Wealthy-but-central areas can under-price, and Northern Ireland is excluded for want of open crime data.