diff --git a/lectures/_toc.yml b/lectures/_toc.yml index 628efc92d..bdfce2637 100644 --- a/lectures/_toc.yml +++ b/lectures/_toc.yml @@ -15,6 +15,7 @@ parts: - file: linear_equations - file: lln_clt - caption: Introductory Economics + numbered: true chapters: - file: inequality - caption: Models diff --git a/lectures/intro.md b/lectures/intro.md index d29959243..5307cb468 100644 --- a/lectures/intro.md +++ b/lectures/intro.md @@ -11,7 +11,7 @@ kernelspec: # Computational Economics and Finance for Undergraduates -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 +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/). For an overview of the series, see [this page](https://quantecon.org/python-lectures/) diff --git a/lectures/markov_chains.md b/lectures/markov_chains.md index 039131502..6b55957fe 100644 --- a/lectures/markov_chains.md +++ b/lectures/markov_chains.md @@ -918,7 +918,7 @@ for i in range(n_state): axes[i].grid() axes[i].set_ylim(ψ_star[i]-0.2, ψ_star[i]+0.2) axes[i].axhline(ψ_star[i], linestyle='dashed', lw=2, color = 'black', - label = fr'$\psi(X={i})^*$') + label = fr'$\psi^*(X={i})$') axes[i].set_xlabel('t') axes[i].set_ylabel(fr'average time spent at X={i}') @@ -982,7 +982,7 @@ for i in range(n_state): axes[i].grid() axes[i].set_ylim(0.45, 0.55) axes[i].axhline(ψ_star[i], linestyle='dashed', lw=2, color = 'black', - label = fr'$\psi(X={i})^*$') + label = fr'$\psi^*(X={i})$') axes[i].set_xlabel('t') axes[i].set_ylabel(fr'average time spent at X={i}') @@ -1110,7 +1110,7 @@ for x0 in x0s: for i in range(n_state): axes[i].axhline(ψ_star[i], linestyle='dashed', lw=2, color = 'black', - label = fr'$\psi(X={i})^*$') + label = fr'$\psi^*(X={i})$') axes[i].set_xlabel('t') axes[i].set_ylabel(fr'$\psi(X={i})$') axes[i].legend() @@ -1149,7 +1149,7 @@ for x0 in x0s: axes[i].plot(range(20, n), X[20:,i], alpha=0.3) for i in range(n_state): - axes[i].axhline(ψ_star[i], linestyle='dashed', lw=2, color = 'black', label = fr'$\psi (X={i})^*$') + axes[i].axhline(ψ_star[i], linestyle='dashed', lw=2, color = 'black', label = fr'$\psi^* (X={i})$') axes[i].set_xlabel('t') axes[i].set_ylabel(fr'$\psi(X={i})$') axes[i].legend() @@ -1350,7 +1350,7 @@ for x0 in range(8): X_bar = (X == x0).cumsum() / (1 + np.arange(N, dtype=float)) ax.plot(X_bar - ψ_star[x0], label=f'$X = {x0+1} $') ax.set_xlabel('t') - ax.set_ylabel(fr'average time spent in a state - $\psi(X=x)^*$') + ax.set_ylabel(fr'average time spent in a state $- \psi^* (X=x)$') ax.legend() plt.show()