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

Keep & Merge Data

lineGo to Continuous NHANES contentlineGot to NHANES III contentlineYou are at NHANES II contentlineGo to NHANES I contentline

Purpose

An NHANES II dataset for analysis will typically include data from at least two data files. You will need to keep and merge data to include variables from different data files.

 

Task 1: Keep NHANES II Data

NHANES II data files were released by their collection method or component. Many of these are very large data files with many variables.  Most analysts will only need a few selected variables.  You will likely wish to keep only those variables when you create your analytic dataset. This process uses a SAS option statement called keep.

 

Task 2: Merge NHANES II Data

The NHANES II data files are organized by collection method or component, such as Physician's Examination or Hematology and Biochemistry. Joining the components of the data files uses a SAS statement called merge.

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. #