ods pdf file="H:\_ODS\SAS_ACT_06_Output.pdf" notoc; /* SAS Activity #6 */ /* Import height.csv */ /* #1 Label and Format Variables */ proc format; value gend 1 = "Female" 0 = "Male"; run; data bio.height2; set bio.height; format gender gend.; label gender=Gender height = Height (inches) weight = Weight (pounds); run; /* #2 PROC CONTENTS */ proc contents data=bio.height2 varnum; run; /* #3 Scatterplot of X = Height by Y = Weight */ proc sgplot data=bio.height2; scatter x = height y = weight; run; /* #4 Labeled Scatterplot of X = Height by Y = Weight - labeled by gender */ proc sgplot data=bio.height2; scatter x = height y = weight / group=gender; run; ods pdf close;