Skip to content

Commit a39e015

Browse files
authored
Merge pull request #458 from pymc-labs/sc-class-extraction
2 parents 4227edf + 867d93b commit a39e015

10 files changed

+482
-140
lines changed

causalpy/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@
2323
from .data import load_data
2424
from .experiments.diff_in_diff import DifferenceInDifferences
2525
from .experiments.instrumental_variable import InstrumentalVariable
26+
from .experiments.interrupted_time_series import InterruptedTimeSeries
2627
from .experiments.inverse_propensity_weighting import InversePropensityWeighting
27-
from .experiments.prepostfit import InterruptedTimeSeries, SyntheticControl
2828
from .experiments.prepostnegd import PrePostNEGD
2929
from .experiments.regression_discontinuity import RegressionDiscontinuity
3030
from .experiments.regression_kink import RegressionKink
31+
from .experiments.synthetic_control import SyntheticControl
3132

3233
az.style.use("arviz-darkgrid")
3334

causalpy/experiments/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _ols_plot(self, *args, **kwargs):
8181
raise NotImplementedError("_ols_plot method not yet implemented")
8282

8383
def get_plot_data(self, *args, **kwargs) -> pd.DataFrame:
84-
"""Recover the data of a PrePostFit experiment along with the prediction and causal impact information.
84+
"""Recover the data of an experiment along with the prediction and causal impact information.
8585
8686
Internally, this function dispatches to either :func:`get_plot_data_bayesian` or :func:`get_plot_data_ols`
8787
depending on the model type.

0 commit comments

Comments
 (0)