Skip to content

Commit 6030b83

Browse files
authored
Merge pull request #255 from QuantEcon/review_lectures
Review lectures
2 parents e49728b + 255cad1 commit 6030b83

File tree

2 files changed

+118
-74
lines changed

2 files changed

+118
-74
lines changed

lectures/business_cycle.md

+23-26
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ In this lecture we review some empirical aspects of business cycles.
2020

2121
Business cycles are fluctuations in economic activity over time.
2222

23-
The include expansions (also called booms) and contractions (also called recessions).
23+
These include expansions (also called booms) and contractions (also called recessions).
2424

2525
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/).
2626

27-
In addition to those installed by Anaconda, this lecture requires
27+
In addition to the packages already installed by Anaconda, this lecture requires
2828

2929
```{code-cell} ipython3
3030
:tags: [hide-output]
@@ -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
5454
cycler = plt.cycler(linestyle=['-', '-.', '--', ':'],
5555
color=['#377eb8', '#ff7f00', '#4daf4a', '#ff334f'])
5656
plt.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 the World Bank's data API `wbgapi` and `pandas_datareader` to retrieve data.
6363

6464
We can use `wb.series.info` with the argument `q` to query available data from
6565
the [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
7070
wb.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]
@@ -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)
@@ -248,7 +248,7 @@ Now let's consider Japan, which experienced rapid growth in the 1960s and
248248
1970s, followed by slowed expansion in the past two decades.
249249

250250
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.
252252

253253
```{code-cell} ipython3
254254
---
@@ -311,7 +311,7 @@ plt.show()
311311
Notice that Argentina has experienced far more volatile cycles than
312312
the economies examined above.
313313

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
315315
economy recessions in the 1970s and 1990s.
316316

317317

@@ -413,12 +413,12 @@ The labor market recovered at an unprecedented rate after the shock in 2020-2021
413413
In our {ref}`previous discussion<gdp_growth>`, we found that developed economies have had
414414
relatively synchronized periods of recession.
415415

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.
417417

418418
Let's examine this trend further.
419419

420420
With slight modifications, we can use our previous function to draw a plot
421-
that includes many 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:],
534534
plt.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
---
@@ -561,14 +561,14 @@ business cycles are becoming more synchronized in 21st-century recessions.
561561
However, emerging and less developed economies often experience more volatile
562562
changes throughout the economic cycles.
563563

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
565565
the 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
568568
as another example.
569569

570570
Here 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
---
@@ -597,7 +597,7 @@ plt.show()
597597
We see that France, with its strong labor unions, typically experiences
598598
relatively slow labor market recoveries after negative shocks.
599599

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.
601601

602602

603603
## Leading indicators and correlated factors
@@ -684,19 +684,18 @@ plt.show()
684684

685685
We see that
686686

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.
689689
* there is a clear negative correlation between consumer sentiment and the CPI.
690690

691691
When the price of consumer commodities rises, consumer confidence diminishes.
692692

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).
694694

695695

696696

697697
### Production
698698

699-
700699
Real industrial output is highly correlated with recessions in the economy.
701700

702701
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.
751750
One example is domestic credit to the private sector by banks in the UK.
752751

753752
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.
755754

756755
```{code-cell} ipython3
757756
---
@@ -777,7 +776,5 @@ ax = plot_series(private_credit, countries,
777776
plt.show()
778777
```
779778

780-
781-
Note that the credit rises during economic expansion
779+
Note that the credit rises during economic expansions
782780
and stagnates or even contracts after recessions.
783-

0 commit comments

Comments
 (0)