NHS sign, Lewisham Hospital, London
All models

QRISK2-2014

United Kingdom2014Primary prevention

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

What it predicts

10-year CVD risk with ethnicity, deprivation and clinical conditions.

Verification

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

developers' C code: 30,000 patients (9,188 rejected by both), max rel diff 2.9e-13; qrisk2-2014 0.1.1 (npm): 20,812 patients equal at its 6 decimals of a percentage.

Read the full verification report

Discrepancies found

None recorded.

Inputs

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

agesexethnicitysmokingbmichol_hdl_ratiosbptownsend=0.0diabetes='none'af=0rheumatoid_arthritis=0ckd=0bp_treated=0family_history=0

Python usage

from cvd_risk import qrisk2

qrisk2(age=64, sex="female", ethnicity="indian", smoking="non", bmi=27, chol_hdl_ratio=4.0, sbp=140)

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