Skip to content

Commit 6f9214f

Browse files
committed
fix error in plotting pre-treatment data
1 parent 94895b4 commit 6f9214f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/notebooks/sc_pymc_brexit.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
"source": [
162162
"# Examine how correlated the pre-intervention time series are\n",
163163
"\n",
164-
"pre_intervention_data = df.loc[df.index > treatment_time, :]\n",
164+
"pre_intervention_data = df.loc[df.index < treatment_time, :]\n",
165165
"\n",
166166
"corr = pre_intervention_data.corr()\n",
167167
"\n",

0 commit comments

Comments
 (0)