Resources
Diving into Macroeconomic Data for Madagascar
The World Bank offers some of the most comprehensive publicly available macroeconomic datasets. In this entry, we will be looking at how to install the World Bank's public database API (aka WBGAPI) in Python, how to import data and, importantly, how to work with it. We will be looking at a specific use case and will dive into macroeconomic data for Madagascar. Our program will include code for building a DataFrame, sorting and transposing data, renaming headers, calculating growth rates, indexing time series and different methods for charting macroeconomic indicators. Let's get started! (Read full article)
An Analysis of School Attendance in Madagascar
If you're trying to learn about data analytics, economics or statistics, you've probably come across the term "regression analysis" before. It is one of the most commonly used statistical methods for estimating the relationships between a dependent variable and one or several independent variables. In this entry, we'll look at how we can use Python to run a regression analysis on panel data from the Multiple Indicator Cluster Survey datasets produced by the UNICEF. We'll illustrate this tutorial with a real-world use case, specifically looking at education indicators in the context of Madagascar. As usual, our program will include code for importing data, cleaning it up, run basic statistical analyses, specify a model and display the results. Let's get to it! (Read full article)