@@ -16,7 +16,7 @@ kernelspec:
1616
1717## Overview
1818
19- In this lecture we review some empirical aspects of business cycles.
19+ In this lecture, we review some empirical aspects of business cycles.
2020
2121Business cycles are fluctuations in economic activity over time.
2222
@@ -50,7 +50,7 @@ Here's some minor code to help with colors in our plots.
5050``` {code-cell} ipython3
5151:tags: [hide-input]
5252
53- # Set Graphical Parameters
53+ # Set graphical parameters
5454cycler = plt.cycler(linestyle=['-', '-.', '--', ':'],
5555 color=['#377eb8', '#ff7f00', '#4daf4a', '#ff334f'])
5656plt.rc('axes', prop_cycle=cycler)
@@ -59,12 +59,12 @@ plt.rc('axes', prop_cycle=cycler)
5959
6060## Data acquisition
6161
62- We will use ` wbgapi ` and ` pandas_datareader ` to retrieve data.
62+ We will use World Bank's data API ` wbgapi ` and ` pandas_datareader ` to retrieve data.
6363
6464We can use ` wb.series.info ` with the argument ` q ` to query available data from
6565the [ World Bank] ( https://www.worldbank.org/en/home ) .
6666
67- For example, let's retrieve the ID to query GDP growth data.
67+ For example, let's retrieve the GDP growth data ID to query GDP growth data.
6868
6969``` {code-cell} ipython3
7070wb.series.info(q='GDP growth')
@@ -81,7 +81,7 @@ gdp_growth
8181```
8282
8383
84- We can the metadata to learn more about the series (click to expand).
84+ We can look at the series' metadata to learn more about the series (click to expand).
8585
8686``` {code-cell} ipython3
8787:tags: [hide-output]
@@ -94,7 +94,7 @@ wb.series.metadata.get('NY.GDP.MKTP.KD.ZG')
9494(gdp_growth)=
9595## GDP growth rate
9696
97- First we look at GDP growth.
97+ First, we look at GDP growth.
9898
9999Let's source our data from the World Bank and clean it.
100100
@@ -155,7 +155,7 @@ def plot_series(data, country, ylabel,
155155
156156 ax.plot(data.loc[country], label=country, **g_params)
157157
158- # Highlight Recessions
158+ # Highlight recessions
159159 ax.axvspan(1973, 1975, **b_params)
160160 ax.axvspan(1990, 1992, **b_params)
161161 ax.axvspan(2007, 2009, **b_params)
@@ -289,7 +289,7 @@ plt.show()
289289Greece experienced a very large drop in GDP growth around 2010-2011, during the peak
290290of the Greek debt crisis.
291291
292- Next let's consider Argentina.
292+ Next, let's consider Argentina.
293293
294294``` {code-cell} ipython3
295295---
@@ -311,7 +311,7 @@ plt.show()
311311Notice that Argentina has experienced far more volatile cycles than
312312the economies examined above.
313313
314- At the same time, growth of Argentina did not fall during the two developed
314+ At the same time, the growth of Argentina did not fall during the two developed
315315economy recessions in the 1970s and 1990s.
316316
317317
@@ -418,7 +418,7 @@ At the same time, this synchronization did not appear in Argentina until the 200
418418Let's examine this trend further.
419419
420420With slight modifications, we can use our previous function to draw a plot
421- that includes multiple countries
421+ that includes multiple countries.
422422
423423``` {code-cell} ipython3
424424---
@@ -466,7 +466,7 @@ def plot_comparison(data, countries,
466466 for country in countries:
467467 ax.plot(data.loc[country], label=country, **g_params)
468468
469- # Highlight Recessions
469+ # Highlight recessions
470470 ax.axvspan(1973, 1975, **b_params)
471471 ax.axvspan(1990, 1992, **b_params)
472472 ax.axvspan(2007, 2009, **b_params)
@@ -513,7 +513,7 @@ gdp_growth.columns = gdp_growth.columns.str.replace('YR', '').astype(int)
513513
514514```
515515
516- We use the United Kingdom, United States, Germany, and Japan as examples of developed economies
516+ We use the United Kingdom, United States, Germany, and Japan as examples of developed economies.
517517
518518``` {code-cell} ipython3
519519---
@@ -534,7 +534,7 @@ plot_comparison(gdp_growth.loc[countries, 1962:],
534534plt.show()
535535```
536536
537- We choose Brazil, China, Argentina, and Mexico as representative developing economies
537+ We choose Brazil, China, Argentina, and Mexico as representative developing economies.
538538
539539``` {code-cell} ipython3
540540---
@@ -564,11 +564,11 @@ changes throughout the economic cycles.
564564Despite the synchronization in GDP growth, the experience of individual countries during
565565the recession often differs.
566566
567- We use unemployment rate and the recovery of labor market conditions
567+ We use the unemployment rate and the recovery of labor market conditions
568568as another example.
569569
570570Here we compare the unemployment rate of the United States,
571- United Kingdom, Japan, and France
571+ the United Kingdom, Japan, and France.
572572
573573``` {code-cell} ipython3
574574---
@@ -684,8 +684,8 @@ plt.show()
684684
685685We see that
686686
687- * consumer sentiment often remains high during an expansion and
688- drops before a recession .
687+ * consumer sentiment often remains high during expansions and
688+ drops before recessions .
689689* there is a clear negative correlation between consumer sentiment and the CPI.
690690
691691When the price of consumer commodities rises, consumer confidence diminishes.
@@ -750,7 +750,7 @@ activity and gloomy expectations for the future.
750750One example is domestic credit to the private sector by banks in the UK.
751751
752752The following graph shows the domestic credit to the private sector as a
753- percentage of GDP by banks from 1970 to 2022 in the UK
753+ percentage of GDP by banks from 1970 to 2022 in the UK.
754754
755755``` {code-cell} ipython3
756756---
0 commit comments