This repository contains all R code relating to my dissertation.
-
Data2/
Contains the HIV dataset used in Section 4 of the dissertation. -
heights_plot/
Contains the R code for the heights plot used in Figure 1.1. -
EDA_code/
Contains the R code used for the Exploratory Data Analysis (EDA) in Section 4.1.
Dependencies:dplyr(v1.1.4)ggplot2(v3.5.2)
-
LMM_code/
Contains the R code for the Linear Mixed Model (LMM) implementation in Section 4.2.
Dependencies:nlme(v3.1.167)dplyr(v1.1.4)ggplot2(v3.5.2)
-
RNN_code/
Contains the R code for the Recurrent Neural Network (RNN) implementation in Section 4.3.
Dependencies:dplyr(v1.1.4)ggplot2(v3.5.2)tidyr(v1.3.1)keras3(v1.4.0)tensorflow(v2.16.0)
-
regression_tree_code/
Contains the R code for the Regression Tree and Gradient Boosting implementations in Sections 4.4 and 4.5.
Dependencies:rpart(v4.1.24)rpart.plot(v3.1.3)dplyr(v1.1.4)ggplot2(v3.5.2)xgboost(v1.7.11.1)Matrix(v1.7.1)
- Package versions are listed to ensure reproducibility of results.