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

NHANES Environmental Chemical Data Tutorial

Merge & Append Datasets

Purpose

Once you have downloaded data files into a SAS-accessible library, you can begin to manipulate data for your particular analysis. Typically, an NHANES environmental chemical dataset used for analysis will include data from more than one survey cycle and variables from more than one data file. You will need to merge the data to include variables from the different files in the same survey cycle, and append the data to combine the different survey cycles for the same variables or comparable variables.

 

Task 1: Merge NHANES Data

Data files are generally organized by the following categories: Demographics, Examination, Laboratory, and Questionnaire. All environmental chemical data files are in the category of Laboratory and different data files represent different components which may be released at the same or different times depending on when the laboratory testing and data processing are completed. Combining variables from these different data files in a dataset is called merging, similar to adding columns in a table.

 

Task 2: Append NHANES Data

NHANES data files are released for public use in two-year survey cycles. Most of the environmental chemicals are measured in randomly selected subsamples within specific age groups. You will usually combine multiple cycles to increase sample sizes (observations) for your specific analysis. The process of combining different survey cycles is called appending.

 

Contact Us:
  • National Center for Health Statistics
    3311 Toledo Rd
    Hyattsville, MD 20782
  • 1 (800) 232-4636
  • cdcinfo@cdc.gov
USA.gov: The U.S. Government's Official Web PortalDepartment of Health and Human Services
Centers for Disease Control and Prevention   1600 Clifton Rd. Atlanta, GA 30333, USA
800-CDC-INFO (800-232-4636) TTY: (888) 232-6348 - Contact CDC–INFO
A-Z Index
  1. A
  2. B
  3. C
  4. D
  5. E
  6. F
  7. G
  8. H
  9. I
  10. J
  11. K
  12. L
  13. M
  14. N
  15. O
  16. P
  17. Q
  18. R
  19. S
  20. T
  21. U
  22. V
  23. W
  24. X
  25. Y
  26. Z
  27. #