|
53 | 53 | "cell_type": "markdown",
|
54 | 54 | "metadata": {},
|
55 | 55 | "source": [
|
56 |
| - "# Using the `InterventionTimeEstimator` PyMC model\n", |
| 56 | + "### Using the `InterventionTimeEstimator` PyMC model\n", |
57 | 57 | "\n",
|
58 | 58 | "The ``InterventionTimeEstimator`` (``ITE``) model is built to infer *when* an intervention likely occurred, based on the **type of effect** you expect it to have caused.\n",
|
59 | 59 | "\n",
|
|
66 | 66 | "cell_type": "markdown",
|
67 | 67 | "metadata": {},
|
68 | 68 | "source": [
|
69 |
| - "### Example 1 : Level Change\n", |
| 69 | + "#### Example 1 : Level Change\n", |
70 | 70 | "\n",
|
71 | 71 | "In this example, we apply the ``ITE`` model in its simplest form to a time series with a **level change**."
|
72 | 72 | ]
|
|
281 | 281 | "cell_type": "markdown",
|
282 | 282 | "metadata": {},
|
283 | 283 | "source": [
|
284 |
| - "### Example 2 : Trend Change\n", |
| 284 | + "#### Example 2 : Trend Change\n", |
285 | 285 | "\n",
|
286 | 286 | "In this example, we'll showcase how to use the ITE when the time series exhibits a **trend change**."
|
287 | 287 | ]
|
|
508 | 508 | "cell_type": "markdown",
|
509 | 509 | "metadata": {},
|
510 | 510 | "source": [
|
511 |
| - "### Example 3 : Impulse\n", |
| 511 | + "#### Example 3 : Impulse\n", |
512 | 512 | "\n",
|
513 | 513 | "In this final example, we'll demonstrate how to apply the ITE model to data that display an impulse-like effect."
|
514 | 514 | ]
|
|
734 | 734 | "cell_type": "markdown",
|
735 | 735 | "metadata": {},
|
736 | 736 | "source": [
|
737 |
| - "### Narrowing the Inference Window\n", |
| 737 | + "#### Narrowing the Inference Window\n", |
738 | 738 | "\n",
|
739 | 739 | "Instead of specifying a treatment_time, you can constrain the inference window by passing a time_range=(start, end) argument, where start and end correspond to the row indices or timestamps of your dataframe:\n",
|
740 | 740 | "\n",
|
|
889 | 889 | "cell_type": "markdown",
|
890 | 890 | "metadata": {},
|
891 | 891 | "source": [
|
892 |
| - "### Specifying the effect\n", |
| 892 | + "#### Specifying the effect\n", |
893 | 893 | "\n",
|
894 | 894 | "The effects also can be specified using a dictionary passed to the `treatment_type_effect` arguments :\n",
|
895 | 895 | "\n",
|
|
940 | 940 | "cell_type": "markdown",
|
941 | 941 | "metadata": {},
|
942 | 942 | "source": [
|
943 |
| - "# Interrupted Time Series (ITS) : Real Data Example" |
| 943 | + "### Interrupted Time Series (ITS) : Real Data Example" |
944 | 944 | ]
|
945 | 945 | },
|
946 | 946 | {
|
|
0 commit comments