
Photo: Framingham town-line sign (illustration) (Public domain, credits)
10-year general CVD, laboratory and BMI versions.
ABC Verified against the developers' software, or an independent package and the developers' material (evidence A, B, C)
Framingham Heart Study spreadsheets: 1,000 patients x 2 models, max rel diff 2.0e-14 (formulas recalculated by LibreOffice); 8/8 cached risks; worked examples: 2/2 score-sheet cases; 32/32 printed coefficients; CVrisk 1.2.1: 19,646 patients, max rel diff 2.1e-14; cvd-risk-scores 1.0.2: 19,898 patients, max rel diff 2.1e-14; does not import with pydantic 2; framingham_risk (commit ae83f7a): 20,000 patients, max rel diff 1.7e-14.
Read the full verification reportThe arguments of framingham, with defaults where it has them; units are in the function's docstring.
agesexsbpbp_treatedsmokerdiabetestotal_chol=Nonehdl_chol=Nonebmi=Nonemodel='lab'from cvd_risk import framingham
framingham(age=61, sex="female", sbp=124, bp_treated=0, smoker=1, diabetes=0,
total_chol=4.65, hdl_chol=1.22)Returns 0.1045 (computed by the package when this page was built). Every argument also accepts an array.