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 Jan 22, 2024
1 parent 638c5ca commit 444c9db
Show file tree
Hide file tree
Showing 45 changed files with 2,254 additions and 1,898 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.

25 changes: 20 additions & 5 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.

25 changes: 20 additions & 5 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.

28 changes: 14 additions & 14 deletions examples/ConsumptionSaving/example_ConsMedModel.ipynb

Large diffs are not rendered by default.

14 changes: 7 additions & 7 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-347a0ae4-f0f8-473d-b3d8-ad9d09feaf98' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-347a0ae4-f0f8-473d-b3d8-ad9d09feaf98' 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-1e018471-2dde-4d80-94da-e0da0c35ffca' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-1e018471-2dde-4d80-94da-e0da0c35ffca' 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-05f23701-b07d-4602-af61-02fac696f0ba' class='xr-section-summary-in' type='checkbox' checked><label for='section-05f23701-b07d-4602-af61-02fac696f0ba' 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-0698ef5a-a3d9-4482-9b5d-db6d89815ff0' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-0698ef5a-a3d9-4482-9b5d-db6d89815ff0' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-376baa85-5511-4b5e-8fd4-3ad55f881528' class='xr-var-data-in' type='checkbox'><label for='data-376baa85-5511-4b5e-8fd4-3ad55f881528' 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-7dc969da-230a-4e11-89a5-bebe25750f15' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-7dc969da-230a-4e11-89a5-bebe25750f15' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-2ac1bb84-1c66-474e-a909-2408172fb63b' class='xr-var-data-in' type='checkbox'><label for='data-2ac1bb84-1c66-474e-a909-2408172fb63b' 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-498389e8-df90-4fdb-9edf-fe530a7340d2' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-498389e8-df90-4fdb-9edf-fe530a7340d2' 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-da14d9c0-6e8a-4874-a26b-1868f66cabc0' class='xr-section-summary-in' type='checkbox' checked><label for='section-da14d9c0-6e8a-4874-a26b-1868f66cabc0' 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"
"22.9 ms ± 782 µs 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"
"425 ms ± 2.45 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"
"34 ms ± 1.43 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 444c9db

Please sign in to comment.