CH6 exercise

CH6 exercise - STAT1303A Data Management 6. Restricting...

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

View Full Document Right Arrow Icon
STAT1303A Data Management 6. Restricting Observations and Variables Exercise 6 1. . Create a temporary SAS data set which contains the 2-nd to the 5-th observations. 2. . Create a temporary SAS data set which contains the 3 observations starting from the 3-rd one. 3. Using the SAS data set BLOOD, create a temporary SAS data set which contains the 5-th to the 200-th observations. 4. Using the SAS data set BLOOD, create a temporary SAS data set SUBSET1. SUBSET1 should consist of observations where GENDER is Male, AGEGROUP is Old and WBC greater than 5000. Repeat with IF and WHERE statements, OUTPUT and DELETE statements. 5. Using the SAS data set BLOOD, create two temporary SAS data sets called SUBSET_A and SUBSET_B. Include in both of these data sets a variable called COMBINED equal to 0.001 times WBC plus RBC. SUBSET_A should consist of observations from BLOOD where GENDER is equal to
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

CH6 exercise - STAT1303A Data Management 6. Restricting...

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