This project for Cornell Data Science implements Generalized Linear Models and Generalized Additive Models.
The main slides for the project can be found here.
Our three key datasets are:
- twitter_analysis.csv
- civil_wars.RData
- christian_nationalism.dta
R implementations of Poisson GLM and GAM are in the main directory.
The core notebooks and implementation codes are in Final Notebooks:
gam_impl.jl: Our implementation of GAMs in Juliaglm_impl.jl: Our implementation of GLMs in Juliaglm_theory_and_practice.ipynb: Julia Notebook with mathematics of GLMs, plus dataset analysisgam_theory_and_practice.ipynb: Julia notebook with mathematics of GAMs, plus dataset analysischristian_nationalism.ipynb: Codes to create visualizations for Christian Nationalism results