Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lectures/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ parts:
- file: linear_equations
- file: lln_clt
- caption: Introductory Economics
numbered: true
chapters:
- file: inequality
- caption: Models
Expand Down
2 changes: 1 addition & 1 deletion lectures/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)

Expand Down
10 changes: 5 additions & 5 deletions lectures/markov_chains.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}')

Expand Down Expand Up @@ -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}')

Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down