
Photo: The flag of the United States (CC BY-SA 4.0, credits)
10-year ASCVD in black and white adults, ages 40-79, re-estimated in six cohorts.
AC Verified against the developers' software, or an independent package and the developers' material (evidence A, C)
developers' calculator formula (app.R, commit b9520df): 5,000 patients, max rel diff 1.1e-15; corrected tables (Updated Tables.docx): Appendix Table worked examples 2/2; Table 2, 20/20 to the printed 0.1%.
Read the full verification reportThe arguments of pce_revised, with defaults where it has them; units are in the function's docstring.
agesexracetotal_cholhdl_cholsbpbp_treatedsmokerdiabetesfrom cvd_risk import pce_revised
pce_revised(age=55, sex="female", race="african_american", total_chol=5.5, hdl_chol=1.3,
sbp=140, bp_treated=1, smoker=0, diabetes=0)Returns 0.06869 (computed by the package when this page was built). Every argument also accepts an array.