Skip to content

Allow causal impact plots to show posterior predicted outcome, not just model expectation #295

Description

@drbenvincent

Currently, the causal impact plots have HDI's which represent the model expectation.

This was done intentionally, but we should do the following:

  • Add a kwarg to allow used to decide whether to plot the model expectation or the posterior predictive.
  • Explain this kwarg in the appropriate docstrings
  • Make sure that this is explicit, for example by explaining this in the example notebooks, or by a text output when the plot method is called, or by adding a text annotation to the plot.
  • It would be good to (by default) add a bit of text to the figure to explain what the HDI corresponds to. Maybe small text size at the bottom of the key (often 3-panel) plots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestplottingImprove or fix plotting

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions