This is the final project from STAT 149 - Generalized Linear Models at Harvard University. I performed a study of data from the Framingham Heart Study using generalized linear models, generalized additive models, and tree-based models.
The code and data are located in code/, the prompt and final report are in report/, and plots used in the report are in chd_vs_plots/, smooths/, and trees/.
The final report is here: Framingham Heart Study Analysis.pdf.
First, clone the repository:
git clone https://github.com/ztizzlegaming/framingham-glm
Next, run code/final_project.R using RStudio. When prompted, first select code/na-convert.R, and next select the data file code/chd_risk.csv.