Skip to content

Commit b593bf1

Browse files
authored
Merge pull request #64 from pymc-labs/examples
Split the notebooks into separate examples + update toctree
2 parents 21b174e + a55d0d4 commit b593bf1

15 files changed

+1871
-2345
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ _**STATUS:** Feel free to explore and experiment with the repository, and we ver
1010

1111
Rather than focussing on one particular quasi-experimental setting, this package aims to have broad applicability.
1212

13-
Another distinctive feature of this package is the ability to use different models. Currently, users can fit with `scikit-learn` models (see the [`scikit-learn` demo notebook](notebooks/skl_demos.ipynb)) or Bayesian models with `PyMC` (see the [`pymc` demo notebook](notebooks/pymc_demos.ipynb)).
13+
Another distinctive feature of this package is the ability to use different models. Currently, users can fit with `scikit-learn` models or Bayesian models with `PyMC`.
1414

1515
| | [CausalImpact](https://google.github.io/CausalImpact/) from Google | [GeoLift](https://github.com/facebookincubator/GeoLift/) from Meta | CausalPy from [PyMC Labs](https://www.pymc-labs.io) |
1616
|---------------------------|--------------------------------|---------|----------------------------------------|

docs/examples.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
Synthetic Control
2+
=================
3+
4+
.. toctree::
5+
:titlesonly:
6+
7+
notebooks/sc_pymc.ipynb
8+
notebooks/sc_skl.ipynb
9+
10+
11+
Interrupted Time Series
12+
=======================
13+
14+
.. toctree::
15+
:titlesonly:
16+
17+
notebooks/its_pymc.ipynb
18+
notebooks/its_skl.ipynb
19+
20+
21+
Difference in Differences
22+
=========================
23+
24+
.. toctree::
25+
:titlesonly:
26+
27+
notebooks/did_pymc.ipynb
28+
notebooks/did_skl.ipynb
29+
30+
31+
Regression Discontinuity
32+
========================
33+
34+
.. toctree::
35+
:titlesonly:
36+
37+
notebooks/rd_pymc.ipynb
38+
notebooks/rd_pymc_drinking.ipynb
39+
notebooks/rd_skl.ipynb
40+
notebooks/rd_skl_drinking.ipynb

docs/index.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,14 @@ This repository is supported by `PyMC Labs <https://www.pymc-labs.io>`_.
1919
:scale: 50 %
2020

2121

22-
.. toctree::
23-
:maxdepth: 2
24-
:caption: Contents:
25-
2622
Documentation outline
2723
=====================
2824

2925
.. toctree::
3026
:caption: Examples
3127
:titlesonly:
3228

33-
notebooks/skl_demos.ipynb
34-
notebooks/pymc_demos.ipynb
29+
examples
3530

3631
.. toctree::
3732
:caption: API Reference

0 commit comments

Comments
 (0)