Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
46b29c6
Create py_flaml_meets_doubleml_evaluate_learners.ipynb
sauravbania Jul 16, 2024
5a6d514
update
OliverSchacht Jul 16, 2024
608e7b0
Flaml_meets_doubleML
sauravbania Sep 17, 2024
e262011
AutoML tuning comparison
sauravbania Sep 17, 2024
4f74f49
Merge remote-tracking branch 'fork2/patch-2' into p-flaml
PhilippBach Sep 18, 2024
d244b5a
use r-lib actions to set up R on ubuntu-latest
PhilippBach Sep 19, 2024
8318751
upd r-lib actions in deploy test
PhilippBach Sep 19, 2024
d2d9b95
remove redundancy
PhilippBach Sep 19, 2024
3f0ecfa
roll back, for workflow dispatch
PhilippBach Sep 19, 2024
389c036
r-lib actions for stable test
PhilippBach Sep 19, 2024
5a29502
rename and update flaml notebook
PhilippBach Sep 19, 2024
3424ea9
add flaml
PhilippBach Sep 19, 2024
c677d7c
upd notebook
PhilippBach Sep 19, 2024
1a417e0
add knitr dependency
PhilippBach Sep 19, 2024
40aa1f7
setup pandoc
PhilippBach Sep 19, 2024
61d2566
fix url (broken url)
PhilippBach Sep 19, 2024
c3fe936
exception for unifr.ch
PhilippBach Sep 19, 2024
db9696b
fix IRM link in APO example
PhilippBach Sep 20, 2024
ca67450
install R dependencies through r-lib workflow
PhilippBach Sep 20, 2024
0e88854
roll bakc
PhilippBach Sep 20, 2024
2061489
upd link in other files
PhilippBach Sep 20, 2024
d3af44a
Merge branch 'p-actions' of https://github.com/DoubleML/doubleml-docs…
PhilippBach Sep 20, 2024
dde4147
test workflow
PhilippBach Sep 27, 2024
fc4f8fb
add rdd.rst
OliverSchacht Oct 7, 2024
46de31d
update doc
OliverSchacht Oct 8, 2024
6a2485c
add example notebook, work in progress
OliverSchacht Oct 8, 2024
085690c
completly rework everything
OliverSchacht Oct 9, 2024
0369a9e
install libcurl
PhilippBach Oct 14, 2024
1bd222e
Merge branch 'p-actions' of https://github.com/DoubleML/doubleml-docs…
PhilippBach Oct 14, 2024
8a5893c
fix link to irm models
PhilippBach Oct 15, 2024
d188f49
Merge branch 'p-fix-urls' of https://github.com/DoubleML/doubleml-doc…
PhilippBach Oct 15, 2024
3a9afbb
use workflow from main branch
PhilippBach Oct 15, 2024
99f8b34
use workflow for stable deploy based on main branch
PhilippBach Oct 15, 2024
a9622b2
Merge pull request #201 from DoubleML/p-fix-urls
PhilippBach Oct 18, 2024
30d3b1a
proofread
OliverSchacht Oct 21, 2024
f94765c
Merge pull request #199 from DoubleML/p-flaml
OliverSchacht Oct 21, 2024
8f86242
Update py_double_ml_rdflex.ipynb
OliverSchacht Oct 22, 2024
2803eda
update (still draft)
OliverSchacht Oct 22, 2024
63817be
Update py_double_ml_rdflex.ipynb
SvenKlaassen Oct 22, 2024
a24c9df
Merge branch 'o-add-rdd' of https://github.com/DoubleML/doubleml-docs…
SvenKlaassen Oct 22, 2024
f9cd0dd
add rdd
OliverSchacht Oct 23, 2024
8da75d2
finish rdd docu
OliverSchacht Oct 23, 2024
690e783
add implementation details
OliverSchacht Oct 23, 2024
7655275
Update rdd.rst
OliverSchacht Oct 23, 2024
ac75365
fix broken links
OliverSchacht Oct 23, 2024
5fc6095
Merge branch 'dev' into o-add-rdd
OliverSchacht Oct 23, 2024
c1721ab
add rdrobust to requirements
OliverSchacht Oct 23, 2024
8cadf92
fix example in rdd,rst
OliverSchacht Oct 23, 2024
ffd64a3
apparently sphinx does not like multi line code
OliverSchacht Oct 23, 2024
126c549
add rdd literature
OliverSchacht Oct 24, 2024
223d1a9
add rdd example
OliverSchacht Oct 24, 2024
1ff3ada
revision
OliverSchacht Oct 24, 2024
7ae7964
fix broken links
OliverSchacht Oct 24, 2024
b3d0433
add cattaneo link to exceptions
OliverSchacht Oct 25, 2024
ff18f88
add rdd api
OliverSchacht Nov 13, 2024
2054bed
revision according to feedback
OliverSchacht Nov 13, 2024
d0dec8f
revision according to feedback
OliverSchacht Nov 13, 2024
54c13f8
update r version
SvenKlaassen Nov 14, 2024
38d5f21
fix argmin
OliverSchacht Nov 14, 2024
9589cbc
add non-adj learner
OliverSchacht Nov 14, 2024
95999a9
typos
OliverSchacht Nov 14, 2024
f563a7e
Update test_build_docu_dev.yml
SvenKlaassen Nov 15, 2024
13b0ae3
set runner to 22.04 version
SvenKlaassen Nov 15, 2024
44ba901
Merge pull request #203 from DoubleML/s-update-workflows
SvenKlaassen Nov 15, 2024
ce1a72c
Update py_double_ml_rdflex.ipynb
OliverSchacht Nov 15, 2024
81b5ddf
Merge branch 'dev' into o-add-rdd
OliverSchacht Nov 15, 2024
cc4fea9
remove rdd anchor in example
OliverSchacht Nov 15, 2024
0d93f97
clear outputs
OliverSchacht Nov 18, 2024
ee970c2
small fix
OliverSchacht Nov 18, 2024
078cd00
move RDD out of DoubleML section
OliverSchacht Nov 19, 2024
4ec9471
Update example
OliverSchacht Nov 19, 2024
b657cdf
minor corrections
OliverSchacht Nov 19, 2024
d9fe934
fix link to irm model
SvenKlaassen Nov 25, 2024
d9f8acd
final comments
OliverSchacht Dec 2, 2024
0cbd6c6
Update conf.py
OliverSchacht Dec 2, 2024
2e8acd3
Merge pull request #204 from DoubleML/o-add-rdd
OliverSchacht Dec 3, 2024
58379e2
fix typos
OliverSchacht Dec 3, 2024
6c97f03
Add Release Notes for DoubleML 0.9.1
OliverSchacht Dec 15, 2024
fc0968e
Update Release Notes for 0.9.1
OliverSchacht Dec 16, 2024
f282fe0
Update Release Notes for 0.9.1
OliverSchacht Jan 6, 2025
a964082
Fix release notes 0.9.1
OliverSchacht Jan 6, 2025
fa8ccd9
Fix release notes 0.9.1
OliverSchacht Jan 6, 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
4 changes: 2 additions & 2 deletions .github/workflows/deploy_docu_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/'
- name: Install R
run: |
sudo apt-get update
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_docu_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Check out the repo containing the docu source
Expand All @@ -31,7 +31,7 @@ jobs:
run: |
sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/'
- name: Install R
run: |
sudo apt-get update
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_build_docu_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
run: |
sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/'
- name: Install R
run: |
sudo apt-get update
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_build_docu_released.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Check out the repo containing the docu source
Expand All @@ -40,7 +40,7 @@ jobs:
run: |
sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/'
- name: Install R
run: |
sudo apt-get update
Expand Down
11 changes: 11 additions & 0 deletions doc/api/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ Double machine learning models
DoubleMLCVAR
DoubleMLQTE

Other models
------------------------------
.. currentmodule:: doubleml

.. autosummary::
:toctree: generated/
:template: class.rst

rdd.RDFlex

Datasets module
---------------

Expand Down Expand Up @@ -73,6 +83,7 @@ Dataset generators
datasets.make_confounded_irm_data
datasets.make_heterogeneous_data
datasets.make_irm_data_discrete_treatments
rdd.datasets.make_simple_rdd_data

Utility classes and functions
-----------------------------
Expand Down
6 changes: 6 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,12 @@
'https://glmnet.stanford.edu/reference/cv.glmnet.html',
# Valid URL (error not replicable), Causes 409 Client Error: Too Many Requests for url
'http://dx.doi.org/10.2139/ssrn.3619201',
# Valid URL, Causes ConnectTimeoutError
'https://folia.unifr.ch/global/documents/306524',
# Valid DOI; Causes 403 Client Error: Forbidden for url:...
'https://doi.org/10.1146/annurev-economics-051520-021409',
# Valdi DOI; Causes 504 Server Error: Gateway Time-out for ...
'https://doi.org/10.1017/CBO9781139060035.008'
]

# To execute R code via jupyter-execute one needs to install the R kernel for jupyter
Expand Down
2 changes: 2 additions & 0 deletions doc/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ General Examples
py_double_ml_did_pretest.ipynb
py_double_ml_basic_iv.ipynb
py_double_ml_plm_irm_hetfx.ipynb
py_double_ml_meets_flaml.ipynb
py_double_ml_rdflex.ipynb


Effect Heterogeneity
Expand Down
6 changes: 3 additions & 3 deletions doc/examples/py_double_ml_apo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# Python: Average Potential Outcome (APO) Models\n",
"\n",
"In this example, we illustrate how the [DoubleML](https://docs.doubleml.org/stable/index.html) package can be used to estimate average potential outcomes (APOs) in an interactive regression model (see [DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-model-irm)).\n",
"In this example, we illustrate how the [DoubleML](https://docs.doubleml.org/stable/index.html) package can be used to estimate average potential outcomes (APOs) in an interactive regression model (see [DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#binary-interactive-regression-model-irm)).\n",
"\n",
"The goal is to estimate the average potential outcome\n",
"\n",
Expand Down Expand Up @@ -172,8 +172,8 @@
"source": [
"## Single Average Potential Outcome Models (APO)\n",
"\n",
"Further, we have to specify machine learning algorithms. As in the [DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-model-irm) model, we have to set ``ml_m`` as a classifier and ``ml_g`` as a regressor (since the outcome is continuous). As in the \n",
"[DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-model-irm) model, the classifier ``ml_m`` is used to estimate the conditional probability of receiving treatment level $d$ given the covariates $X$\n",
"Further, we have to specify machine learning algorithms. As in the [DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-models-irm) model, we have to set ``ml_m`` as a classifier and ``ml_g`` as a regressor (since the outcome is continuous). As in the \n",
"[DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-models-irm) model, the classifier ``ml_m`` is used to estimate the conditional probability of receiving treatment level $d$ given the covariates $X$\n",
"\n",
"$$m_{0,d}(X) = \\mathbb{E}[1\\{D=d\\}|X]$$\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/py_double_ml_cate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"source": [
"# Python: Conditional Average Treatment Effects (CATEs) for IRM models\n",
"\n",
"In this simple example, we illustrate how the [DoubleML](https://docs.doubleml.org/stable/index.html) package can be used to estimate conditional average treatment effects with B-splines for one or two-dimensional effects in the [DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-model-irm) model."
"In this simple example, we illustrate how the [DoubleML](https://docs.doubleml.org/stable/index.html) package can be used to estimate conditional average treatment effects with B-splines for one or two-dimensional effects in the [DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-models-irm) model."
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions doc/examples/py_double_ml_gate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"source": [
"# Python: Group Average Treatment Effects (GATEs) for IRM models\n",
"\n",
"In this simple example, we illustrate how the [DoubleML](https://docs.doubleml.org/stable/index.html) package can be used to estimate group average treatment effects in the [DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-model-irm) model."
"In this simple example, we illustrate how the [DoubleML](https://docs.doubleml.org/stable/index.html) package can be used to estimate group average treatment effects in the [DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-models-irm) model."
]
},
{
Expand Down Expand Up @@ -167,7 +167,7 @@
"metadata": {},
"source": [
"## Interactive Regression Model (IRM)\n",
"The first step is to fit a [DoubleML IRM Model](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-model-irm) to the data."
"The first step is to fit a [DoubleML IRM Model](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-models-irm) to the data."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/py_double_ml_gate_sensitivity.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# Python: GATE Sensitivity Analysis\n",
"\n",
"In this simple example, we illustrate how the [DoubleML](https://docs.doubleml.org/stable/index.html) package can be used to perfrom a sensitivity analysis for group average treatment effects in the [DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-model-irm) model.\n"
"In this simple example, we illustrate how the [DoubleML](https://docs.doubleml.org/stable/index.html) package can be used to perfrom a sensitivity analysis for group average treatment effects in the [DoubleMLIRM](https://docs.doubleml.org/stable/guide/models.html#interactive-regression-models-irm) model.\n"
]
},
{
Expand Down
Loading