This repository contains the final project for DATA 550, analyzing the 2015 BRFSS (Behavioral Risk Factor Surveillance System) Diabetes Health Indicators dataset. The goal is to identify key demographic, behavioral, and clinical risk factors associated with diabetes and to demonstrate a reproducible workflow from data cleaning to model-based interpretation.
Diabetes is a prevalent and preventable chronic disease. Large-scale survey data such as BRFSS allow us to quantify how risk varies by age, sex, BMI, lifestyle (e.g., smoking, physical activity), and comorbidities (e.g., high blood pressure). This project asks:
- Which factors are most strongly associated with diabetes status?
- How well can we predict diabetes using routinely collected indicators?
- What actionable patterns (e.g., by BMI or lifestyle) emerge from the data?
- Dataset: Diabetes Health Indicators (BRFSS 2015, cleaned version)
- Rows: ~250k survey respondents; Outcome: binary diabetes status
- Source: Kaggle – Diabetes Health Indicators Dataset (BRFSS 2015)
- Data cleaning: import, variable recoding, handling missing values.
- Modeling: logistic regression for inference; a simple ML baseline (e.g., random forest) for prediction.
- Outputs: one summary table of key coefficients/metrics and at least one figure (e.g., diabetes prevalence by BMI category or ROC curve).
- Reproducibility: a
Makefilebuilds the entire report from scripts and R Markdown.
Data550_final/
├─ data/
│ ├─ diabetes_binary_health_indicators_BRFSS2015.csv
│ ├─ clean_data.RData
│ └─ clean_data.csv
├─ code/
│ ├─ 01_data_clean.R
│ ├─ 02_analysis.R
│ └─ 03_make_output.R
├─ output/
│ ├─ model_summary.txt # logistic regression summary
│ ├─ rf_accuracy.txt # random forest accuracy
│ ├─ roc_curve.png # figure (later)
│ └─ auc_table.csv # (later)
├─ report/
│ ├─ final_report.Rmd
│ └─ final_report.html
├─ Makefile
└─ README.md
# clone and enter
git clone git@github.com:ZJamn/Data550_final.git
cd Data550_final
# build the final report (creates report/report.html)
make report.html
Key components
Required table: generated in code/03_make_output.R
Required figure: generated in code/03_make_output.R
Final report: report/final_report.Rmd (rendered to report/report.html)
Build rule: see Makefile
Author
Jiamin Zhao (Rollins School of Public Health, Emory University)
Email: jiamin.zhao@emory.edu
• GitHub: ZJamn