NHS sign, Lewisham Hospital, London
All models

ASSIGN 1.0 and 2.0 (Scotland)

Scotland2007-2025Primary prevention

Photo: NHS sign, Lewisham Hospital, London (CC BY-SA 3.0, credits)

What it predicts

10-year CVD risk with social deprivation (SIMD) and family history, ages 30-74.

Verification

AC Verified against the developers' software, or an independent package and the developers' material (evidence A, C)

official calculator (NHS Scotland; version 2.0): 200/200 displayed scores; developers' offline calculator 1.5.1 (version 1.0): 1,000/1,000 within 5.7e-14 points (archived 2014 code, run in Node); printed appendix (version 1.0) and supplement (version 2.0): every beta, mean and survival found in the PDF text; 0.2286 typo identified.

Read the full verification report

Discrepancies found

  • PublicationThe men's total cholesterol coefficient is printed 0.2286 in the mean term, against 0.22286 elsewhere and in the calculator. Resolution: 0.22286 used, as in the calculator.
  • PublicationThe cigarettes term is printed twice in the linear predictor. Resolution: Term used once, as in the 2007 appendix and the developers' offline code.

Inputs

The arguments of assign, with defaults where it has them; units are in the function's docstring.

agesextotal_cholhdl_cholsbpdiabetesfamily_historycigarettes_per_daysimd_scoreversion=2

Python usage

from cvd_risk import assign

assign(age=55, sex="male", total_chol=6.0, hdl_chol=1.2, sbp=140, diabetes=0,
       family_history=1, cigarettes_per_day=10, simd_score=20)

Returns 12.5 (computed by the package when this page was built). Every argument also accepts an array.