
Photo: Burj Al Arab, Dubai (CC BY-SA 4.0, credits)
10-year ASCVD, hard CAD and stroke, ages 18+.
C Checked against the developers' published material (evidence C)
printed table and statistical syntax: 32/32 terms: Data S1 syntax equals Table 2; no worked example.
Read the full verification reportNone recorded.
The arguments of adrs, with defaults where it has them; units are in the function's docstring.
agesexsmokersbpdbptc_hdldiabeteshypertensionbp_treatedvitamin_degfroutcome='ascvd'from cvd_risk import adrs
adrs(age=50, sex="male", smoker=1, sbp=135, dbp=85, tc_hdl=4.5, diabetes=0,
hypertension=1, bp_treated=1, vitamin_d=25, egfr=95, outcome="ascvd")Returns 0.1541 (computed by the package when this page was built). Every argument also accepts an array.