We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 704c698 commit e9212f1Copy full SHA for e9212f1
docs/source/notebooks/inv_prop_pymc.ipynb
@@ -7,12 +7,11 @@
7
"outputs": [],
8
"source": [
9
"import arviz as az\n",
10
- "import matplotlib.pyplot as plt\n",
+ "import causalpy as cp\n",
11
"import numpy as np\n",
12
"import pandas as pd\n",
13
- "import causalpy as cp\n",
14
"\n",
15
- "seed = 42"
+ "import matplotlib.pyplot as plt"
16
]
17
},
18
{
@@ -170,6 +169,7 @@
170
169
}
171
],
172
+ "seed = 42\n",
173
"result1 = cp.pymc_experiments.InversePropensityWeighting(\n",
174
" df1,\n",
175
" formula=\"trt ~ 1 + x1 + x2\",\n",
0 commit comments