Hi! I am a grad student trying to analyze some food frequency questionnaires using an existing tool and publicly available codebook/SAS macro. I have only used SAS a handful of times and never for something like this. Basically, what I am trying to do (for starters) is delete the data on the SAS file I downloaded from NHANES website so I can put my data in instead. I can't even figure out how to do that. How do I delete the data in the following SAS file without messing up anything else? I coded by data in a separate excel sheet the same way the codebook (see below) codes it, but am stuck on deleting all of the rows of sample rows (over 600 samples) in the below file. My study only has 37. Here is a link to the codebook: https://wwwn.cdc.gov/Nchs/Nhanes/2003-2004/FFQRAW_C.htm Here is a link to the SAS file I am trying to use: https://wwwn.cdc.gov/Nchs/Nhanes/2003-2004/FFQRAW_C.XPT Thanks so much in advance!
... View more