Myocardial Infarction (MI) data

Table of Contents


The study for which the following data were collected aimed at examining whether women who use or have used oral contraceptives are at a higher risk of myocardial infarction (MI). The sample includes 149 women who had myocardial infarction (cases) and 300 women who did not (controls). The main exposure factor is usage of oral contraceptives; the data also include age, weight, height, tobacco consumption, hypertension and family history of cardiovascular diseases.

Variable Names

Variable Explanation (Unit)
id subject id
mi 1 if myocardial infarction (case), 0 otherwise (control)
oc oral contraceptives, 0 = never, 1= ever
tobacco tobacco, 1= never smoked, 2=smoker, 3= former smoker
age age
weight weight (kg)
height height (cm)
bmi Body mass index
history family history of cardiovascular diseases, 1=yes, 0=no
hypertension hypertension, 1=yes, 0=no


Format Download
text (csv) MI.csv
rda (for R) MI.rda

Load data into R



Lafaye de Micheaux P., Drouilhet R., and Liquet B., (2014) The R software. Fundamentals of Programming and Statistical Analysis, Springer, Collection: Statistics and Computing, vol. 40, 655 p., ISBN: 978-1-4614-9019-7.

Created: 2020-11-08 Sun 09:41