From 9fc0798d8eef31b7ca1dafddcb1cbcc15af18ba6 Mon Sep 17 00:00:00 2001 From: "Benjamin T. Vincent" Date: Wed, 19 Jun 2024 13:45:17 +0100 Subject: [PATCH] remove the sole test of summary method in docstring of skl_experiments.py --- causalpy/skl_experiments.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/causalpy/skl_experiments.py b/causalpy/skl_experiments.py index beb020d3..87d7cb19 100644 --- a/causalpy/skl_experiments.py +++ b/causalpy/skl_experiments.py @@ -286,7 +286,6 @@ class InterruptedTimeSeries(PrePostFit): ... formula="y ~ 1 + t + C(month)", ... model = LinearRegression() ... ) - """ expt_type = "Interrupted Time Series" @@ -590,18 +589,6 @@ class RegressionDiscontinuity(ExperimentalDesign, RDDataValidator): ... model=LinearRegression(), ... treatment_threshold=0.5, ... ) - >>> result.summary() # doctest: +NORMALIZE_WHITESPACE,+NUMBER - Difference in Differences experiment - Formula: y ~ 1 + x + treated - Running variable: x - Threshold on running variable: 0.5 - - Results: - Discontinuity at threshold = 0.19 - Model coefficients: - Intercept 0 - treated[T.True] 0.19 - x 1.2 """ def __init__(