hw2 - PH6420: Assignment 2 (Oct 10) Overview The entire...

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

View Full Document Right Arrow Icon
PH6420: Assignment 2 (Oct 10) Overview The entire assignment can be done in a single SAS program. Submit (hand-in) the SAS program remembering to answer each of the questions regarding the output. You do not need to include any output; if you do it should only contain information that answers a question. Remember to answer any questions that are in italics . Advice: You may want to run the program after each step and make sure that portion of the program works correctly before adding to the program to do the next section. 1. Create a SAS dataset called wtsbp reading the following variables from tomhs.dat . ptid , age , sex , marital , wtbl , wt6 , sbpbl , sbp6 . 2. Compute two new variables in the DATA step: change in weight and change in systolic blood pressure. Call the variables wtdif and sbpdif . The formula for wtdif is: wtdif = wt6 – wtbl; Define sbpdif in a similar manner. Note: by computing the differences in this way negative values will indicate a decrease from baseline and positive values will indicate an
Background image of page 1

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

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

Page1 / 2

hw2 - PH6420: Assignment 2 (Oct 10) Overview The entire...

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