Skip to content

Commit 8d52fec

Browse files
authored
Merge pull request #266 from DoubleML/s-docstring-typos
Fix typos in docstrings & update authors
2 parents d29200b + 05f1cc4 commit 8d52fec

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# -- Project information -----------------------------------------------------
1919

2020
project = 'DoubleML'
21-
copyright = '2021, Bach, P., Chernozhukov, V., Kurz, M. S., and Spindler, M.'
22-
author = 'Bach, P., Chernozhukov, V., Kurz, M. S., and Spindler, M.'
21+
copyright = '2021, Bach, P., Chernozhukov, V., Klaassen, S., Kurz, M. S., and Spindler, M.'
22+
author = 'Bach, P., Chernozhukov, V., Klaassen, S., Kurz, M. S., and Spindler, M.'
2323

2424
# The full version, including alpha/beta/rc tags
2525
release = '0.9.dev0'

doubleml/datasets.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ def make_irm_data_discrete_treatments(n_obs=200, n_levels=3, linear=False, rando
15231523
15241524
.. math::
15251525
1526-
\\text{\\theta}(d) = 0.1 \\exp(d) + 10 \\sin(0.7 d) + 2 d - 0.2 d^2.
1526+
\\theta (d) = 0.1 \\exp(d) + 10 \\sin(0.7 d) + 2 d - 0.2 d^2.
15271527
15281528
Based on the continous treatment, a discrete treatment :math:`D` is generated as with a baseline level of
15291529
:math:`D=0` and additional levels based on the quantiles of :math:`D_{\\text{cont}}`. The number of levels
@@ -1535,7 +1535,7 @@ def make_irm_data_discrete_treatments(n_obs=200, n_levels=3, linear=False, rando
15351535
15361536
Y(0) &= 210 + 27.4 Z_1 + 13.7 (Z_2 + Z_3 + Z_4) + \\varepsilon_Y
15371537
1538-
Y(1) &= \\text{\\theta}(D_{\\text{cont}}) 1\\{D_{\\text{cont}} > 0\\} + Y(0),
1538+
Y(1) &= \\theta (D_{\\text{cont}}) 1\\{D_{\\text{cont}} > 0\\} + Y(0),
15391539
15401540
where :math:`\\varepsilon_Y \\sim \\mathcal{N}(0,5)`. Further, the observed outcome is defined as
15411541
@@ -1567,6 +1567,8 @@ def make_irm_data_discrete_treatments(n_obs=200, n_levels=3, linear=False, rando
15671567
-------
15681568
res_dict : dictionary
15691569
Dictionary with entries ``x``, ``y``, ``d`` and ``oracle_values``.
1570+
The oracle values contain the continuous treatment, the level bounds, the potential level, ITE
1571+
and the potential outcome without treatment.
15701572
15711573
"""
15721574
if random_state is not None:

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
setup(
1313
name='DoubleML',
1414
version='0.9.dev0',
15-
author='Bach, P., Chernozhukov, V., Kurz, M. S., and Spindler, M.',
16-
maintainer='Malte S. Kurz',
17-
maintainer_email='malte.simon.kurz@uni-hamburg.de',
15+
author='Bach, P., Chernozhukov, V., Klaassen, S., Kurz, M. S., and Spindler, M.',
16+
maintainer='Sven Klaassen',
17+
maintainer_email='sven.klaassen@uni-hamburg.de',
1818
description='Double Machine Learning in Python',
1919
long_description=long_description,
2020
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)