Skip to content

Commit 13b166b

Browse files
committed
add excecuted notebooks to speed up doc generation
1 parent 4de9585 commit 13b166b

15 files changed

+101463
-592
lines changed

doc/examples/R_double_ml_pension.ipynb

Lines changed: 666 additions & 57 deletions
Large diffs are not rendered by default.

doc/examples/R_double_ml_pipeline.ipynb

Lines changed: 1265 additions & 97 deletions
Large diffs are not rendered by default.

doc/examples/double_ml_bonus_data.ipynb

Lines changed: 485 additions & 22 deletions
Large diffs are not rendered by default.

doc/examples/py_double_ml_cate.ipynb

Lines changed: 92976 additions & 23 deletions
Large diffs are not rendered by default.

doc/examples/py_double_ml_cvar.ipynb

Lines changed: 353 additions & 19 deletions
Large diffs are not rendered by default.

doc/examples/py_double_ml_did.ipynb

Lines changed: 313 additions & 27 deletions
Large diffs are not rendered by default.

doc/examples/py_double_ml_did_pretest.ipynb

Lines changed: 199 additions & 8 deletions
Large diffs are not rendered by default.

doc/examples/py_double_ml_gate.ipynb

Lines changed: 338 additions & 28 deletions
Large diffs are not rendered by default.

doc/examples/py_double_ml_learner.ipynb

Lines changed: 123 additions & 21 deletions
Large diffs are not rendered by default.

doc/examples/py_double_ml_multiway_cluster.ipynb

Lines changed: 966 additions & 51 deletions
Large diffs are not rendered by default.

doc/examples/py_double_ml_pension.ipynb

Lines changed: 1867 additions & 73 deletions
Large diffs are not rendered by default.

doc/examples/py_double_ml_pension_qte.ipynb

Lines changed: 643 additions & 36 deletions
Large diffs are not rendered by default.

doc/examples/py_double_ml_pq.ipynb

Lines changed: 686 additions & 42 deletions
Large diffs are not rendered by default.

doc/examples/py_elasticity_preprocessing.ipynb

Lines changed: 17 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@
2020
]
2121
},
2222
{
23+
"attachments": {},
2324
"cell_type": "markdown",
2425
"metadata": {},
2526
"source": [
2627
"# Demand Elasticity Example: Data Preprocessing"
2728
]
2829
},
2930
{
31+
"attachments": {},
3032
"cell_type": "markdown",
3133
"metadata": {},
3234
"source": [
@@ -36,6 +38,7 @@
3638
]
3739
},
3840
{
41+
"attachments": {},
3942
"cell_type": "markdown",
4043
"metadata": {},
4144
"source": [
@@ -46,6 +49,7 @@
4649
]
4750
},
4851
{
52+
"attachments": {},
4953
"cell_type": "markdown",
5054
"metadata": {},
5155
"source": [
@@ -64,45 +68,8 @@
6468
"name": "stdout",
6569
"output_type": "stream",
6670
"text": [
67-
"Collecting pyarrow\n",
68-
" Downloading pyarrow-11.0.0-cp311-cp311-win_amd64.whl (20.5 MB)\n",
69-
" ---------------------------------------- 0.0/20.5 MB ? eta -:--:--\n",
70-
" - -------------------------------------- 0.9/20.5 MB 18.5 MB/s eta 0:00:02\n",
71-
" ---- ----------------------------------- 2.1/20.5 MB 21.8 MB/s eta 0:00:01\n",
72-
" ----- ---------------------------------- 2.8/20.5 MB 19.8 MB/s eta 0:00:01\n",
73-
" ------ --------------------------------- 3.4/20.5 MB 18.2 MB/s eta 0:00:01\n",
74-
" ------- -------------------------------- 4.0/20.5 MB 17.1 MB/s eta 0:00:01\n",
75-
" -------- ------------------------------- 4.6/20.5 MB 16.3 MB/s eta 0:00:01\n",
76-
" ---------- ----------------------------- 5.2/20.5 MB 15.8 MB/s eta 0:00:01\n",
77-
" ----------- ---------------------------- 5.7/20.5 MB 15.2 MB/s eta 0:00:01\n",
78-
" ------------ --------------------------- 6.3/20.5 MB 14.9 MB/s eta 0:00:01\n",
79-
" ------------- -------------------------- 6.8/20.5 MB 14.6 MB/s eta 0:00:01\n",
80-
" -------------- ------------------------- 7.4/20.5 MB 14.4 MB/s eta 0:00:01\n",
81-
" --------------- ------------------------ 8.0/20.5 MB 14.3 MB/s eta 0:00:01\n",
82-
" ---------------- ----------------------- 8.7/20.5 MB 14.2 MB/s eta 0:00:01\n",
83-
" ------------------ --------------------- 9.3/20.5 MB 14.2 MB/s eta 0:00:01\n",
84-
" ------------------ -------------------- 10.0/20.5 MB 14.2 MB/s eta 0:00:01\n",
85-
" -------------------- ------------------ 10.7/20.5 MB 14.6 MB/s eta 0:00:01\n",
86-
" --------------------- ----------------- 11.5/20.5 MB 13.9 MB/s eta 0:00:01\n",
87-
" ----------------------- --------------- 12.2/20.5 MB 13.6 MB/s eta 0:00:01\n",
88-
" ------------------------ -------------- 12.7/20.5 MB 13.4 MB/s eta 0:00:01\n",
89-
" ------------------------- ------------- 13.3/20.5 MB 13.1 MB/s eta 0:00:01\n",
90-
" -------------------------- ------------ 13.9/20.5 MB 13.4 MB/s eta 0:00:01\n",
91-
" --------------------------- ----------- 14.5/20.5 MB 13.4 MB/s eta 0:00:01\n",
92-
" ---------------------------- ---------- 15.1/20.5 MB 13.1 MB/s eta 0:00:01\n",
93-
" ----------------------------- --------- 15.8/20.5 MB 13.4 MB/s eta 0:00:01\n",
94-
" ------------------------------- ------- 16.4/20.5 MB 13.6 MB/s eta 0:00:01\n",
95-
" -------------------------------- ------ 17.1/20.5 MB 13.9 MB/s eta 0:00:01\n",
96-
" --------------------------------- ----- 17.7/20.5 MB 13.9 MB/s eta 0:00:01\n",
97-
" ---------------------------------- ---- 18.2/20.5 MB 13.6 MB/s eta 0:00:01\n",
98-
" ----------------------------------- --- 18.8/20.5 MB 13.6 MB/s eta 0:00:01\n",
99-
" ------------------------------------ -- 19.3/20.5 MB 13.4 MB/s eta 0:00:01\n",
100-
" ------------------------------------- - 19.9/20.5 MB 13.4 MB/s eta 0:00:01\n",
101-
" -------------------------------------- 20.5/20.5 MB 13.4 MB/s eta 0:00:01\n",
102-
" --------------------------------------- 20.5/20.5 MB 12.6 MB/s eta 0:00:00\n",
103-
"Requirement already satisfied: numpy>=1.16.6 in c:\\users\\svenk\\.conda\\envs\\dml_dev\\lib\\site-packages (from pyarrow) (1.24.2)\n",
104-
"Installing collected packages: pyarrow\n",
105-
"Successfully installed pyarrow-11.0.0\n"
71+
"Requirement already satisfied: pyarrow in c:\\users\\svenk\\.conda\\envs\\dml_dev\\lib\\site-packages (11.0.0)\n",
72+
"Requirement already satisfied: numpy>=1.16.6 in c:\\users\\svenk\\.conda\\envs\\dml_dev\\lib\\site-packages (from pyarrow) (1.24.2)\n"
10673
]
10774
}
10875
],
@@ -289,13 +256,15 @@
289256
]
290257
},
291258
{
259+
"attachments": {},
292260
"cell_type": "markdown",
293261
"metadata": {},
294262
"source": [
295263
"### Variance of prices per product\n"
296264
]
297265
},
298266
{
267+
"attachments": {},
299268
"cell_type": "markdown",
300269
"metadata": {},
301270
"source": [
@@ -342,6 +311,7 @@
342311
]
343312
},
344313
{
314+
"attachments": {},
345315
"cell_type": "markdown",
346316
"metadata": {},
347317
"source": [
@@ -380,13 +350,15 @@
380350
]
381351
},
382352
{
353+
"attachments": {},
383354
"cell_type": "markdown",
384355
"metadata": {},
385356
"source": [
386357
"## Mimick Feature Engineering in [Roemheld (2021)](https://towardsdatascience.com/causal-inference-example-elasticity-de4a3e2e621b)"
387358
]
388359
},
389360
{
361+
"attachments": {},
390362
"cell_type": "markdown",
391363
"metadata": {},
392364
"source": [
@@ -407,6 +379,7 @@
407379
]
408380
},
409381
{
382+
"attachments": {},
410383
"cell_type": "markdown",
411384
"metadata": {},
412385
"source": [
@@ -437,6 +410,7 @@
437410
]
438411
},
439412
{
413+
"attachments": {},
440414
"cell_type": "markdown",
441415
"metadata": {},
442416
"source": [
@@ -535,6 +509,7 @@
535509
]
536510
},
537511
{
512+
"attachments": {},
538513
"cell_type": "markdown",
539514
"metadata": {},
540515
"source": [
@@ -793,6 +768,7 @@
793768
]
794769
},
795770
{
771+
"attachments": {},
796772
"cell_type": "markdown",
797773
"metadata": {},
798774
"source": [
@@ -840,13 +816,15 @@
840816
]
841817
},
842818
{
819+
"attachments": {},
843820
"cell_type": "markdown",
844821
"metadata": {},
845822
"source": [
846823
"## Comparison to OLS DML Results in [Roemheld (2021)](https://towardsdatascience.com/causal-inference-example-elasticity-de4a3e2e621b) (with full data set)"
847824
]
848825
},
849826
{
827+
"attachments": {},
850828
"cell_type": "markdown",
851829
"metadata": {},
852830
"source": [

0 commit comments

Comments
 (0)