Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 620 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 620 Bytes

NHANES-Sugar-Cognition

This contains the code used to analyze the data from the scientific paper Gonçalves NG, Suemoto CK and Ferreira NV. Different sources of sugar consumption and cognitive performance in older adults: data from the National Health and Nutrition Examination Survey (NHANES) 2011-2014

If you make use of this code please cite our work.

Order in which files must be followed:

  1. ReadSASXPORT.R
  2. BindDatasets.R
  3. TransposeFoods.R
  4. ModifyDatset.R
  5. MergeDataset.R
  6. Zscore.R
  7. SurveyExclusion.R
  8. DescritiveStatistics.R
  9. LogisticRegressionTotalSugar.R
  10. LogisticRegressionFoodGroups.R