Format & Label Variables
Purpose
Formats and labels are user-defined tools that provide a convenient way to describe variables and values in your SAS or SUDAAN output. Although adding formats or labels to your variables is optional, it is often helpful when reviewing the output from your analyses. In this module, you will learn how to define and assign format and label variables in your dataset.
Task 1: Define and Assign Format and Label Variables
Formatting and labeling variables in SAS is optional and does not need to be done for all variables in the dataset. However, it makes your output of SAS or SUDAAN more "readable", which is especially useful for frequently used variables.
Because the procedure is the same as it would be for any dataset, links to the Continuous NHANES Web Tutorial are provided here for your convenience. If you use the code, please be sure to change it to match the variables in your environmental analytic dataset.
Contact Us:
- National Center for Health Statistics
3311 Toledo Rd
Hyattsville, MD 20782 - 1 (800) 232-4636
- cdcinfo@cdc.gov
- Page last updated: May 3, 2013
- Page last reviewed: May 3, 2013
- Content source: CDC/National Center for Health Statistics
- Page maintained by: NCHS/NHANES
800-CDC-INFO (800-232-4636) TTY: (888) 232-6348 - Contact CDC–INFO