# 🇰🇪 Kenya Cost of Living Analysis
## End-to-End Data Science Project
**Author:** Dennis Mutua
**Institution:** The Open University of Kenya
---
# Project Overview
The Kenya Cost of Living Analysis project is an end-to-end Data Science project that investigates major economic indicators influencing the cost of living in Kenya.
The analysis integrates official datasets from:
- Kenya National Bureau of Statistics (KNBS)
- Central Bank of Kenya (CBK)
- Energy and Petroleum Regulatory Authority (EPRA)
The project demonstrates professional Data Science practices including data acquisition, cleaning, exploratory data analysis, statistical reporting, visualization, documentation, testing, and software engineering.
---
# Objectives
The project aims to:
- Analyze inflation trends in Kenya
- Examine changes in food prices
- Study exchange rate fluctuations
- Investigate fuel price variations
- Integrate economic indicators
- Produce insights for data-driven decision making
---
# Project Structure
```text
Kenya-Cost-of-Living-Analysis/
├── .github/
├── data/
├── docs/
├── images/
├── notebooks/
├── outputs/
├── src/
├── tests/
├── README.md
├── LICENSE
├── pyproject.toml
├── requirements.txt
└── main.py
```
---
# Data Sources
## KNBS
- Inflation
- Consumer Price Index
- Food Prices
## CBK
- Exchange Rates
## EPRA
- Monthly Fuel Prices
All datasets were obtained from official government sources.
---
# Technologies Used
- Python
- Pandas
- NumPy
- Matplotlib
- Jupyter Notebook
- Pytest
- Git
- GitHub
- VS Code
---
# Project Workflow
```text
Official Data Sources
↓
Data Collection
↓
Data Cleaning
↓
Exploratory Data Analysis
↓
Statistical Analysis
↓
Visualization
↓
Data Integration
↓
Final Report
```
---
# Analysis Conducted
## Inflation Analysis
- Inflation trend
- Monthly change
- Annual change
- Summary statistics
---
## Food Prices Analysis
- Commodity comparison
- Monthly price changes
- Annual price changes
- Distribution …