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 folder contains the ID Sex, Name, and DOB
date of birth of ringtailed 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
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
e Print the name of the oldest female lemur.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
