Skip to content

Commit

Permalink
[bot] updated notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Econ-ARK Bot authored Dec 18, 2023
1 parent b6bc798 commit 9e874ec
Show file tree
Hide file tree
Showing 45 changed files with 2,263 additions and 1,901 deletions.
6 changes: 3 additions & 3 deletions examples/Calibration/Income_calibrations.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/Calibration/Life_Cycle_example.ipynb

Large diffs are not rendered by default.

14 changes: 3 additions & 11 deletions examples/Calibration/SCF_distributions.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/Calibration/Sabelhaus_Song_var_profiles.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/Calibration/US_SSA_life_tables.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/ConsBequestModel/example_AccidentalBequest.ipynb

Large diffs are not rendered by default.

150 changes: 4 additions & 146 deletions examples/ConsBequestModel/example_ConsIndShockComp.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/ConsBequestModel/example_TerminalBequest.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/ConsIndShockModel/Finite Cyclical Test.ipynb

Large diffs are not rendered by default.

35 changes: 9 additions & 26 deletions examples/ConsIndShockModel/IndShockConsumerType.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions examples/ConsIndShockModel/KinkedRconsumerType.ipynb

Large diffs are not rendered by default.

26 changes: 17 additions & 9 deletions examples/ConsIndShockModel/PerfForesightConsumerType.ipynb

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions examples/ConsPortfolioModel/example_ConsPortfolioModel.ipynb

Large diffs are not rendered by default.

120 changes: 25 additions & 95 deletions examples/ConsPortfolioModel/example_ConsRiskyAssetModel.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions examples/ConsumptionSaving/example_ConsAggShockModel.ipynb

Large diffs are not rendered by default.

94 changes: 12 additions & 82 deletions examples/ConsumptionSaving/example_ConsGenIncProcessModel.ipynb

Large diffs are not rendered by default.

98 changes: 14 additions & 84 deletions examples/ConsumptionSaving/example_ConsIndShock.ipynb

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions examples/ConsumptionSaving/example_ConsLaborModel.ipynb

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions examples/ConsumptionSaving/example_ConsMarkovModel.ipynb

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions examples/ConsumptionSaving/example_ConsMedModel.ipynb

Large diffs are not rendered by default.

23 changes: 15 additions & 8 deletions examples/ConsumptionSaving/example_ConsPrefShockModel.ipynb

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions examples/ConsumptionSaving/example_ConsRepAgentModel.ipynb

Large diffs are not rendered by default.

1,024 changes: 1,015 additions & 9 deletions examples/ConsumptionSaving/example_ConsRiskyContribModel.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions examples/Distributions/DiscreteDistributionLabeled.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@
" perm_shk (atom) float64 0.03491 0.03491 0.03491 ... 11.51 11.51 11.51\n",
" tran_shk (atom) float64 0.03491 0.05308 0.0644 ... 5.724 6.966 11.51\n",
"Attributes:\n",
" name: Distribution of Shocks to Income</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-cdd5d49d-ca06-451f-8597-64f3de30228c' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-cdd5d49d-ca06-451f-8597-64f3de30228c' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span>atom</span>: 40000</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-b4a6daf3-8b8b-4b53-a5b6-2820f6ec44c0' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-b4a6daf3-8b8b-4b53-a5b6-2820f6ec44c0' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-7a2afd05-99ba-4328-a5db-cf623a40d9b4' class='xr-section-summary-in' type='checkbox' checked><label for='section-7a2afd05-99ba-4328-a5db-cf623a40d9b4' class='xr-section-summary' >Data variables: <span>(2)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>perm_shk</span></div><div class='xr-var-dims'>(atom)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.03491 0.03491 ... 11.51 11.51</div><input id='attrs-f72a3b5e-31a0-45f0-94d8-e34f2ac2a516' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-f72a3b5e-31a0-45f0-94d8-e34f2ac2a516' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-31c429e3-2045-487d-bf7c-5f6a4ad9a86c' class='xr-var-data-in' type='checkbox'><label for='data-31c429e3-2045-487d-bf7c-5f6a4ad9a86c' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>name :</span></dt><dd>Permanent Shocks to Income</dd><dt><span>limit :</span></dt><dd>{&#x27;type&#x27;: &#x27;Lognormal&#x27;, &#x27;mean&#x27;: -0.5, &#x27;variance&#x27;: 1.0}</dd></dl></div><div class='xr-var-data'><pre>array([ 0.03491194, 0.03491194, 0.03491194, ..., 11.50651472,\n",
" 11.50651472, 11.50651472])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>tran_shk</span></div><div class='xr-var-dims'>(atom)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.03491 0.05308 ... 6.966 11.51</div><input id='attrs-b7030fc9-6274-4f6b-8001-ae67b679f1fb' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-b7030fc9-6274-4f6b-8001-ae67b679f1fb' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-123edb0a-dea5-4cb5-a4b5-2ae819f5f476' class='xr-var-data-in' type='checkbox'><label for='data-123edb0a-dea5-4cb5-a4b5-2ae819f5f476' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>name :</span></dt><dd>Transitory Shocks to Income</dd><dt><span>limit :</span></dt><dd>{&#x27;type&#x27;: &#x27;Lognormal&#x27;, &#x27;mean&#x27;: -0.5, &#x27;variance&#x27;: 1.0}</dd></dl></div><div class='xr-var-data'><pre>array([ 0.03491194, 0.0530801 , 0.06439949, ..., 5.72401042,\n",
" 6.9659349 , 11.50651472])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-8a5ed23b-2da0-4fdb-aac1-584a9908cce7' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-8a5ed23b-2da0-4fdb-aac1-584a9908cce7' class='xr-section-summary' title='Expand/collapse section'>Indexes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-f53bff8c-3d9e-434e-84f7-c1ab7d657cd7' class='xr-section-summary-in' type='checkbox' checked><label for='section-f53bff8c-3d9e-434e-84f7-c1ab7d657cd7' class='xr-section-summary' >Attributes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>name :</span></dt><dd>Distribution of Shocks to Income</dd></dl></div></li></ul></div></div>"
" name: Distribution of Shocks to Income</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-5aa5cf48-6fa3-43f0-b1e2-2632a2881fd3' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-5aa5cf48-6fa3-43f0-b1e2-2632a2881fd3' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span>atom</span>: 40000</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-7c096932-5176-4b50-82a6-d0168a48e8d9' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-7c096932-5176-4b50-82a6-d0168a48e8d9' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-1ab7ae09-a360-473f-9654-4baacaeb807c' class='xr-section-summary-in' type='checkbox' checked><label for='section-1ab7ae09-a360-473f-9654-4baacaeb807c' class='xr-section-summary' >Data variables: <span>(2)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>perm_shk</span></div><div class='xr-var-dims'>(atom)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.03491 0.03491 ... 11.51 11.51</div><input id='attrs-76a8c9a4-c2d5-4d83-97ee-c67da2f1a861' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-76a8c9a4-c2d5-4d83-97ee-c67da2f1a861' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9fe826e6-187e-4b85-887f-86f1c773a2b8' class='xr-var-data-in' type='checkbox'><label for='data-9fe826e6-187e-4b85-887f-86f1c773a2b8' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>name :</span></dt><dd>Permanent Shocks to Income</dd><dt><span>limit :</span></dt><dd>{&#x27;type&#x27;: &#x27;Lognormal&#x27;, &#x27;mean&#x27;: -0.5, &#x27;variance&#x27;: 1.0}</dd></dl></div><div class='xr-var-data'><pre>array([ 0.03491194, 0.03491194, 0.03491194, ..., 11.50651472,\n",
" 11.50651472, 11.50651472])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>tran_shk</span></div><div class='xr-var-dims'>(atom)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.03491 0.05308 ... 6.966 11.51</div><input id='attrs-9c2ff459-56b7-41d8-9000-50153e5751a3' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-9c2ff459-56b7-41d8-9000-50153e5751a3' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-767f36fb-7ef8-4295-a18e-42a4f905d022' class='xr-var-data-in' type='checkbox'><label for='data-767f36fb-7ef8-4295-a18e-42a4f905d022' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>name :</span></dt><dd>Transitory Shocks to Income</dd><dt><span>limit :</span></dt><dd>{&#x27;type&#x27;: &#x27;Lognormal&#x27;, &#x27;mean&#x27;: -0.5, &#x27;variance&#x27;: 1.0}</dd></dl></div><div class='xr-var-data'><pre>array([ 0.03491194, 0.0530801 , 0.06439949, ..., 5.72401042,\n",
" 6.9659349 , 11.50651472])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-17038cf2-8ae4-479d-95e6-835dd4e13d95' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-17038cf2-8ae4-479d-95e6-835dd4e13d95' class='xr-section-summary' title='Expand/collapse section'>Indexes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-a4587e4e-2521-45ff-9c84-d984fe018b74' class='xr-section-summary-in' type='checkbox' checked><label for='section-a4587e4e-2521-45ff-9c84-d984fe018b74' class='xr-section-summary' >Attributes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>name :</span></dt><dd>Distribution of Shocks to Income</dd></dl></div></li></ul></div></div>"
],
"text/plain": [
"<xarray.Dataset>\n",
Expand Down Expand Up @@ -553,7 +553,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"38.1 ms ± 6.25 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
"21 ms ± 2.8 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
]
}
],
Expand Down Expand Up @@ -582,7 +582,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"291 ms ± 25.7 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)\n"
"388 ms ± 10.4 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)\n"
]
}
],
Expand Down Expand Up @@ -689,7 +689,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"55.4 ms ± 383 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
"35.5 ms ± 2.17 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
]
}
],
Expand Down Expand Up @@ -730,7 +730,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.10.13"
},
"vscode": {
"interpreter": {
Expand Down
22 changes: 11 additions & 11 deletions examples/Distributions/ExpectedValue.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 9e874ec

Please sign in to comment.