tutor4 - with the following new variables. 3. Read the...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
The University of Hong Kong Department of Statistics and Actuarial Sciences STAT 1 303 Data Management Tutorial 4 2. Read the data from examp4.txt, create a dataset patient, with variables: ID, AGE, Pulse, SBP, DBP, and assign the label to SBP, DBP respectively with: SBP= “Systolic Blood Pressure” DBP=”Diastolic Blood Pressure”. Using this dataset patient, create a new dataset, with the name newvitals,
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: with the following new variables. 3. Read the following data to create a SAS dataset, QUESALARY. (a). Create a new variable, QUESUM=QUES1+QUES2+QUES3+QUES4+QUES5. (b). Use Procedure gplot to plot Salary against QUESUM . (c). Print out the observations with Gender =”F”, Age>40. (d). Use Procedure Means for different gender group and compare the mean value of age, salary and quesum....
View Full Document

Page1 / 2

tutor4 - with the following new variables. 3. Read the...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online