Skip directly to search Skip directly to A to Z list Skip directly to navigation Skip directly to site content Skip directly to page options
CDC Home

Continuous NHANES Web Tutorial Sample Code & Datasets

lineYou are at Continuous NHANES contentlineGo to NHANES III contentlineGo to NHANES II contentlineGo to NHANES I contentline

Below is a listing of all the sample code and datasets used in the Continuous NHANES tutorial. They are organized by module and then task. If a module or task is not listed it is because it did not have a related program. Programs are available as SAS programs (i.e. SAS Survey Procedures and SAS-callable SUDAAN)  and Stata programs. The datasets are SAS or Stata datasets for Windows.

These datasets are intended to be used with the tutorial only, as they may contain a subset of the variables available. If you wish to conduct your own analyses, please download the most current and complete datasets from the NHANES website.

Program code used in this tutorial follow procedures available in SAS 9.2, SUDAAN 9.0 or SUDAAN 8.0, and Stata/SE 10.0. Additional programs for SAS 9.1 and R are available at the bottom of this page.

These programs use variable formats listed in the Tutorial Formats page. You may need to format the variables in your dataset the same way to reproduce results presented in the tutorial.

Info icon A regular left-click may not download the SAS datasets or SAS code correctly. Your browser may try to open and attempt to interpret the contents of the dataset or program. If this happens, right-click the link and save the dataset or program to your hard drive. After it has downloaded, the use your statistical software program to open the dataset to view it.

 

Download Data Files