Skip to content
SVERIGEFAKTA

DeSO scaling of neighbourhood shares

Scale an existing DeSO anchor to other years; a scaled value is not observed local statistics.

Derived valueDerivedReproducible — verified in test

DeSO scaling of neighbourhood shares

Scale an existing DeSO anchor to other years; a scaled value is not observed local statistics.

Data → operation → output
Published DeSO share in the reference year and municipal share in selected/reference year; optional age/sex filters. → clamp(DeSO anchor × municipality(year)/municipality(reference year), 0, 100). Outside municipal history Model 1 is used; filters are applied after scaling. → /karta
Assumptions
  • A constant local relationship to the municipality is an own assumption; the future municipal factor comes from Model 1.
Observed vs modelled
Only the unfiltered reference year is exact. Another year or filter is scaled. A missing DeSO anchor returns null; an invalid model denominator returns null.
Uncertainty
Scaling can differ greatly from actual local population movements.
Limitations
  • No new DeSO observation is created; shares are bounded to 0–100 percent.
Scope of validity
DeSO2018 anchors in available files; src/lib/deso.ts covers Stockholm, Gothenburg and Malmö, desoAll.ts other coverage.
Reproducibility
Ratio scaling is tested with a real anchor and missing/invalid inputs.
Version
2.1 · last verified 2026-10-11
Code/data reference
src/lib/deso.ts
How to verify this figure
Source
SCB — DeSO2018, BE0101Y/FolkmDesoBakgrKon; SCB — BE0101Q2, UtlSvBakgGrov, kommun × år
Retrieved/verified
2026-10-11
Version
v2.1
Calculation
clamp(DeSO anchor × municipality(year)/municipality(reference year), 0, 100). Outside municipal history Model 1 is used; filters are applied after scaling.
  1. Open the original source and find the same table or report.
  2. Select the same period, geography and unit as above.
  3. Compare the definition — for own calculations, recompute with the formula.

Changelog

Used on: /karta