Merge Feasibility File and NHANES Data


This module provides instruction on how to merge the SAS-formatted datasets from the feasibility and NHANES data files created in the previous module, into a single analytic dataset.


Task: Merge Feasibility Files and NHANES Demographic Datasets

Once you have created the SAS-formatted feasibility and NHANES datasets you will then need to merge them by SEQN. For analytic purposes, subsetting the data is not recommended. In this task, both files are sorted, and then merged to create a new SAS dataset. SAS coding examples are included.