You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: causalpy/experiments/regression_discontinuity.py
+11-12Lines changed: 11 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
importpandasaspd
22
22
importseabornassns
23
23
frommatplotlibimportpyplotasplt
24
-
frompatsyimportbuild_design_matrices, dmatrices
24
+
fromformulaicimportmodel_matrix
25
25
fromsklearn.baseimportRegressorMixin
26
26
27
27
fromcausalpy.custom_exceptionsimport (
@@ -111,15 +111,14 @@ def __init__(
111
111
f"Choice of bandwidth parameter has lead to only {len(filtered_data)} remaining datapoints. Consider increasing the bandwidth parameter.", # noqa: E501
Copy file name to clipboardExpand all lines: causalpy/experiments/regression_kink.py
+11-12Lines changed: 11 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@
22
22
importnumpyasnp
23
23
importpandasaspd
24
24
importseabornassns
25
-
frompatsyimportbuild_design_matrices, dmatrices
25
+
fromformulaicimportmodel_matrix
26
26
27
27
fromcausalpy.plot_utilsimportplot_xY
28
28
@@ -74,15 +74,14 @@ def __init__(
74
74
f"Choice of bandwidth parameter has lead to only {len(filtered_data)} remaining datapoints. Consider increasing the bandwidth parameter.", # noqa: E501
0 commit comments