Statistical analysis of Tunisia's education & development indicators (2000–2022) using hypothesis testing, OLS regression, and correlation analysis. Data sourced from World Bank Open Data API.
# Education Investment & Human Development in Tunisia
## A Statistical Analysis (2000–2022)
---
## Abstract
This study examines the relationship between education investment and human development outcomes in Tunisia over the period 2000–2022. Using five World Bank indicators — education expenditure (% of GDP), GNI per capita, adult literacy rate, unemployment rate, and secondary school enrollment — we apply Pearson correlation analysis, OLS regression, and Welch's t-tests to assess whether public spending on education is a statistically significant predictor of economic and social development. Our findings suggest a moderate-to-strong positive association between education expenditure and GNI per capita, while significant structural breaks are observed around 2010–2011, coinciding with the Tunisian Revolution.
---
## Table of Contents
- Research Question
- Dataset
- Methodology
- Results
- Descriptive Statistics
- Hypothesis Testing
- Regression Analysis
- Correlation Analysis
- Visualizations
- Conclusions
- Limitations
- How to Run
- Project Structure
- References
---
## Research Question
> **Does public investment in education predict human development outcomes in Tunisia? Did these indicators change significantly after the 2011 revolution?**
Secondary questions:
- Is there a statistically significant relationship between education spending and GNI per capita?
- Did unemployment and literacy rates change significantly between 2000–2010 and 2011–2022?
- Which indicators are most strongly correlated with each other?
---
## Dataset
**Source**: World Bank Open Data API — accessed via `wbgapi`
**Country**: Tunisia (ISO code: TUN)
**Period**: 2000–2022 (23 annual observations)
| Indicator | World Bank Code | Description |
|-----------|----------------|-------------|
| Education expenditure | `SE.XPD.TOTL.GD.ZS` | Government spending on education as % of GDP |
| GNI per capita | `NY.GNP.PCAP.CD` | Gross National Income per person (current USD) |
| Ad …