Skip to content

Commit f66814a

Browse files
author
QuantEcon
committed
auto publishing updates to notebooks
1 parent a088d49 commit f66814a

File tree

71 files changed

+95
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+95
-113
lines changed

about_lectures.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
}
2929
],
3030
"metadata": {
31-
"date": 1612308378.8728461,
31+
"date": 1613871531.6045332,
3232
"filename": "about_lectures.rst",
3333
"kernelspec": {
3434
"display_name": "Python",

aiyagari.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@
542542
}
543543
],
544544
"metadata": {
545-
"date": 1612308378.9148097,
545+
"date": 1613871531.6585906,
546546
"filename": "aiyagari.rst",
547547
"kernelspec": {
548548
"display_name": "Python",

ar1_processes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@
808808
}
809809
],
810810
"metadata": {
811-
"date": 1612308379.0143769,
811+
"date": 1613871531.792436,
812812
"filename": "ar1_processes.rst",
813813
"kernelspec": {
814814
"display_name": "Python",

cake_eating_numerical.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@
10081008
}
10091009
],
10101010
"metadata": {
1011-
"date": 1612308379.2099178,
1011+
"date": 1613871531.9664016,
10121012
"filename": "cake_eating_numerical.rst",
10131013
"kernelspec": {
10141014
"display_name": "Python",

cake_eating_problem.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@
760760
}
761761
],
762762
"metadata": {
763-
"date": 1612308379.4107635,
763+
"date": 1613871532.2993789,
764764
"filename": "cake_eating_problem.rst",
765765
"kernelspec": {
766766
"display_name": "Python",

career.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@
723723
}
724724
],
725725
"metadata": {
726-
"date": 1612308379.534474,
726+
"date": 1613871532.3926065,
727727
"filename": "career.rst",
728728
"kernelspec": {
729729
"display_name": "Python",

cass_koopmans_1.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@
10921092
}
10931093
],
10941094
"metadata": {
1095-
"date": 1612308379.6787493,
1095+
"date": 1613871532.5260897,
10961096
"filename": "cass_koopmans_1.rst",
10971097
"kernelspec": {
10981098
"display_name": "Python",

cass_koopmans_2.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -987,9 +987,9 @@
987987
" for i, ax in enumerate(axs.flatten()):\n",
988988
" ax.plot(paths[i])\n",
989989
" ax.set(title=titles[i], ylabel=ylabels[i], xlabel='t')\n",
990-
" if titles[i] is 'Capital':\n",
990+
" if titles[i] == 'Capital':\n",
991991
" ax.axhline(k_ss, lw=1, ls='--', c='k')\n",
992-
" if titles[i] is 'Consumption':\n",
992+
" if titles[i] == 'Consumption':\n",
993993
" ax.axhline(c_ss, lw=1, ls='--', c='k')\n",
994994
"\n",
995995
"plt.tight_layout()\n",
@@ -1035,9 +1035,9 @@
10351035
" for i, ax in enumerate(axs.flatten()):\n",
10361036
" ax.plot(paths[i], label=f'$\\gamma = {γ}$')\n",
10371037
" ax.set(title=titles[i], ylabel=ylabels[i], xlabel='t')\n",
1038-
" if titles[i] is 'Capital':\n",
1038+
" if titles[i] == 'Capital':\n",
10391039
" ax.axhline(k_ss, lw=1, ls='--', c='k')\n",
1040-
" if titles[i] is 'Consumption':\n",
1040+
" if titles[i] == 'Consumption':\n",
10411041
" ax.axhline(c_ss, lw=1, ls='--', c='k')\n",
10421042
"\n",
10431043
"axs[0, 0].legend()\n",
@@ -1172,7 +1172,7 @@
11721172
}
11731173
],
11741174
"metadata": {
1175-
"date": 1612308379.954764,
1175+
"date": 1613871532.6932402,
11761176
"filename": "cass_koopmans_2.rst",
11771177
"kernelspec": {
11781178
"display_name": "Python",

coleman_policy_iter.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@
336336
},
337337
"outputs": [],
338338
"source": [
339-
"\n",
340339
"def v_star(y, α, β, μ):\n",
341340
" \"\"\"\n",
342341
" True value function\n",
@@ -375,7 +374,6 @@
375374
},
376375
"outputs": [],
377376
"source": [
378-
"\n",
379377
"opt_growth_data = [\n",
380378
" ('α', float64), # Production parameter\n",
381379
" ('β', float64), # Discount factor\n",
@@ -744,8 +742,6 @@
744742
},
745743
"outputs": [],
746744
"source": [
747-
"\n",
748-
"\n",
749745
"opt_growth_data = [\n",
750746
" ('α', float64), # Production parameter\n",
751747
" ('β', float64), # Discount factor\n",
@@ -848,7 +844,7 @@
848844
}
849845
],
850846
"metadata": {
851-
"date": 1612308380.0948665,
847+
"date": 1613871532.8203988,
852848
"filename": "coleman_policy_iter.rst",
853849
"kernelspec": {
854850
"display_name": "Python",

complex_and_trig.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
"print(f'ω = {ω:1.3f}')\n",
382382
"\n",
383383
"# Solve for p\n",
384-
"eq2 = Eq(x0 - 2 * p * cos(ω))\n",
384+
"eq2 = Eq(x0 - 2 * p * cos(ω), 0)\n",
385385
"p = nsolve(eq2, p, 0)\n",
386386
"p = np.float(p)\n",
387387
"print(f'p = {p:1.3f}')"
@@ -616,7 +616,7 @@
616616
}
617617
],
618618
"metadata": {
619-
"date": 1612308380.20704,
619+
"date": 1613871532.9299595,
620620
"filename": "complex_and_trig.rst",
621621
"kernelspec": {
622622
"display_name": "Python",

0 commit comments

Comments
 (0)