Question: Step 2 . FORMAT practice Create a new temporary format called DXGRPFT that will associate the following data values to these text values in parentheses:

Step 2. FORMAT practice
Create a new temporary format called DXGRPFT that will associate the following
data values to these text values in parentheses:
1(pertussis/whooping cough)
2(infectious mononucleosis)
3(syphilis and other venereal diseases: STDs)
4(myocardial infarction)
5(cerebovascular disease)
6(chronic kidney disease)
7(acute sore throat)
Create a new temporary character format called DXCFT that will associate the following
data values to these text values in parentheses:
'1'(pertussis/whooping cough)
'2'(infectious mononucleosis)
'3'(syphilis and other venereal diseases)
'4'(myocardial infarction)
'5'(cerebovascular disease)
'6'(chronic kidney disease)
'7'(acute sore throat)
Check your work in the log. Check your ranges using a second
PROC FORMAT with the fmtlib option.
Step 3.
Save the data sets FULLSET and SHORTSET to your permanent library and call the SAS data set
SHORTSET.
Make sure to check the Log file to see that HW.SHORTSET was successfully created.
The data set should have 100 observations and 11 variables.
Run the PROC CONTENTS POSITION on HW.SHORTSET. Get familar with the variables.

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!