/* The dataset has the formats below permanently assigned to certain variables. We do NOT need to rerun the DATA step used to assign the formats however we DO need to resubmit the PROC FORMAT so SAS will know the translations used */ PROC FORMAT; VALUE GDR 1 = "Male" 2 = "Female"; VALUE YN 1 = "Yes" 2 = "No"; VALUE EXER 1 = "High" 2 = "Moderate" 3 = "Low"; VALUE TREAT 1 = "Ran" 2 = "Sat"; RUN; DATA BIO.PULSE_STEP3; SET BIO.PULSE_STEP2; LOGWT = LOG(WEIGHT); BMI = WEIGHT/(HEIGHT/100*HEIGHT/100); LABEL LOGWT = "Natural Log of Weight" BMI = "Body Mass Index"; RUN; PROC CONTENTS DATA=BIO.PULSE_STEP3 VARNUM; RUN; PROC PRINT DATA=BIO.PULSE_STEP3(OBS=10); RUN; /* Graphs to illustrate result of transformation */ PROC SGPLOT DATA=BIO.PULSE_STEP3; HISTOGRAM WEIGHT; RUN; PROC SGPLOT DATA=BIO.PULSE_STEP3; HISTOGRAM LOGWT; RUN; PROC SGPLOT DATA=BIO.PULSE_STEP3; VBOX WEIGHT; RUN; PROC SGPLOT DATA=BIO.PULSE_STEP3; VBOX LOGWT; RUN;