Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Power Analysis Through Posterior ROPE Estimation #368

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions causalpy/pymc_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
)
from causalpy.plot_utils import plot_xY
from causalpy.utils import round_num
from causalpy.pymc_rope import ROPE

LEGEND_FONT_SIZE = 12
az.style.use("arviz-darkgrid")
Expand Down Expand Up @@ -356,7 +357,7 @@ def summary(self, round_to=None) -> None:
self.print_coefficients(round_to)


class InterruptedTimeSeries(PrePostFit):
class InterruptedTimeSeries(PrePostFit, ROPE):
"""
A wrapper around PrePostFit class

Expand Down Expand Up @@ -396,7 +397,7 @@ class InterruptedTimeSeries(PrePostFit):
expt_type = "Interrupted Time Series"


class SyntheticControl(PrePostFit):
class SyntheticControl(PrePostFit, ROPE):
"""A wrapper around the PrePostFit class

:param data:
Expand Down
Loading
Loading