Skip to content

Update main according to latest changes on dev #227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 29 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d46df24
change links to stable
SvenKlaassen Feb 5, 2025
b66fd86
add irm vs apo example notebook
SvenKlaassen Feb 5, 2025
6fcd615
update examples
SvenKlaassen Feb 7, 2025
0ef5951
update icon links (pypi and discussions)
SvenKlaassen Feb 7, 2025
703937c
update "check_switcher": True
SvenKlaassen Feb 14, 2025
b19a536
fix \bar{} in weights for ATTE
PhilippBach Feb 17, 2025
0ee9171
add ATTE score from paper again
PhilippBach Feb 17, 2025
2bca11e
remove sentence and clean output
PhilippBach Feb 17, 2025
1b3dda7
upd thumbnail
PhilippBach Feb 17, 2025
d551919
add basic hte to apo example
SvenKlaassen Feb 17, 2025
3ecf832
fix typos
SvenKlaassen Feb 18, 2025
27c68cf
update apo vs irm nb
SvenKlaassen Feb 18, 2025
ba31095
set normalize ipw to false
SvenKlaassen Mar 3, 2025
6e7820a
add doctest
SvenKlaassen Mar 4, 2025
09a7ccd
update code snippits
SvenKlaassen Mar 4, 2025
39b545d
clear notebook
SvenKlaassen Mar 4, 2025
64433f8
Merge pull request #220 from DoubleML/s-irm-apo-example
SvenKlaassen Mar 4, 2025
2374d36
Merge branch 'dev' into s-update-docs
SvenKlaassen Mar 4, 2025
8425ba1
Merge pull request #221 from DoubleML/s-update-docs
SvenKlaassen Mar 4, 2025
2a381a0
start with SSM example in R
PhilippBach Apr 9, 2025
4c112c1
continue example, prepare remaining code blocks
PhilippBach Apr 9, 2025
bf724ca
add code for SSM in R
PhilippBach Apr 9, 2025
a0476dc
add example for SSMs in R
PhilippBach Apr 9, 2025
9dbe6dc
add learners
PhilippBach Apr 10, 2025
e8700b2
use density plot instead of histogram
PhilippBach Apr 10, 2025
8b399e8
prep release notes
PhilippBach Apr 10, 2025
cb79868
Merge pull request #226 from DoubleML/p-release-r-1.0.2
PhilippBach Apr 15, 2025
a92851f
Merge branch 'dev' of https://github.com/DoubleML/doubleml-docs into …
PhilippBach Apr 15, 2025
5795a07
Merge pull request #223 from DoubleML/p-docu-ssm
PhilippBach Apr 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.coverage',
'sphinx.ext.doctest',
'sphinx.ext.graphviz',
'sphinx.ext.intersphinx',
'sphinx.ext.mathjax',
Expand Down Expand Up @@ -109,7 +110,13 @@
{
"name": "PyPI",
"url": "https://pypi.org/project/DoubleML/",
"icon": "fa-solid fa-cube",
"icon": "fa-brands fa-python",
"type": "fontawesome",
},
{
"name": "Discussions",
"url": "https://github.com/DoubleML/doubleml-for-py/discussions",
"icon": "fa-solid fa-comments",
"type": "fontawesome",
},
],
Expand All @@ -118,7 +125,7 @@
"version_match": version,
},
"show_version_warning_banner": True,
"check_switcher": False,
"check_switcher": True,
"announcement": "Interested to learn more? We offer <a href='https://trainings.doubleml.org/'>DoubleML Trainings!</a>",
}

Expand Down Expand Up @@ -161,6 +168,7 @@
'examples/py_double_ml_basic_iv': '_static/basic_iv_example_nb.png',
'examples/R_double_ml_basic_iv': '_static/basic_iv_example_nb.png',
'examples/py_double_ml_ssm': '_static/ssm_example_nb.svg',
'examples/R_double_ml_ssm': '_static/ssm_example_nb.svg',
'examples/py_double_ml_sensitivity_booking': '_static/dag_usecase_revised.png',
}

Expand Down
635 changes: 635 additions & 0 deletions doc/examples/R_double_ml_ssm.ipynb

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions doc/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ General Examples
py_double_ml_pension.ipynb
py_double_ml_sensitivity.ipynb
py_double_ml_apo.ipynb
py_double_ml_irm_vs_apo.ipynb
py_double_ml_learner.ipynb
py_double_ml_firststage.ipynb
py_double_ml_multiway_cluster.ipynb
Expand Down Expand Up @@ -62,6 +63,7 @@ These are case studies with the R package :ref:`DoubleML <doubleml_package>`.
R_double_ml_pension.ipynb
R_double_ml_did.ipynb
R_double_ml_multiway_cluster.ipynb
R_double_ml_ssm.ipynb
R_double_ml_basic_iv.ipynb

Sandbox
Expand Down
11,955 changes: 11,924 additions & 31 deletions doc/examples/py_double_ml_apo.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions doc/examples/py_double_ml_cate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"\n",
"We define a data generating process to create synthetic data to compare the estimates to the true effect. The data generating process is based on the Monte Carlo simulation from [Oprescu et al. (2019)](http://proceedings.mlr.press/v97/oprescu19a.html).\n",
"\n",
"The documentation of the data generating process can be found [here](https://docs.doubleml.org/dev/api/datasets.html#dataset-generators)."
"The documentation of the data generating process can be found [here](https://docs.doubleml.org/stable/api/datasets.html#dataset-generators)."
]
},
{
Expand Down Expand Up @@ -409,7 +409,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.2"
"version": "3.12.3"
},
"vscode": {
"interpreter": {
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/py_double_ml_cate_plr.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"\n",
"We define a data generating process to create synthetic data to compare the estimates to the true effect. The data generating process is based on the Monte Carlo simulation from [Oprescu et al. (2019)](http://proceedings.mlr.press/v97/oprescu19a.html).\n",
"\n",
"The documentation of the data generating process can be found [here](https://docs.doubleml.org/dev/api/datasets.html#dataset-generators)."
"The documentation of the data generating process can be found [here](https://docs.doubleml.org/stable/api/datasets.html#dataset-generators)."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/py_double_ml_gate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"\n",
"We define a data generating process to create synthetic data to compare the estimates to the true effect. The data generating process is based on the Monte Carlo simulation from [Oprescu et al. (2019)](http://proceedings.mlr.press/v97/oprescu19a.html).\n",
"\n",
"The documentation of the data generating process can be found [here](https://docs.doubleml.org/dev/api/datasets.html#dataset-generators). In this example the true effect depends only the first covariate $X_0$ and takes the following form\n",
"The documentation of the data generating process can be found [here](https://docs.doubleml.org/stable/api/datasets.html#dataset-generators). In this example the true effect depends only the first covariate $X_0$ and takes the following form\n",
"\n",
"$$\n",
"\\theta_0(X) = \\exp(2X_0) + 3\\sin(4X_0).\n",
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/py_double_ml_gate_plr.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"\n",
"We define a data generating process to create synthetic data to compare the estimates to the true effect. The data generating process is based on the Monte Carlo simulation from [Oprescu et al. (2019)](http://proceedings.mlr.press/v97/oprescu19a.html).\n",
"\n",
"The documentation of the data generating process can be found [here](https://docs.doubleml.org/dev/api/datasets.html#dataset-generators). In this example the true effect depends only the first covariate $X_0$ and takes the following form\n",
"The documentation of the data generating process can be found [here](https://docs.doubleml.org/stable/api/datasets.html#dataset-generators). In this example the true effect depends only the first covariate $X_0$ and takes the following form\n",
"\n",
"$$\n",
"\\theta_0(X) = \\exp(2X_0) + 3\\sin(4X_0).\n",
Expand Down
Loading