Purpose
Formats and labels are user-defined tools that provide a convenient way to define variables in your SAS, SUDAAN, or Stata output.
Task 1: Define and assign formats and labels
Formatting and labeling variables is optional and does not need to be done for all variables in the dataset. However, it is especially useful for frequently used variables and for clarity in your output.
- Key Concepts about Formats and Labels in NHANES
- How to Format and Label NHANES Variables in SAS
- How to Format and Label NHANES Variables in Stata
- Download Sample Code and Dataset
Contact Us:
- National Center for Health Statistics
3311 Toledo Rd
Hyattsville, MD 20782 - 1 (800) 232-4636
- cdcinfo@cdc.gov