CDC en Español

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

NHANES Dietary Web Tutorial

  • Email this page

Review Data and Create New Variables

Purpose

Reviewing NHANES dietary data and creating new variables may be necessary before you can use the variables in the dataset.  NHANES data may need to be adjusted if the dataset has missing data, skip patterns, or outliers.  Depending on the purpose of your analysis, you also may need to create new variables (e.g., create food groups from individual food codes).  

 

Task 1: Identify, Recode, and Evaluate Missing Data

Missing values may distort your analysis results. You must evaluate the extent of missing data in your dataset to determine whether the data are useable without additional re-weighting for item non-response.

 

Task 2: Check for Skip Patterns and Explain How They Affect Results

The significance of a skip pattern depends on the question leading to the skip pattern, the questions within that skip pattern, and the variables you intend to analyze.

warning icon  If you fail to address skip patterns, you may obtain data on only a proportion of the sample, instead of the entire survey sample.

 

Task 3: Check the Data for Influential Outliers

Before you analyze your data, it is very important that you identify outliers and determine how they might affect your analysis.

 

Task 4: Create New Variables

The nature of the dietary data requires you to be facile in the methods you use to create variables. Therefore, it is important that you know various ways to recode data to create a new variable. Creating new variables is an extremely important step for preparing an analytical dataset using dietary data, if you want to regroup foods into new groups or create new food groups using individual food codes.

 

Page Last Modified: November 21, 2008

Basic Dietary Analyses

Advanced Dietary Analyses

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