Create.pam* Programs
The SAS programs create.pam_perminute.sas, create.pam_perday.sas, and create.pam_perperson.sas
edit the NHANES 2003-2004 PAM data and create datasets that can be used for analyses. The
raw data are available for download from the NCHS. Modify the programs for your local
environment.
Users can modify these programs to examine other issues, such as alternate definitions
of valid data, monitor wear periods, or activity bouts. Intermediate SAS programming
skills are recommended for those who wish to modify the definitions.
We also have included .log and .lst files resulting from our analysis of the NHANES
data for the files named create.* These files are intended to help users confirm they are
getting sensible results.
This program edits invalid and unreliable intensity values in the PAM data.
Input:
Output:
.log and .lst files
This program summarizes valid PAM data into a dataset with one record per person per day. The summary record contains derived variables on duration of non-wear periods as well as activity bouts with moderate, vigorous, and moderate or vigorous intensity. The output dataset can be used for analysis at the day level, and it is an intermediate step for creating the pam_perperson dataset.
Input:
- pam_perminute (local - this is the output from create.pam_perminute.sas)
Output:
.log and .lst files
This program summarizes valid PAM data into a dataset with one record per person and adds demographic variables. The output dataset can be used for analysis at the person level.
Input:
Output:
.log and .lst files
|