CDC en Español

Search:
National Center for Health Statistics  Monitoring the Nation's Health

NHANES I Web Tutorial

  • Email this page

Keep & Merge Data

Purpose

To conduct analyses using NHANES I data, an analyst will typically include selected variables from at least two data files. Therefore, you will need to keep and merge data to create your analytic dataset to include variables from different data files.

 

Task 1: Keep NHANES I Data

NHANES I data files were released by their collection method or component. Many of these are very large data files with many variables.  Most analysts will only need a few selected variables.  You will likely wish to keep only those variables when you create your analytic dataset. This process uses a SAS option statement called keep.

 

Task 2: Merge NHANES I Data

The NHANES I data files were organized primarily by 20 different topic areas. It is very likely that variables of interest to you come from different data components (topic areas).  Joining the components of the data files is called merging.

When choosing which files to merge, be aware that some of these files only contain data on the detailed subsample or the augmented population.

 

Page Last Modified: August 06, 2008

Additional Resources

National Center for Health Statistics
3311 Toledo Road
Hyattsville, MD 20782
Phone: 1-866-441-NCHS (6247)
For data inquiries, use
nchsquery@cdc.gov

 

Problems or comments about the Tutorial?
Email the Tutorial Team: NHANESWebTutorial@cdc.gov

 

Safer Healthier People

Centers for Disease Control and Prevention, 1600 Clifton Rd, Atlanta, GA 30333, U.S.A
Tel: (404) 639-3311 / Public Inquiries: (404) 639-3534 / (800) 311-3435