Question: The data set lemur.txt ( in the STA 3 0 2 4 folder ) contains the ID , Sex, Name, and DOB ( date of

The data set lemur.txt (in the STA 3024 folder) contains the ID, Sex, Name, and DOB
(date of birth) of 35 ring-tailed lemurs.
a. Using the list style of input read in the above data such that the dates are stored as
numbers (SAS dates). Print the resulting data set without formatting it.
b. Print the data set so that DOB is formatted as February 7,2024.
c. Create a new data step based on the one in (a) that calculates the age in years of each
lemur. Print the entire data set with the formats from (b).
d. Create a new data set by using a SET statement with the data set created in (a) and
use a WHERE statement to select only lemurs born in 2016.
e. Print the name of the oldest female lemur.
The data set lemur.txt ( in the STA 3 0 2 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!