Python analysis of Nigeria energy access and GDP relationship (2000–2022)
# Powering Growth: Nigeria Energy Access & GDP Analysis (2000–2022)
---
## Project Overview
This project investigates the relationship between electricity access and economic
output in Nigeria from 2000 to 2022, benchmarked against three peer African economies:
Ghana, Kenya, and South Africa.
The analysis was conducted from a **data consulting perspective** — every finding is
framed around a decision that a policymaker, development finance institution, or
energy investor could act on.
---
## Business Question
> *Does improved electricity access drive GDP growth in Nigeria — and where should
> investment be prioritised to close the remaining gap?*
---
## Key Findings
| # | Finding | Implication |
|---|---------|-------------|
| 1 | Electricity access rose from **43.2% (2000) to 60.5% (2022)** — a gain of 17.3 percentage points | Progress is real but slow; 39.5% of Nigerians still lack access |
| 2 | Nigeria's GDP grew from **$69B to $647B** with extreme volatility (-17.9% to +58.4%) | Growth is oil-dependent, not broad-based |
| 3 | **Pearson r = 0.78** between electricity access and GDP per capita | Strong positive correlation — but relationship weakens after 2014 recession |
| 4 | **Ghana overtook Nigeria** in electrification despite a far smaller economy | Economic size alone does not guarantee infrastructure development |
| 5 | At the current pace, **universal access will not be achieved until the 2040s** | Business-as-usual is insufficient; accelerated investment is required |
---
## Consulting Recommendation
Nigeria requires a dual-track energy investment strategy:
**Track 1 — Grid Rehabilitation (Urban & Peri-Urban)**
Reduce aggregate technical and commercial losses (ATC&C) in electricity distribution,
which currently average 40–50%. Without grid efficiency, new generation capacity
cannot reach end users.
**Track 2 — Off-Grid & Mini-Grid Expansion (Rural)**
Replicate Kenya's successful decentralised solar and mini-grid model in Nigeria's
u …