Skip to Main Content
An official website of the United States government
Epidemiology and Genomics Research Program

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.

If the SAS file above does 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.indiv_ims 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.

Analytic Dataset 3

This dataset is used for examples 1-4 for estimating ratios of two dietary components, and also for examples for examples 1-3 for the analysis (using the old version of the macros) of a single dietary component.

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;