nhanes_steps_mortality
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: pubmed.ncbi, ncbi.nlm.nih.gov -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.1%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: lilykoff
- Language: HTML
- Default Branch: main
- Size: 94.8 MB
Statistics
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
See rendered site at https://lilykoff.github.io/nhanesstepsmortality/
nhanesstepsmortality
Purpose: accompanies Comparing Step Counting Algorithms for High-Resolution Wrist Accelerometry Data in NHANES 2011-2014
Minute-level data can be downloaded from Physionet repository
Given minute-level step counts from NHANES, run mortality analysis
code
step_00_download_pa_data.R:- download minute-level physical activity data from Physionet
step_01_download_covariates.R:- download relevant covariate data from NHANES website, and translate columns
step_02_create_analytic_covar_dataset.R:- create analytic dataset with covariates by aggregating data downloaded from step 1, with nice labels
step_03_create_mortality_dataset.R:- download mortality data and process from NHANES website
step_04_join_demo_mortality.R:- join mortality data and demographic data
step_05a_summarize_pa.R- summarize minute level physical activity data to subject level
step_05b_create_inclusion_df.R- create inclusion criteria data frame based on acceleremetry data
step_06_join_demo_pa.R- join demographics and physical activity data
step_07<>_run_<>models.R:step_07a_run_univariate_models.R: run univariate Cox PH models (i.e.mortality ~ variable) for all variables in the datasetstep_07b_run_sensitivity_univariate.R: run univariate Cox PH models for individuals with at least one valid day of data (instead of 3)step_07c_run_agesensitivity_univariate.R: run univariate Cox PH models for individuals including 80 year olds (instead of 50-79 year olds)step_07d_run_quartilesensitivity_univariate.R: run univariate Cox PH models using quartiles of PA variables (instead of continuous)step_07e_run_stratified_univariate.R: run univariate Cox PH models stratified by age, mobility, and self-reported health
step_08<>_run_multivariate_models<>.R:step_08a_run_multivarate_models.R: run multivariable models using all individuals with at least 1 valid day of data (instead of at least 3 valid days)step_08b_run_sensitivity_multivariate.R: run multivariate models using all individuals with at least 1 valid day of data (instead of at least 3 valid days)step_08c_run_multivariate_cadence_models.R: run multivariate models with total steps and cadence to investigate added predictive power of cadencestep_08d_run_agesensitivity_multivariate.R: run multivariate models using all individuals with at least including 80 year olds (instead of 50-79 year olds)step_08e_run_stratified_multivariate.R: run multivariate models stratified by age, mobility, and self-reported healthstep_09_nonlinear_associations.R: run models to investigate nonlinear associations between PA and mortality
manuscript_figures.R: generate all figs for manuscriptmanuscript_tables.R: generate all tables for manuscriptutils.R: some helpful functionscreate_subjectinfo_file.R: create file with subject info for physionet submission
data
covariates_accel_mortality_df.rds: final processed analytical dataset used for manuscript models and analysis
accelerometry
inclusion_summary.csv.gz: summary of wear time and other criteria by day and subject
minute_level
- Each file entitled
nhanes_1440_<varname>rds.<varname>is one of:actisteps,adeptsteps,oaksteps,scrfsteps,scsslsteps,vssteps,vsrevsteps,AC,log10AC,PAXMTSM,log10PAXMTSM,PAXPREDM,PAXFLGSM - Each row in each file is one day for one participant. Each file contains the following columns: -
SEQN: NHANES participant ID, a character scalar -
PAXDAYM: NHANES day of physical activity measurements for the participant, integer between 1 and 9. Note: days 1 and 9 will not have complete data. -
PAXDAYWM: day of the week, integer between 1 and 7, where 1 corresponds to Sunday, 2 to Monday, ..., and 7 to Saturday. -
min_xforx = 1, 2, ..., 1440: the value of<varname>for minutex. Foractisteps,adeptsteps,oaksteps,scrfsteps,scsslsteps,vssteps,vsrevsteps,AC,log10AC,PAXMTSM,log10PAXMTSM, the values are floats. ForPAXPREDMthey are integers, where1= wake wear,2= sleep wear,3= unknown wear, and4= nonwear. ForPAXFLGSMthe values are logical, whereTRUEcorresponds to any wear flags andFALSEcorresponds to no wear flags
summarized
pa_df_subject_level.rds: subject level physical activity variables. Each row is subject, and the columns are the mean total, mean peak 1 minute, and mean peak 30 minute values across all valid days for that individual. Only individuals with at least 1 valid day are included.pa_df_day_level.rds: day-level level PA variable. Each row is subject-day, and columns are the values for PA variables during that day, along with summaries about weartime for that day, including:wake_min: total minutes classified as wake wear by NHANES algorithmsleep_min: total minutes classified as sleep wear by NHANES algorithmunknown_min: total minutes classified as unknown by NHANES algorithmnonwear_min: total minutes classified as nonwear by NHANES algorithmflagged_min: total minutes with any flags according to NHANESnon_flagged_wear_min: total minutes classified as wear and not flagged by NHANES algorithmzero_MIMS_min: minutes with zero MIMSinclude_day: logical, whether day meets following criteria: at least 1368 minutes classified as wake wear, sleep wear, or unknown and had no data quality flags, at least 420 minutes classified as wake wear, and at least 420 minutes had non-zero MIMS
demographics
raw
Raw .XPT files from https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/overview.aspx?BeginYear=2013 and mortality data from https://www.cdc.gov/nchs/data-linkage/mortality-public.htm
processed
Combined and processed raw data from .XPT files and mortality data
results
metrics_wtd_100_singlevar.rds: single variable concordances from 100 times repeated survey-weighted 10-fold cross validationmetrics_wtd_100.rds: multivariable concordances from 100 times repeated survey-weighted 10-fold cross validationmetrics_wtd_100_singlevar_sens.rds: single variable concordances from 100 times repeated survey-weighted 10-fold cross validation - sensitivity analysis including everyone with at least one valid daymetrics_wtd_100_sens.rds: multivariable concordances from 100 times repeated survey-weighted 10-fold cross validation - sensitivity analysis including everyone with at least one valid daymetrics_wtd_100_singlevar_80.rds: single variable concordances from 100 times repeated survey-weighted 10-fold cross validation - sensitivity analysis including 80+ year oldsmetrics_wtd_100_80.rds: multivariable concordances from 100 times repeated survey-weighted 10-fold cross validation - sensitivity analysis including 80+ year olds
manuscript
figures
Figures for manuscript
vignettes
NHANES_Steps_Mortality_Vignette.qmd: vignette describing manuscript analysesWeartime_Vignette.qmd: vignette on weartime criteria for NHANES data
Owner
- Name: Lily Koffman
- Login: lilykoff
- Kind: user
- Repositories: 1
- Profile: https://github.com/lilykoff
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: NHANES 2011-2014 step counts
message: >-
Minute-level step counts from five algorithms for NHANES
2011-2014
type: software
authors:
- given-names: Lily
family-names: Koffman
email: koffmanlily@gmail.com
affiliation: >-
Johns Hopkins Bloomberg School of Public Health
Department of Biostatistics
orcid: 'https://orcid.org/0000-0003-1543-2896'
- given-names: John
family-names: Muschelli
email: muschellij2@gmail.com
orcid: 'https://orcid.org/0000-0001-6469-1750'
affiliation: >-
Johns Hopkins Bloomberg School of Public Health
Department of Biostatistics
repository-code: 'https://github.com/lilykoff/nhanes_steps_mortality'
GitHub Events
Total
- Watch event: 5
- Member event: 1
- Push event: 17
Last Year
- Watch event: 5
- Member event: 1
- Push event: 17