The MCHP SAS MANUAL - Simulated MB Health Data (Version 2)

         


Sample Data Sets: Simulated MB Health - Version 2

Another version of the program that reads the simulated Manitoba Health data set adds the following two lines into the program, as shown below:

  • %include 'My Documents\My SAS Files\ sasmanual\ formats \fmts95.sas'; This file contains code to create label formats for many of the data values.
  • %include 'My Documents\My SAS Files\ sasmanual\ formats \lbls93.sas'; This file contains code to create labels for the variables of the data set, as well as a SAS statement to attach the above labeling formats to the data values.

Note that the user will need to modify the pathnames for such files to reflect their actual location on the user's system.

Note that the data contained in the file fivet93m.raw is not available on the online tutorial, but is only available for workshops and courses run throught MCHP.

The resulting log shows that formats have been output, or created. The Output window shows labeled variables in the CONTENTS output, and labeled values in the PRINT output (e.g., the variables gender and regionre).


Last modified on