Full Thesis Analysis

Author

Paul Marie Mweni

Code
library(foreign)
library(tidyverse)
library(ggplot2)
library(psych)
library(stringr)
library(lme4)
library(performance)
library(car)
library(ggeffects)
library(ggplot2)
library(rsample)
library(glue) 
library(caret)
library(randomForest)
library(pROC) 
library(mi)
library(doParallel)
library(missForest)
library(VIM)
library(xgboost)
library(SHAPforxgboost)
library(lme4)
library(performance)
library(psych)
library(missMDA)
library(factoextra)
library(sjPlot)
library(forcats)

Introduction

Note📌 Overview

This project employs a robust methodological approach that integrates Machine Learning techniques with Multi-Level Analysis. By evaluating a comprehensive dataset of over 22,000 individuals nested within 39 diverse countries, this analysis accounts for both:

  • Individual-level characteristics — linguistic integration, civic engagement, and lived experiences with public services
  • Macro-level structural indicators — economic inequality and national governance

The machine learning component facilitates advanced predictive modeling and feature evaluation, while the multi-level statistical framework strictly controls for the hierarchical, cross-national variance inherent in the data. Ultimately, this dual approach aims to isolate the strongest structural and demographic predictors of vaccine hesitancy, providing context-aware, empirical insights for targeted public health interventions.

Tip🧭 How to navigate this document

The analysis is organised into three chapters, presented as tabs below. Click any tab to jump to that chapter. Within each chapter, the left-hand table of contents lets you navigate sub-sections. Code blocks are folded by default — click ▶ Code to expand them.

Analysis

Conclusion

Important🎯 Key Takeaways

This dual methodological framework — combining machine learning for predictive feature selection with multilevel modeling for statistical inference — provides a comprehensive lens on vaccine hesitancy across Sub-Saharan Africa. The findings highlight both individual-level drivers (linguistic and civic integration, trust networks, lived service experience) and structural country-level factors, offering empirically grounded targets for context-aware public health interventions.