This dashboard hosted on Streamlit is an interactive visualization tool designed to extend the empirical findings of my Master's thesis, "What Drives Foreign Portfolio Investment Flows in South Africa?"
## Dashboard's objective
This dashboard is an interactive visualization tool designed to extend the empirical findings of my Master's thesis,
*"What Drives Foreign Portfolio Investment Flows in South Africa?"* (Bah & Giritli, 2020).
The main objective is to **examine the macroeconomic indicators that push and/or pull Foreign Portfolio Investment (FPI) inflows into South Africa** between 1980–2016,
and to allow policymakers, researchers, and students to interactively explore these relationships.
It implements the **ARDL bounds testing approach** to reveal both the **long-run** and **short-run** determinants of FPI, including:
- **Push factors**: US interest rates (USIR) and the US Industrial Production Index (IPI)
- **Pull factors**: Real GDP per capita (RGDPpc), Real Interest Rate (RIR), Real Exchange Rate (RER), and Government Expenditure (EXP)
---
## Research Contribution
This study and dashboard contribute to the existing literature by:
1. **Focusing solely on FPI** (unlike many prior studies that mixed it with FDI or other flows),
enabling a more precise understanding of portfolio-specific determinants.
2. **Using annual data** (1980–2016) rather than quarterly data, which can fragment long-run trends.
3. **Including new variables** (e.g., Government Expenditure on infrastructural development) as potential pull factors not used in earlier South African studies.
4. **Applying the ARDL methodology** to accommodate a mix of I(0) and I(1) variables, providing robust estimates with small sample sizes.
5. **Offering a reproducible, interactive format** — this dashboard bridges academic research with a tool for exploration, teaching, and policy simulation.
---
> **Key Findings from Thesis**:
> - Pull factors dominate in the long run — especially GDP per capita, government expenditure, and real interest rates.
> - Push factors remain significant in the short run, with US interest rates and foreign industrial production influencing volatility.
> - The economy r …