Assignment Overview: Analyze the Framingham Heart Study* dataset preloaded in SAS Studio. Note: In SAS Studio the library called "SASHELP". The dataset is called "HEART
Sashelp.heart — Framingham Heart Study F 69
Sashelp.heart — Framingham Heart Study The Sashelp.heart data set provides results from the Framingham Heart Study. The following steps display information about the data set Sashelp.heart and create Figure 1.51. The data set contains 5,209 observations.
title "Sashelp.heart --- Framingham Heart Study"; proc contents data=sashelp.heart varnum;
ods select position; run;
title "The First Five Observations Out of 5,209"; proc print data=sashelp.heart(obs=5) noobs; run;
title "The Status and DeathCause Variables"; proc freq data=sashelp.heart;
tables Status; tables DeathCause;
run;
Figure 1.51 Sashelp.heart — Framingham Heart Study
Sashelp.heart --- Framingham Heart Study
The CONTENTS Procedure
Variables in Creation Order
# Variable Type Len Label
1 Status Char 5
2 DeathCause Char 26 Cause of Death
3 AgeCHDdiag Num 8 Age CHD Diagnosed
4 Sex Char 6
5 AgeAtStart Num 8 Age at Start
6 Height Num 8
7 Weight Num 8
8 Diastolic Num 8
9 Systolic Num 8
10 MRW Num 8 Metropolitan Relative Weight
11 Smoking Num 8
12 AgeAtDeath Num 8 Age at Death
13 Cholesterol Num 8
14 Chol_Status Char 10 Cholesterol Status
15 BP_Status Char 7 Blood Pressure Status
16 Weight_Status Char 11 Weight Status
17 Smoking_Status Char 17 Smoking Status
70 F Chapter 1: Sashelp Data Sets
Figure 1.51 continued
The First Five Observations Out of 5,209
Status DeathCause AgeCHDdiag Sex AgeAtStart Height Weight Diastolic Systolic MRW Smoking AgeAtDeath
Dead Other . Female 29 62.50 140 78 124 121 0 55
Dead Cancer . Female 41 59.75 194 92 144 183 0 57
Alive . Female 57 62.25 132 90 170 114 10 .
Alive . Female 39 65.75 158 80 128 123 0 .
Alive . Male 42 66.00 156 76 110 116 20 .
Cholesterol Chol_Status BP_Status Weight_Status Smoking_Status
. Normal Overweight Non-smoker
181 Desirable High Overweight Non-smoker
250 High High Overweight Moderate (6-15)
242 High Normal Overweight Non-smoker
281 High Optimal Overweight Heavy (16-25)
The Status and DeathCause Variables
The FREQ Procedure
Status Frequency Percent Cumulative Frequency
Cumulative Percent
Alive 3218 61.78 3218 61.78
Dead 1991 38.22 5209 100.00
Cause of Death
DeathCause Frequency Percent Cumulative Frequency
Cumulative Percent
Cancer 539 27.07 539 27.07
Cerebral Vascular Disease 378 18.99 917 46.06
Coronary Heart Disease 605 30.39 1522 76.44
Other 357 17.93 1879 94.37
Unknown 112 5.63 1991 100.00
Frequency Missing = 3218