*! version 1.0.1 18February2017

*! version 1.0.0 2April2015

Title

framingham -- Framingham 10-year Cardiovascular Disease Event Risk Prediction

Syntax

Framingham using data in memory

framingham
[if] [in]
,
male(varname)
age(varname)
sbp(varname)
trhtn(varname)
smoke(varname)
diab(varname)
hdl(varname)
chol(varname)
[ optimal
replace
suffix(string)
]

Immediate form of Framingham

framinghami
,
male(0/1)
age(numlist)
sbp(numlist)
trhtn(0/1)
smoke(0/1)
diab(0/1)
hdl(numlist)
chol(numlist)
[ optimal
]

framingham options

Required
male(varname) gender, where male = 1 and female = 0

age(varname) age in years

sbp(varname) systolic blood pressure (mmHg)

trhtn(varname) treatment for hypertension antihypertensive medication

smoke(varname) smoking status, where smoker = 1 and non-smoker = 0

diab(varname) diabetes status, where diabetic = 1 and non-diabetic = 0

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

chol(varname) total cholesterol level (mg/dL)

Optional
replace replaces variables created by framingham if they already exist

suffix(string) adds a suffix to the names of variables created by framingham

optimal adds a variable to the file representing the age/sex adjusted optimal risk (where sbp = 110, chol = 160, hdl = 60)

immediate options

Required
male(integer) gender, where male = 1 and female = 0

age(numlist) age in years

sbp(numlist) systolic blood pressure (mmHg)

trhtn(integer) treatment for hypertension with antihypertensive medication

smoke(integer) smoking status, where smoker = 1 and non-smoker = 0

diab(integer) diabetes status, where diabetic = 1 and non-diabetic = 0

hdl(numlist) high density lipoprotein level (mg/dL)

chol(numlist) total cholesterol level (mg/dL)

Optional
optimal provides an additional estimate of the age/sex adjusted optimal risk (where sbp = 110, chol = 160, hdl = 60)

Description

framingham calculates the 10-year risk of having a cardiovascular disease event, based on the Framingham Heart Study
(D'Agostino et al. 2008).

framinghami is the immediate form of framingham; see immed.

Examples

Setup

. use framingham

Run framingham using data in memory

. framingham , male(male) age(age) sbp(sbp) trhtn(trhtn) smoke(smoke) diab(diab) hdl(hdl) chol(chol)

Rerun command, specifying the optimal option, and replace existing estimates

. framingham , male(male) age(age) sbp(sbp) trhtn(trhtn) smoke(smoke) diab(diab) hdl(hdl) chol(chol) replace optimal

Run framinghami for an individual case and specify the optimal option

. framinghami , male(1) age(51) sbp(130) trhtn(0) smoke(0) diab(0) hdl(52) chol(151) optimal

Stored results

framinghami stores the following in r():

Scalars

r(risk10) 10-year risk estimate

r(optrisk10) optimal 10-year risk estimate (if option optimal is specified)

References

D'Agostino RB, Vasan RS, Pencina MJ, Wolf PA, Cobain M, Massaro JM, Kannel WB.
General cardiovascular risk profile for use in primary care: the Framingham Heart Study. Circulation 2008;117(6)743-753.

see also: http://www.framinghamheartstudy.org/risk-functions/cardiovascular-disease/10-year-risk.php

Citation of framingham

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

Linden, Ariel (2015). framingham: Stata module for calculating the Framingham 10-year Cardiovascular Disease Risk Prediction

Author

Ariel Linden

President, Linden Consulting Group, LLC

Ann Arbor, MI, USA

alinden@lindenconsulting.org

http://www.lindenconsulting.org

Acknowledgments

I would like to thank Nicholas J. Cox for his support while developing framingham