Q1. Which is the correct way to access the NHANES 2017-18 data cycle in your RStudio environment?
- A. Directly download from the CDC website and open it
- B. Use R package `nhanesA` to download
- C. Both A and B are correct
- D. Neither A nor B is correct
Hints: The continuous NHANES files are stored on the NHANES website as SAS transport file formats (.xpt). You can import these data files in any statistical software that supports this file format. Some packages are also available to open those data files without downloading them.
Q2. Suppose you are interested in exploring whether demographic factors, such as age, sex, and race/ethnicity, are associated with obesity among US adults. To extract the `obesity` information defined as body mass index greater than or equal to 30 kg/m^2 from the NHANES 2017-18 cycle, which data file do you need to access?
- A. DEMO_J
- B. BMX_H
- C. BMX_J
- D. DBQ_H
Hints: CDC uses a file name to characterize a type of data file and an index number to characterize each cycle.
Q3. In Q2, what is the name of the variable age at screening in years?
- A. DMDHRAGZ
- B. RIDAGEMN
- C. RIDAGEYR
- D. RHD018
Hints: There are many age variables in NHANES. Check the appropriate one for your analysis.
Q4. In Q2, what is the name of the unique identifier number?
- A. Studyid
- B. ID
- C. SEQN
- D. SDDSRVYR
- E. DEMO
Hints: All files have this unique identifier number so that one can merge multiple data files based on that number.