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 May 6, 2024
1 parent 5eba7e2 commit 207b679
Show file tree
Hide file tree
Showing 48 changed files with 3,130 additions and 2,564 deletions.
12 changes: 6 additions & 6 deletions examples/Calibration/Income_calibrations.ipynb

Large diffs are not rendered by default.

116 changes: 58 additions & 58 deletions examples/Calibration/Life_Cycle_example.ipynb

Large diffs are not rendered by default.

20 changes: 6 additions & 14 deletions examples/Calibration/SCF_distributions.ipynb

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions examples/Calibration/Sabelhaus_Song_var_profiles.ipynb

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions examples/Calibration/US_SSA_life_tables.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/ConsBequestModel/example_AccidentalBequestComp.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions examples/ConsBequestModel/example_TerminalBequest.ipynb

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions examples/ConsBequestModel/example_TerminalBequestPort.ipynb

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions examples/ConsBequestModel/example_WarmGlowBequest.ipynb

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions examples/ConsBequestModel/example_WarmGlowBequestPort.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.

131 changes: 57 additions & 74 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.

92 changes: 50 additions & 42 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.

100 changes: 53 additions & 47 deletions examples/ConsPortfolioModel/example_ConsPortfolioModel.ipynb

Large diffs are not rendered by default.

145 changes: 68 additions & 77 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.

105 changes: 21 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.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

28 changes: 21 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,036 changes: 1,021 additions & 15 deletions examples/ConsumptionSaving/example_ConsRiskyContribModel.ipynb

Large diffs are not rendered by default.

22 changes: 15 additions & 7 deletions examples/ConsumptionSaving/example_TractableBufferStockModel.ipynb

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions examples/Distributions/DiscreteDistributionLabeled.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -455,24 +455,24 @@
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt; Size: 640kB\n",
"Dimensions: (atom: 40000)\n",
"Dimensions without coordinates: atom\n",
"Data variables:\n",
" 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",
" perm_shk (atom) float64 320kB 0.03491 0.03491 0.03491 ... 11.51 11.51 11.51\n",
" tran_shk (atom) float64 320kB 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-e393d0c8-f5fb-4226-8574-c6efc38c210e' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-e393d0c8-f5fb-4226-8574-c6efc38c210e' 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-88c21818-cc05-433c-a632-83ecf7e2cabb' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-88c21818-cc05-433c-a632-83ecf7e2cabb' 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-e72a18cc-48ff-4cae-b446-35f158cd3a91' class='xr-section-summary-in' type='checkbox' checked><label for='section-e72a18cc-48ff-4cae-b446-35f158cd3a91' 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-f0c31b23-bcad-4d04-8fcb-7b197543e95b' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-f0c31b23-bcad-4d04-8fcb-7b197543e95b' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-592bf72c-c091-4331-9faa-92535d741d06' class='xr-var-data-in' type='checkbox'><label for='data-592bf72c-c091-4331-9faa-92535d741d06' 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-7f78765f-2011-4901-9afd-3c00ddf8b8da' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-7f78765f-2011-4901-9afd-3c00ddf8b8da' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-061986a0-c7d3-467c-b9f6-183e87d5797f' class='xr-var-data-in' type='checkbox'><label for='data-061986a0-c7d3-467c-b9f6-183e87d5797f' 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-c16670ab-bc0f-458c-aa21-30e5d9190e58' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-c16670ab-bc0f-458c-aa21-30e5d9190e58' 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-a77a9c62-3157-484a-95c9-e7cc441cd67e' class='xr-section-summary-in' type='checkbox' checked><label for='section-a77a9c62-3157-484a-95c9-e7cc441cd67e' 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",
"<xarray.Dataset> Size: 640kB\n",
"Dimensions: (atom: 40000)\n",
"Dimensions without coordinates: atom\n",
"Data variables:\n",
" 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",
" perm_shk (atom) float64 320kB 0.03491 0.03491 0.03491 ... 11.51 11.51 11.51\n",
" tran_shk (atom) float64 320kB 0.03491 0.05308 0.0644 ... 5.724 6.966 11.51\n",
"Attributes:\n",
" name: Distribution of Shocks to Income"
]
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"
"29.6 ms ± 1.71 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"
"391 ms ± 14.9 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 ± 370 µs 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.14"
},
"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 207b679

Please sign in to comment.