This scenario uses the
Cert.Patients and Cert.Measure data sets. Write a SAS program to do
the following:
-
Sort Cert.Patients and Cert.Measure
by ID.
-
Use the match-merging technique
to combine Cert.Patients and Cert.Measure to create a new temporary
data set named Work.Merge.
-
Select observations for the patients
under the age of 50.
-
Sort the new data set, Work.Merge,
by Age in descending order.
-
Save the sorted data set as Work.Sortpatients.