You receive a text (ASCII) file called FRO DO on a diskette. The data layout is as follows: A few sample records are shown here: You place this diskette in the A: drive of your computer. Write a SAS...


You receive a text (ASCII) file called FRO DO on a diskette. The data layout is as follows:


A few sample records are shown here:


You place this diskette in the A: drive of your computer. Write a SAS program that will read this file and do the following:


(a) Create a permanent SAS data set called BILBO on the diskette in drive A. This data set should contain AGE, HR, SBP, and AVEBP, where AVEBP is defined as two thirds of the diastolic blood pressure (DBP) plus one-third of the systolic blood pressure (SBP). (This is actually a weighted average of the DBP and SBP with weights of 2/3 and 1/3,since the heart spends more time in diastole than systole.)


(b) Create another SAS data set called HJBP, which contains only records of subjects with AVEBP greater than or equal to 100.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here