Create SAS-formatted Datasets
Purpose
This module provides instruction on how to create SAS-formatted datasets from the feasibility and NHANES data files.
Task 1: Create SAS-formatted Feasibility File
The feasibility files are public use text files and will not open directly into the SAS environment. NCHS has provided a sample SAS program to read in the feasibility files and add labels. Using the provided SAS code, you will create a SAS-formatted dataset.
Task 2: Create SAS-formatted Datasets from the NHANES Data File
Using the steps in the Continuous NHANES Web Tutorial, you will create a SAS-formatted dataset from the NHANES Demographic data file.
- Key Concepts about Extracting and Copying NHANES Data Files as Permanent Libraries
- Extract and Copy NHANES Data Files as Permanent Libraries in SAS
Contact Us:
- National Center for Health Statistics
3311 Toledo Rd
Hyattsville, MD 20782 - 1 (800) 232-4636
- cdcinfo@cdc.gov