National Cancer Institute Home at the National Institutes of Health | www.cancer.gov
Please wait while this form is being loaded....
The Applied Research Program Web site is no longer maintained. ARP's former staff have moved to the new Healthcare Delivery Research Program, the Behavioral Research Program, or the Epidemiology & Genetics Research Program, and the content from this Web site is being moved to one of those sites as appropriate. Please update your links and bookmarks!

Usual Dietary Intakes: Analytic Datasets for SAS Macros

Analytic Dataset 1

This dataset is used for examples 1-3 for the analysis of a single dietary component and for examples 1-4 for estimating ratios of two dietary components.

There are two versions of the dataset for examples 1-3 available, depending on which version of SAS you are using -- version 8 or version 9.

Either file, once unzipped, will have the exact same name that is used in the examples.

If the version 8 or version 9 SAS files do not work on your SAS platform, use the following SAS transport file.

The transport file can be imported using the following code.

libname  lib   'SAS-data-library';
filename trans 'transport-file'
                host-option(s)-for-file-characteristics;

proc cimport data=lib.t_0104nc_may7 infile=trans;
run;

Analytic Dataset 2

This dataset is used for example 4 for the analysis of a single dietary component.

The transport file works with both versions 8 and 9 of SAS.

Once unzipped, this transport file is imported directly by the example program.

Last Modified: 18 Oct 2013