Skip to content

Commit 1e42437

Browse files
committed
update qte notebooks
1 parent 2ac6021 commit 1e42437

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/examples/py_double_ml_pension_qte.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"source": [
1818
"In this real-data example, we illustrate how the [DoubleML](https://docs.doubleml.org/stable/index.html) package can be used to estimate the effect of 401(k) eligibility and participation on accumulated assets. The 401(k) data set has been analyzed in several studies, among others [Chernozhukov et al. (2018)](https://arxiv.org/abs/1608.00060), see [Kallus et al. (2019)](https://arxiv.org/abs/1912.12945) for quantile effects.\n",
1919
"\n",
20-
"_Remark:_\n",
21-
"_This notebook focuses on the evaluation of the treatment effect at different quantiles. For a basic introduction to the [DoubleML](https://docs.doubleml.org/stable/index.html) package and a detailed example of the average treatment effect estimation for the 401(k) data set, we refer to the notebook [Python: Impact of 401(k) on Financial Wealth](https://docs.doubleml.org/stable/examples/py_double_ml_pension.html). The Data sections of both notebooks coincide._\n",
20+
"**Remark:**\n",
21+
"This notebook focuses on the evaluation of the treatment effect at different quantiles. For a basic introduction to the [DoubleML](https://docs.doubleml.org/stable/index.html) package and a detailed example of the average treatment effect estimation for the 401(k) data set, we refer to the notebook [Python: Impact of 401(k) on Financial Wealth](https://docs.doubleml.org/stable/examples/py_double_ml_pension.html). The Data sections of both notebooks coincide.\n",
2222
"\n",
2323
"401(k) plans are pension accounts sponsored by employers. The key problem in determining the effect of participation in 401(k) plans on accumulated assets is saver heterogeneity coupled with the fact that the decision to enroll in a 401(k) is non-random. It is generally recognized that some people have a higher preference for saving than others. It also seems likely that those individuals with high unobserved preference for saving would be most likely to choose to participate in tax-advantaged retirement savings plans and would tend to have otherwise high amounts of accumulated assets. The presence of unobserved savings preferences with these properties then implies that conventional estimates that do not account for saver heterogeneity and endogeneity of participation will be biased upward, tending to overstate the savings effects of 401(k) participation.\n",
2424
"\n",

doc/examples/py_double_ml_pq.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@
364364
"collapsed": false
365365
},
366366
"source": [
367-
"## Quantile Treatment Effects (QTEs)\n",
367+
"### Quantile Treatment Effects (QTEs)\n",
368368
"In most cases, we want to evaluate the quantile treatment effect as the difference between potential quantiles.\n",
369369
"Here, different quantiles can be estimated in parallel with `n_jobs_models`.\n",
370370
"\n",
@@ -874,7 +874,7 @@
874874
"cell_type": "markdown",
875875
"metadata": {},
876876
"source": [
877-
"## Local Potential Quantile Estimation\n",
877+
"### Local Potential Quantile Estimation\n",
878878
"Next, we can initialize our two machine learning algorithms to train the different nuisance elements. As above, we can initialize the `DoubleMLLPQ` objects and call `fit()` to estimate the relevant parameters. To obtain confidence intervals, we can use the `confint()` method."
879879
]
880880
},
@@ -1056,7 +1056,7 @@
10561056
"cell_type": "markdown",
10571057
"metadata": {},
10581058
"source": [
1059-
"## Local Quantile Treatment Effects (LQTEs)\n",
1059+
"### Local Quantile Treatment Effects (LQTEs)\n",
10601060
"As for quantile treatment effects, we often want to evaluate the (local) treatment effect.\n",
10611061
"To estimate local quantile treatment effects, we can use the `DoubleMLQTE` object and specify `LPQ` as the score. \n",
10621062
"\n",

0 commit comments

Comments
 (0)