You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/long_run_growth.md
+49-1Lines changed: 49 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ kernelspec:
11
11
name: python3
12
12
---
13
13
14
+
+++ {"user_expressions": []}
15
+
14
16
# Economic Growth Evidence
15
17
16
18
## Overview
@@ -75,6 +77,8 @@ from collections import namedtuple
75
77
from matplotlib.lines import Line2D
76
78
```
77
79
80
+
+++ {"user_expressions": []}
81
+
78
82
## Setting up
79
83
80
84
A project initiated by [Angus Maddison](https://en.wikipedia.org/wiki/Angus_Maddison) has collected many historical time series related to economic growth,
@@ -91,6 +95,8 @@ data = pd.read_excel("datasets/mpd2020.xlsx", sheet_name='Full data')
91
95
data
92
96
```
93
97
98
+
+++ {"user_expressions": []}
99
+
94
100
We can see that this dataset contains GDP per capita (gdppc) and population (pop) for many countries and years.
95
101
96
102
Let's look at how many and which countries are available in this dataset
@@ -99,6 +105,8 @@ Let's look at how many and which countries are available in this dataset
99
105
len(data.country.unique())
100
106
```
101
107
108
+
+++ {"user_expressions": []}
109
+
102
110
We can now explore some of the 169 countries that are available.
103
111
104
112
Let's loop over each country to understand which years are available for each country
color_mapping = {country: color for country, color in zip(country_names, colors)}
151
165
```
152
166
167
+
+++ {"user_expressions": []}
168
+
153
169
## GPD plots
154
170
155
171
Looking at the United Kingdom we can first confirm we are using the correct country code
@@ -172,6 +188,8 @@ _ = gdppc[cntry].plot(
172
188
color=color_mapping['GBR'])
173
189
```
174
190
191
+
+++ {"user_expressions": []}
192
+
175
193
:::{note}
176
194
[International Dollars](https://en.wikipedia.org/wiki/International_dollar) are a hypothetical unit of currency that has the same purchasing power parity that the U.S. Dollar has in the United States at any given time. They are also known as Geary–Khamis dollars (GK Dollars).
177
195
:::
@@ -203,6 +221,8 @@ ax.set_xlabel('Year')
203
221
plt.show()
204
222
```
205
223
224
+
+++ {"user_expressions": []}
225
+
206
226
We can now put this into a function to generate plots for a list of countries
As you can see from this chart, economic growth started in earnest in the 18th century and continued for the next two hundred years.
243
265
244
266
How does this compare with other countries' growth trajectories?
@@ -311,6 +333,8 @@ draw_events(events, ax)
311
333
plt.show()
312
334
```
313
335
336
+
+++ {"user_expressions": []}
337
+
314
338
The preceding graph of per capita GDP strikingly reveals how the spread of the industrial revolution has over time gradually lifted the living standards of substantial
315
339
groups of people
316
340
@@ -380,6 +404,8 @@ draw_events(events, ax)
380
404
plt.show()
381
405
```
382
406
407
+
+++ {"user_expressions": []}
408
+
383
409
We can also look at the United States (USA) and United Kingdom (GBR) in more detail
384
410
385
411
In the following graph, please watch for
@@ -439,6 +465,8 @@ draw_events(events, ax)
439
465
plt.show()
440
466
```
441
467
468
+
+++ {"user_expressions": []}
469
+
442
470
## The industrialized world
443
471
444
472
Now we'll construct some graphs of interest to geopolitical historians like Adam Tooze.
In this section we describe how we have constructed a version of the striking figure from chapter 1 of {cite}`Tooze_2014` that we discussed at the start of this lecture.
At the start of this lecture, we noted how US GDP came from "nowhere" at the start of the 19th century to rival and then overtake the GDP of the British Empire
525
563
by the end of the 19th century, setting the geopolitical stage for the "American (twentieth) century".
It is tempting to compare this graph with figure {numref}`gdp1` that showed the US overtaking the UK near the start of the "American Century", a version of the graph featured in chapter 1 of {cite}`Tooze_2014`.
552
592
553
593
## Regional analysis
@@ -561,19 +601,25 @@ data = pd.read_excel("datasets/mpd2020.xlsx", sheet_name='Regional data', header
561
601
data.columns = data.columns.droplevel(level=2)
562
602
```
563
603
604
+
+++ {"user_expressions": []}
605
+
564
606
We can save the raw data in a more convenient format to build a single table of regional GDP per capita
Looking more closely, let's compare the time series for `Western Offshoots` and `Sub-Saharan Africa` and more broadly at a number of different regions around the world.
600
648
601
649
Again we see the divergence of the West from the rest of the world after the industrial revolution and the convergence of the world after the 1950s
0 commit comments