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
+9-25Lines changed: 9 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,6 @@ kernelspec:
11
11
name: python3
12
12
---
13
13
14
-
+++ {"user_expressions": []}
15
14
16
15
# Economic Growth Evidence
17
16
@@ -52,25 +51,20 @@ from matplotlib.lines import Line2D
52
51
53
52
## Setting up
54
53
55
-
A project initiated by [Angus Maddison](https://en.wikipedia.org/wiki/Angus_Maddison) has collected many historical time series that study economic growth.
54
+
A project initiated by [Angus Maddison](https://en.wikipedia.org/wiki/Angus_Maddison) has collected many historical time series related to economic growth,
55
+
some dating back to the first century.
56
56
57
-
We can use the [Maddison Historical Statistics](https://www.rug.nl/ggdc/historicaldevelopment/maddison/)to look at many different countries, including some countries dating back to the first century.
57
+
The data can be downloaded from the [Maddison Historical Statistics webpage](https://www.rug.nl/ggdc/historicaldevelopment/maddison/)by clicking on the "Latest Maddison Project Release".
58
58
59
-
```{tip}
60
-
The data can be downloaded from [this webpage](https://www.rug.nl/ggdc/historicaldevelopment/maddison/) by clicking on the `Latest Maddison Project Release`.
59
+
For convenience, here is a copy of the 2020 data {download}`in Excel format <datasets/mpd2020.xlsx>`.
61
60
62
-
Here we use the [Maddison Project Database 2020](https://www.rug.nl/ggdc/historicaldevelopment/maddison/releases/maddison-project-database-2020) in `Excel` format.
63
-
```
64
-
65
-
If you don't want to fetch the data file from [Maddison Historical Statistics](https://www.rug.nl/ggdc/historicaldevelopment/maddison/) you can download the file directly {download}`datasets/mpd2020.xlsx`.
61
+
Let's read it into a pandas dataframe:
66
62
67
63
```{code-cell} ipython3
68
64
data = pd.read_excel("datasets/mpd2020.xlsx", sheet_name='Full data')
69
65
data
70
66
```
71
67
72
-
+++ {"user_expressions": []}
73
-
74
68
We can see that this dataset contains GDP per capita (gdppc) and population (pop) for many countries and years.
75
69
76
70
Let's look at how many and which countries are available in this dataset
@@ -79,7 +73,6 @@ Let's look at how many and which countries are available in this dataset
79
73
len(data.country.unique())
80
74
```
81
75
82
-
+++ {"user_expressions": []}
83
76
84
77
We can now explore some of the 169 countries that are available.
color_mapping = {country: color for country, color in zip(country_names, colors)}
135
127
```
136
128
137
-
+++ {"user_expressions": []}
129
+
## GPD Plots
138
130
139
131
Looking at the United Kingdom we can first confirm we are using the correct country code
140
132
@@ -156,7 +148,6 @@ _ = gdppc[cntry].plot(
156
148
color=color_mapping['GBR'])
157
149
```
158
150
159
-
+++ {"user_expressions": []}
160
151
161
152
:::{note}
162
153
[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).
@@ -189,7 +180,6 @@ ax.set_xlabel('Year')
189
180
plt.show()
190
181
```
191
182
192
-
+++ {"user_expressions": []}
193
183
194
184
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.
221
+
As you can see from this chart, economic growth started in earnest in the 18th century and continued for the next two hundred years.
233
222
234
223
How does this compare with other countries' growth trajectories?
235
224
@@ -301,7 +290,6 @@ draw_events(events, ax)
301
290
plt.show()
302
291
```
303
292
304
-
+++ {"user_expressions": []}
305
293
306
294
The preceding graph of percapita GDP strikingly reveals how the spread of the industrial revolution has over time gradually lifted the living standards of substantial
307
295
groups of people
@@ -311,7 +299,6 @@ groups of people
311
299
- The gap has closed rapidly after 1950 and especially after the late 1970s.
312
300
- These outcomes reflect complicated combinations of technological and economic-policy factors that students of economic growth try to understand and quantify
313
301
314
-
+++ {"user_expressions": []}
315
302
316
303
It is fascinating to see China's GDP per capita levels from 1500 through to the 1970s.
0 commit comments