Skip to content

Commit a142d3e

Browse files
authored
Fix Small Typos in intro.md, Lecture Numbering, and Notations (#59)
* Update intro.md * add numbering * notational change
1 parent ead1bca commit a142d3e

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

lectures/_toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ parts:
1515
- file: linear_equations
1616
- file: lln_clt
1717
- caption: Introductory Economics
18+
numbered: true
1819
chapters:
1920
- file: inequality
2021
- caption: Models

lectures/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ kernelspec:
1111

1212
# Computational Economics and Finance for Undergraduates
1313

14-
This website presents a set of lectures for undergraduates focusing on computational economics and finance, designed and written by [Thomas J. Sargent](http://www.tomsargent.com/) and [John Stachurski](http://johnstachurski.net/).x
14+
This website presents a set of lectures for undergraduates focusing on computational economics and finance, designed and written by [Thomas J. Sargent](http://www.tomsargent.com/) and [John Stachurski](http://johnstachurski.net/).
1515

1616
For an overview of the series, see [this page](https://quantecon.org/python-lectures/)
1717

lectures/markov_chains.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ for i in range(n_state):
918918
axes[i].grid()
919919
axes[i].set_ylim(ψ_star[i]-0.2, ψ_star[i]+0.2)
920920
axes[i].axhline(ψ_star[i], linestyle='dashed', lw=2, color = 'black',
921-
label = fr'$\psi(X={i})^*$')
921+
label = fr'$\psi^*(X={i})$')
922922
axes[i].set_xlabel('t')
923923
axes[i].set_ylabel(fr'average time spent at X={i}')
924924
@@ -982,7 +982,7 @@ for i in range(n_state):
982982
axes[i].grid()
983983
axes[i].set_ylim(0.45, 0.55)
984984
axes[i].axhline(ψ_star[i], linestyle='dashed', lw=2, color = 'black',
985-
label = fr'$\psi(X={i})^*$')
985+
label = fr'$\psi^*(X={i})$')
986986
axes[i].set_xlabel('t')
987987
axes[i].set_ylabel(fr'average time spent at X={i}')
988988
@@ -1110,7 +1110,7 @@ for x0 in x0s:
11101110
11111111
for i in range(n_state):
11121112
axes[i].axhline(ψ_star[i], linestyle='dashed', lw=2, color = 'black',
1113-
label = fr'$\psi(X={i})^*$')
1113+
label = fr'$\psi^*(X={i})$')
11141114
axes[i].set_xlabel('t')
11151115
axes[i].set_ylabel(fr'$\psi(X={i})$')
11161116
axes[i].legend()
@@ -1149,7 +1149,7 @@ for x0 in x0s:
11491149
axes[i].plot(range(20, n), X[20:,i], alpha=0.3)
11501150
11511151
for i in range(n_state):
1152-
axes[i].axhline(ψ_star[i], linestyle='dashed', lw=2, color = 'black', label = fr'$\psi (X={i})^*$')
1152+
axes[i].axhline(ψ_star[i], linestyle='dashed', lw=2, color = 'black', label = fr'$\psi^* (X={i})$')
11531153
axes[i].set_xlabel('t')
11541154
axes[i].set_ylabel(fr'$\psi(X={i})$')
11551155
axes[i].legend()
@@ -1350,7 +1350,7 @@ for x0 in range(8):
13501350
X_bar = (X == x0).cumsum() / (1 + np.arange(N, dtype=float))
13511351
ax.plot(X_bar - ψ_star[x0], label=f'$X = {x0+1} $')
13521352
ax.set_xlabel('t')
1353-
ax.set_ylabel(fr'average time spent in a state - $\psi(X=x)^*$')
1353+
ax.set_ylabel(fr'average time spent in a state $- \psi^* (X=x)$')
13541354
13551355
ax.legend()
13561356
plt.show()

0 commit comments

Comments
 (0)