Skip to content

Commit 5eb5eaf

Browse files
MaxBleschsegsellamageh
authored
Prepare retreat (#162)
Co-authored-by: Sebastian Gsell <sebastian.gsell93@gmail.com> Co-authored-by: Annica Gehlen <39128048+amageh@users.noreply.github.com>
1 parent 10ddc4f commit 5eb5eaf

124 files changed

Lines changed: 3944 additions & 2775 deletions

File tree

Some content is hidden

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

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ repos:
5454
name: isort
5555
args:
5656
- --profile=black
57-
- repo: https://github.com/asottile/setup-cfg-fmt
58-
rev: v2.8.0
59-
hooks:
60-
- id: setup-cfg-fmt
57+
# - repo: https://github.com/asottile/setup-cfg-fmt
58+
# rev: v2.8.0
59+
# hooks:
60+
# - id: setup-cfg-fmt
6161
- repo: https://github.com/psf/black
6262
rev: 25.1.0
6363
hooks:
@@ -106,7 +106,7 @@ repos:
106106
- id: codespell
107107
additional_dependencies:
108108
- tomli
109-
exclude: tests/sandbox/|docs/source/Tutorials/interface_plots.ipynb
109+
exclude: tests/sandbox/|docs/source/background/interface_plots.ipynb
110110
# - repo: https://github.com/mgedmin/check-manifest
111111
# rev: "0.49"
112112
# hooks:
File renamed without changes.
File renamed without changes.

codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ ignore:
2121
- src/toy_models/*
2222
- src/dcegm/likelihood.py
2323
- src/dcegm/wealth_correction.py
24+
- src/dcegm/cli.py
25+
- src/dcegm/interfaces/interface.py
25.8 KB
Loading
25.7 KB
Loading
26.9 KB
Loading

docs/source/Tutorials/interface_plots.ipynb renamed to docs/source/background/interface_plots.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
" \"period\": 37, # Periods start at 0, the last period number T=44 has index 43 so period T-5 has index 38\n",
265265
" \"lagged_choice\": 0, # choice in the previous period d_{t-1}, zero meaning working\n",
266266
" \"choice\": 0, # choice in the current period d_t, zero meaning working\n",
267-
" \"dummy_exog\": 0, # dummy exogenous state variable can be ignored for now\n",
267+
" \"dummy_stochastic\": 0, # dummy exogenous state variable can be ignored for now\n",
268268
"}\n",
269269
"\n",
270270
"# get the index of the state choice pair in the endogenous grid\n",
@@ -346,7 +346,7 @@
346346
" state_choice_dict = {\n",
347347
" \"period\": 37,\n",
348348
" \"lagged_choice\": 0,\n",
349-
" \"dummy_exog\": 0,\n",
349+
" \"dummy_stochastic\": 0,\n",
350350
" \"choice\": 0,\n",
351351
" }\n",
352352
" value, policy, endog_grid = solve_func(params)\n",
@@ -420,7 +420,7 @@
420420
" state_choice_dict = {\n",
421421
" \"period\": 37,\n",
422422
" \"lagged_choice\": 0,\n",
423-
" \"dummy_exog\": 0,\n",
423+
" \"dummy_stochastic\": 0,\n",
424424
" \"choice\": 0,\n",
425425
" }\n",
426426
" value, policy, endog_grid = solve_func(params)\n",
@@ -585,7 +585,7 @@
585585
" state_choice_dict = {\n",
586586
" \"period\": test_period,\n",
587587
" \"lagged_choice\": 0,\n",
588-
" \"dummy_exog\": 0,\n",
588+
" \"dummy_stochastic\": 0,\n",
589589
" \"choice\": 0,\n",
590590
" }\n",
591591
" value, policy, endog_grid = solve_func(params)\n",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.. _limitations:
2+
3+
Limitations
4+
===========
5+
6+
`dc-egm` is a versatile Python package capable of solving and simulating a large class of economic models flexibly and efficiently..
7+
8+
However, there are limitations to what kind of features can be implemented and how complex models can become to be feasible to solve.
9+
10+
Below we discuss what kind of models `dc-egm` is designed for and importantly what limitations to be aware of when implementing a model.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. _literature:
2+
3+
Literature
4+
==========
5+
6+
Below you find related literature to provide a background of the `dc-egm` algorithm and the related class of economic models.

0 commit comments

Comments
 (0)