Skip to content

Commit

Permalink
remove the sole test of summary method in docstring of skl_experiment…
Browse files Browse the repository at this point in the history
…s.py
  • Loading branch information
drbenvincent committed Jun 19, 2024
1 parent f1214bd commit 9fc0798
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions causalpy/skl_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ class InterruptedTimeSeries(PrePostFit):
... formula="y ~ 1 + t + C(month)",
... model = LinearRegression()
... )
"""

expt_type = "Interrupted Time Series"
Expand Down Expand Up @@ -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
<BLANKLINE>
Results:
Discontinuity at threshold = 0.19
Model coefficients:
Intercept 0
treated[T.True] 0.19
x 1.2
"""

def __init__(
Expand Down

0 comments on commit 9fc0798

Please sign in to comment.