Tag: Data Visualization
-
Drawing maps at different regional levels
1 Introduction This short note aims to demonstrate the drawing of choropleth maps at different regional levels thanks to Natural Earth Data and GADM data. Drawing…
-
Computing the number of months to reach peak depreciation during a monetary cycle
In the following working paper, we assess the relative resilience of emerging countries during US monetary cycles. One possible measure of resilience is the number of…
-
Customizing LP impulse response functions after LOCPROJ
Alfonso Ugarte Ruiz from BBVA research introduced the locproj package: s459204. The package is very useful, and I will show you how to customize the LP…
-
Panelview with Stata
A good way to visualize panel data with Stata is to rely on the package panelview created and maintained by Yiqing Xu: Other possibilities include Ben…
-
BigQuery with GDELT
After two blogs on how to start with GDELT data, I will show how to construct a histogram of bilateral Goldstein score for bilateral events between…
-
Drawing bivariate maps with Stata for the NUTS regions (removing Turkey)
A small update of the following blog if you want to remove Turkey:
-
Drawing bivariate maps with Stata for the NUTS regions
After three blogs on how to draw maps with Stata for the NUTS regions and on how to download data from DBnomics, this time I will…
-
Drawing maps with Stata for the NUTS regions (Hourly Wages)
After two blogs on how to draw maps with Stata for the NUTS regions and on how to download data from DBnomics, this time I will…
-
Drawing Maps for East Asia and Pacific Region
After a series of blogs on maps, today, I will show how to draw a map for the East Asian and Pacific Region, following the World…
-
Bivariate Maps for Chinese Regional Data
Asjad Naqvi released a new version of the bimap package, let me show a small example of how this package works with some regional data for…
-
Feeling the Heat: Heatmaps for Vulnerability Scores
After a series of blogs where I explained the functioning of the DBnomics package: https://www.jamelsaadaoui.com/?s=dbnomics I will show how to directly download the Vulnerability Index built…
-
Measuring friendliness and like-mindedness
In his last post, Cullen S. Hendrix from the PIIE proposed to measure friendliness and like-mindedness using mean absolute distance with the US for two variables,…
-
API with GDELT data at the regional level
Did you know that you can use an API to display instability scores computed from GDELT data? Below, an example for the French region (first administrative…
-
Create a variable with a reference to a specific country
After a previous post on mapping the Political Ties with Stata, let me show how to compute how to create an idea point relatively a specific…
-
Starting with GDELT data
When you are interested in geopolitical risks, up to some point you will heard about the GDELT project: https://www.gdeltproject.org Here, the brief description on their website:…
-
Timelines, they are so important
In these uncertain times when history and geopolitics are of utmost importance for economics, let me draw your attention to this website with very nice timelines:…
-
Visualizing quantile regressions with Stata
When I wanted to make some simple graphs on quantile regressions, I was quite surprised to not find a nice blog where each step is clearly…
-
Global inflation and interest rates tracker
in PressLet me draw your attention to this very useful inflation and interest tracker made by the Financial Times. It offers plenty of interactive visualizations per country…
-
Currency fluctuations in emerging countries since the end of 2021
Last week, I saw this picture in a post written by Ziad Daoud, the Chief Emerging Markets Economist at Bloomberg. It would be interesting to explore…
-
The best of EconMacro on Medium
Happy to announce that I now have a Medium page: https://medium.com/@jamelsaadaoui, where I will make a selection of my best blogs on EconMacro. These blogs will…
-
On the use of Chinese renminbi in international trade
During the 16th FIW conference, I had the chance to attend the policy panel on the “Tectonic shifts in the international economic order”. Giorgia Giovannetti gave…
-
Cold War 2.0?
The levels of Geopolitical Risks are now close to those of the Cold War, as mentioned by Cullen S. Hendrix in this PIIE chart: https://www.piie.com/research/piie-charts/2024/2020s-mark-return-cold-war-levels-geopolitical-risk. What…
-
Leçon doctorale à l’école doctorale Augustin Cournot (ED 221) — Université de Strasbourg
Le lundi 12 février prochain, j’aurai le grand plaisir d’animer une leçon doctorale à l’école doctorale Augustin Cournot (ED 221) — Université de Strasbourg. Risques géopolitiques,…
-
Using labmask for better graphs in Stata
In his last book, La Défaite de l’Occident, Emmanuel Todd, a French historian and demographer, argues that the infant morality rate is higher in the US…
-
Drawing Maps with GADM data
After a series of blogs on Maps, I will show how to use GADM data to draw maps for Austria at 4 different administrative levels. I…
-
Drawing Maps for Political Ties with Stata
Today, I will build on my previous blogs to show you how to draw a map of United Nations General Assembly Voting Data with Stata (see…
-
Dates and Times in Excel and in Stata
Usually in Statistics, time is a continuous quantitative variable that uses the interval scale when we are looking at dates (the ratio scale when we elaborate…
-
Drawing Maps for the Chinese regions with Stata [Updated with Geoplot]
The most complete blog of mine on maps with Stata. I used spmap, grmap, geoplot with one frame and multiple frames. Other examples are given for…
-
Drawing Maps with Stata… Again and Again!
Today, I will build on my two previous blogs to show you how to use an alternative projection for the maps. Indeed, you need a projection…
-
Drawing Maps with Stata… Again!
Today, I will build on my previous blog to show you how to merge two macroeconomic series, draw maps and think about some correlations in three…
-
Drawing Maps with Stata for Africa
Using maps can be a good way to visualize the spatial dispersion of the data. I made a series of blogs on drawing maps on Stata…
-
Illustrating the consequences of modeling common factors with Stata [Updated with xtdcce2]
This post has been inspired by a fascinating discussion with Hiro Ito, Eric Clower and Kamila Kuziemska-Pawlak. In an old paper of mine (j.econmod.2015.02.007) written in…
-
Denton’s method with Stata
In this blog, you will learn to use the Denton method with Stata to interpolate a series to a higher frequency. I will show you a…
-
Introduction gratuite à Stata
Stata 18 est sorti en avril, j’aurai le plaisir d’animer un webinaire pour Timberlake. Ce webinaire présentera trois nouvelles commandes très prisées des utilisateurs : Nous…
-
Data Visualisation and Causal Analysis with SVAR and LP models
I will give my first training session for Timberlake, the 26th October 2023 at 9 – 11 am BST / 10 – 12 pm CEST: www.timberlake.co.uk…
-
Sign and Narrative Restrictions in SVAR with Stata
Today I will present you VAR_NR, a Stata module to estimate set identified Structural VAR. This toolbox has been provided by Abigail Kuchek, Jonah Danziger and Christoffer Koch.…
-
How to use the Wolfram Language in a Jupyter Notebook (100th blog)
It is my 100th blog on EconMacro! I tried to provide some tips to access to knowledge all along these blogs. The idea is to try…
-
Visualizing an interaction with Mathematica and Python
After first blogs on how to launch Stata and visualize high-frequency data in a Jupyter Notebook. In the following example, you will first see that Mathematica…
-
Two Data Sets and Some Papers [EconBrowser]
in LecturesLet me draw your attention to these very nice resources posted by Menzie Chinn in his International Symposium on Forecasting 2023 course on “Modeling & Forecasting…
-
Visualizing high-frequency data using a Jupyter Notebook and Stata 18
After two first blogs (here and here) on how to launch Stata in a Jupyter Notebook. In the following file, you will see that Stata can…
-
Jupyter Notebook with Stata 18 [Updated]
You want to launch Stata in a Jupyter Notebook? In the following file, you will see how to launch and use Stata from a Jupyter notebook…
-
Illustrating the new LPIRF Stata 18’s command
Good news! In the new version of Stata 18, we have a new command that produces local-projection impulse–response functions. You can find the complete description of…
-
Illustrating that the sample variance bias decreases with the sample size using R and Mathematica
In my previous blog, I recall that we can demonstrate in a few steps that the sample variance is an unbiased estimator of the population variance…
-
Illustrating the sample variance bias with R and Mathematica
In my previous blog, I recall that we can demonstrate in a few steps that the sample variance is an unbiased estimator of the population variance…
-
Visualizing CES production functions with Wolfram Alpha
In this post, I will show how it is simple to visualize CES production functions with Wolfram Alpha. I build upon the very pedagogical YouTube video…
-
Visualizing production functions with Wolfram Alpha
In this post, I will show how it is simple to visualize production functions with Wolfram Alpha. I build upon the very pedagogical YouTube video of…
-
Data Sources: A Compendium [Updated] from EconBrowser
Let me repost this compilation of data sources posted by Menzie Chinn in the very interesting blog EconBrowser. This compilation is a must-read for every student…
-
Understanding the intuition behind Kalman filter with GAUSS
Let me draw your attention to this very pedagogical GAUSS blog on the Kalman filter. It links very well the theory and the code. Please find…
-
A few thoughts about the euro
This is it! You now need 1 dollar to buy 1 euro. To get this picture below, I used the FRED connection with Mathematica 13.1, as…
-
Jupyter Notebook with Stata 17
You want to launch Stata in a Jupyter Notebook? In the following file, you will see how to launch and use Stata from a Jupyter notebook…