R code and analytical scripts for the study: "Food Insecurity, Internal Displacement, and School Enrollment Among Somali Youth: A Multilevel Analysis of the 2022 SIHBS."
# Somali-Youth-Education-SIHBS
R code and analytical scripts for the study: "Food Insecurity, Internal Displacement, and School Enrollment Among Somali Youth: A Multilevel Analysis of the 2022 SIHBS."
# Food Insecurity, Internal Displacement, and School Enrollment Among Somali Youth
This repository contains the replication code for the study: **"Food Insecurity, Internal Displacement, and School Enrollment Among Somali Youth: A Multilevel Analysis of the 2022 SIHBS."**
### Overview
The provided R script (`Analysis_Code.R`) contains the complete analytical pipeline used to investigate how varying severities of household food insecurity and Internally Displaced Person (IDP) status impact educational enrollment among Somali youth (ages 6–18).
The analysis utilizes a Multilevel Mixed-Effects Binary Logistic Regression framework (nesting children within households and regions) to control for unobserved geographic and familial clustering.
### Repository Contents
* `Analysis_Code.R`: The primary R script. It includes:
* **Data Cleaning:** Subsetting the population to school-aged youth and constructing the FIES food insecurity variables (*Worried about food*, *Skipped a meal*).
* **Descriptive Statistics:** Code to generate the survey-weighted descriptive statistics (Table 1).
* **Multilevel Modeling:** Code utilizing the `lme4` package to run the main effects (Model 1) and interaction effects (Model 2) regressions (Table 2).
* **Data Visualization:** Code to generate the predicted marginal probabilities plot (Figure 1).
### Data Availability
In accordance with the data sharing policies of the Somalia National Bureau of Statistics (SNBS), the raw dataset (`sihbs.dta`) cannot be publicly hosted in this repository.
The 2022 Somali Integrated Household Baseline Survey (SIHBS) dataset supporting the conclusions of this article is available in the SNBS repository. Access can be granted following a standard user registration process and submission of a research co …