@@ -20,11 +20,11 @@ In this lecture we review some empirical aspects of business cycles.
20
20
21
21
Business cycles are fluctuations in economic activity over time.
22
22
23
- The include expansions (also called booms) and contractions (also called recessions).
23
+ These include expansions (also called booms) and contractions (also called recessions).
24
24
25
25
For our study, we will use economic indicators from the [ World Bank] ( https://documents.worldbank.org/en/publication/documents-reports/api ) and [ FRED] ( https://fred.stlouisfed.org/ ) .
26
26
27
- In addition to those installed by Anaconda, this lecture requires
27
+ In addition to the packages already installed by Anaconda, this lecture requires
28
28
29
29
``` {code-cell} ipython3
30
30
:tags: [hide-output]
@@ -50,7 +50,7 @@ Here's some minor code to help with colors in our plots.
50
50
``` {code-cell} ipython3
51
51
:tags: [hide-input]
52
52
53
- # Set Graphical Parameters
53
+ # Set graphical parameters
54
54
cycler = plt.cycler(linestyle=['-', '-.', '--', ':'],
55
55
color=['#377eb8', '#ff7f00', '#4daf4a', '#ff334f'])
56
56
plt.rc('axes', prop_cycle=cycler)
@@ -59,12 +59,12 @@ plt.rc('axes', prop_cycle=cycler)
59
59
60
60
## Data acquisition
61
61
62
- We will use ` wbgapi ` and ` pandas_datareader ` to retrieve data.
62
+ We will use the World Bank's data API ` wbgapi ` and ` pandas_datareader ` to retrieve data.
63
63
64
64
We can use ` wb.series.info ` with the argument ` q ` to query available data from
65
65
the [ World Bank] ( https://www.worldbank.org/en/home ) .
66
66
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.
68
68
69
69
``` {code-cell} ipython3
70
70
wb.series.info(q='GDP growth')
@@ -81,7 +81,7 @@ gdp_growth
81
81
```
82
82
83
83
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).
85
85
86
86
``` {code-cell} ipython3
87
87
:tags: [hide-output]
@@ -155,7 +155,7 @@ def plot_series(data, country, ylabel,
155
155
156
156
ax.plot(data.loc[country], label=country, **g_params)
157
157
158
- # Highlight Recessions
158
+ # Highlight recessions
159
159
ax.axvspan(1973, 1975, **b_params)
160
160
ax.axvspan(1990, 1992, **b_params)
161
161
ax.axvspan(2007, 2009, **b_params)
@@ -248,7 +248,7 @@ Now let's consider Japan, which experienced rapid growth in the 1960s and
248
248
1970s, followed by slowed expansion in the past two decades.
249
249
250
250
Major dips in the growth rate coincided with the Oil Crisis of the 1970s, the
251
- GFC and the Covid-19 pandemic.
251
+ Global Financial Crisis ( GFC) and the Covid-19 pandemic.
252
252
253
253
``` {code-cell} ipython3
254
254
---
@@ -311,7 +311,7 @@ plt.show()
311
311
Notice that Argentina has experienced far more volatile cycles than
312
312
the economies examined above.
313
313
314
- At the same time, growth of Argentina did not fall during the two developed
314
+ At the same time, Argentina's growth rate did not fall during the two developed
315
315
economy recessions in the 1970s and 1990s.
316
316
317
317
@@ -413,12 +413,12 @@ The labor market recovered at an unprecedented rate after the shock in 2020-2021
413
413
In our {ref}` previous discussion<gdp_growth> ` , we found that developed economies have had
414
414
relatively synchronized periods of recession.
415
415
416
- At the same time, this synchronization does not appear in Argentina until the 2000s.
416
+ At the same time, this synchronization did not appear in Argentina until the 2000s.
417
417
418
418
Let's examine this trend further.
419
419
420
420
With slight modifications, we can use our previous function to draw a plot
421
- that includes many countries
421
+ that includes multiple countries.
422
422
423
423
``` {code-cell} ipython3
424
424
---
@@ -466,7 +466,7 @@ def plot_comparison(data, countries,
466
466
for country in countries:
467
467
ax.plot(data.loc[country], label=country, **g_params)
468
468
469
- # Highlight Recessions
469
+ # Highlight recessions
470
470
ax.axvspan(1973, 1975, **b_params)
471
471
ax.axvspan(1990, 1992, **b_params)
472
472
ax.axvspan(2007, 2009, **b_params)
@@ -513,7 +513,7 @@ gdp_growth.columns = gdp_growth.columns.str.replace('YR', '').astype(int)
513
513
514
514
```
515
515
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.
517
517
518
518
``` {code-cell} ipython3
519
519
---
@@ -534,7 +534,7 @@ plot_comparison(gdp_growth.loc[countries, 1962:],
534
534
plt.show()
535
535
```
536
536
537
- We choose Brazil, China, Argentina, and Mexico as representative developing economies
537
+ We choose Brazil, China, Argentina, and Mexico as representative developing economies.
538
538
539
539
``` {code-cell} ipython3
540
540
---
@@ -561,14 +561,14 @@ business cycles are becoming more synchronized in 21st-century recessions.
561
561
However, emerging and less developed economies often experience more volatile
562
562
changes throughout the economic cycles.
563
563
564
- Despite of the synchronization in GDP growth, the experience of individual countries during
564
+ Despite the synchronization in GDP growth, the experience of individual countries during
565
565
the recession often differs.
566
566
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
568
568
as another example.
569
569
570
570
Here we compare the unemployment rate of the United States,
571
- United Kingdom, Japan, and France
571
+ the United Kingdom, Japan, and France.
572
572
573
573
``` {code-cell} ipython3
574
574
---
@@ -597,7 +597,7 @@ plt.show()
597
597
We see that France, with its strong labor unions, typically experiences
598
598
relatively slow labor market recoveries after negative shocks.
599
599
600
- We also notice that, Japan has a history of very low and stable unemployment rates.
600
+ We also notice that Japan has a history of very low and stable unemployment rates.
601
601
602
602
603
603
## Leading indicators and correlated factors
@@ -684,19 +684,18 @@ plt.show()
684
684
685
685
We see that
686
686
687
- * consumer sentiment often remains high during during expansion and
688
- drops before a recession .
687
+ * consumer sentiment often remains high during expansions and
688
+ drops before recessions .
689
689
* there is a clear negative correlation between consumer sentiment and the CPI.
690
690
691
691
When the price of consumer commodities rises, consumer confidence diminishes.
692
692
693
- This trend is more significant in the during [ stagflation] ( https://en.wikipedia.org/wiki/Stagflation ) .
693
+ This trend is more significant during [ stagflation] ( https://en.wikipedia.org/wiki/Stagflation ) .
694
694
695
695
696
696
697
697
### Production
698
698
699
-
700
699
Real industrial output is highly correlated with recessions in the economy.
701
700
702
701
However, it is not a leading indicator, as the peak of contraction in production
@@ -751,7 +750,7 @@ activity and gloomy expectations for the future.
751
750
One example is domestic credit to the private sector by banks in the UK.
752
751
753
752
The following graph shows the domestic credit to the private sector as a
754
- 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.
755
754
756
755
``` {code-cell} ipython3
757
756
---
@@ -777,7 +776,5 @@ ax = plot_series(private_credit, countries,
777
776
plt.show()
778
777
```
779
778
780
-
781
- Note that the credit rises during economic expansion
779
+ Note that the credit rises during economic expansions
782
780
and stagnates or even contracts after recessions.
783
-
0 commit comments