*! version 1.0.0 Aliaksandr Amialchuk 21oct2016

Title

framingham30 - Framingham 30-year Cardiovascular Disease Event Risk Prediction

Syntax

Framingham30 using data in memory

framingham30
[if] [in]
,
male(varname)
age(varname)
sbp(varname)
trtbp(varname)
smoke(varname)
diab(varname)
[bmi(varname)]
[tcl(varname)
hdl(varname)]

framingham30 options

Required
male(varname) gender (1 for male, 0 for female)

age(varname) age in years

sbp(varname) systolic blood pressure (mmHg)

trtbp(varname) use of antihypertensive treatment (1 for yes, 0 for no)

smoke(varname) smoking status (1 for smoker, 0 for non-smoker)

diab(varname) diabetes status (1 for diabetic, 0 for non-diabetic)

Optional (you must specify either option bmi or options tcl and hdl)
bmi(varname) body mass index (BMI, kg/m2)

tcl(varname) total cholesterol level (TCL, mg/dL)

hdl(varname) high density lipoprotein level (HDL, mg/dL)

Description

framingham30 calculates 30-year risk of "hard" and "full" cardiovascular disease (CVD), based on the Framingham Heart Study
(Pencina, D'Agostino, Larson, Massaro, Vasan 2009). Hard CVD is defined as coronary death, myocardial infarction, fatal or non-fatal stroke.
Full CVD is defined as hard CVD or coronary insufficiency, angina pectoris, transient ischemic attack, intermittent claudication or congestive heart failure.
After running, framingham30 creates the following variables:

created variables

When option bmi is specified:
friskcvd30 30-year risk of full CVD (based on BMI)

friskcvd30opt Age/sex adjusted "optimal" 30-year risk of full CVD (based on BMI and assuming sbp=110, smoke=0, trtbp=0, bmi=22, diab=0)

friskcvd30nor Age/sex adjusted "normal" 30-year risk of full CVD (based on BMI and assuming sbp=125, smoke=0, trtbp=0, bmi=22.5, diab=0)

hriskcvd30 30-year risk of hard CVD (based on BMI)

hriskcvd30opt Age/sex adjusted "optimal" 30-year risk of hard CVD (based on BMI and assuming sbp=110, smoke=0, trtbp=0, bmi=22, diab=0)

hriskcvd30nor Age/sex adjusted "normal" 30-year risk of hard CVD (based on BMI and assuming sbp=125, smoke=0, trtbp=0, bmi=22.5, diab=0)

When options tcl and hdl are specified:
friskcvdl30 30-year risk of full CVD (based on lipids)

friskcvdl30opt Age/sex adjusted "optimal" 30-year risk of full CVD (based on lipids and assuming sbp=110, smoke=0, trtbp=0, bmi=22, diab=0)

friskcvdl30nor Age/sex adjusted "normal" 30-year risk of full CVD (based on lipids and assuming sbp=125, smoke=0, trtbp=0, bmi=22.5, diab=0)

hriskcvdl30 30-year risk of hard CVD (based on lipids)

hriskcvdl30opt Age/sex adjusted "optimal" 30-year risk of hard CVD (based on lipids and assuming sbp=110, smoke=0, trtbp=0, bmi=22, diab=0)

hriskcvdl30nor Age/sex adjusted "normal" 30-year risk of hard CVD (based on lipids and assuming sbp=125, smoke=0, trtbp=0, bmi=22.5, diab=0)

Example

Setup (create sample dataset)

. set obs 20

. gen male=0

. gen age=37

. gen sbp=125

. gen smoke=1

. gen gtrtbp=0

. gen bmi=22.5

. gen diab=0

. replace male=1 if _n>10

. replace age=50 if _n>10

. replace sbp=240 if _n>10

. replace smoke=0 if _n>10

. replace gtrtbp=1 if _n>10

. replace bmi=. if _n>10

. replace diab=0 if _n>10

. gen tcl=160 if _n>10

. gen hdl=60 if _n>10

Run framingham30 using sample dataset

. framingham30, male(male) age(age) sbp(sbp) smoke(smoke) trtbp(gtrtbp) diab(diab) bmi(bmi) tcl(tcl) hdl(hdl)

References

Pencina, D'Agostino, Larson, Massaro, Vasan.
Predicting the 30-Year Risk of Cardiovascular Disease: The Framingham Heart Study. Circulation 2009;119(24):3078-84.

see also: https://www.framinghamheartstudy.org/risk-functions/cardiovascular-disease/30-year-risk.php

Citation of framingham

framingham30 is not an official Stata command. It is a free contribution
to the research community, like a paper. Please cite it as such:

Amialchuk, Aliaksandr (2016). framingham30: Stata Module for Calculating the Framingham 30-year Cardiovascular Disease Risk Prediction.

Author

Aliaksandr Amialchuk, University of Toledo

Toledo, OH, USA

aamialc@utnet.utoledo.edu

Acknowledgment

I would like to thank Monita Karmakar for her support while developing framingham30.