ExperimentDesigner.plot_lift_distributions#
- ExperimentDesigner.plot_lift_distributions(channel, spend_changes=None, durations=None, color=None, figsize=None)[source]#
Grid of lift posterior distributions for one channel.
Rows = spend changes, columns = durations.
- Parameters:
- channel
str Channel name.
- spend_changes
list[float] |None Fractional spend changes. Defaults to
[0.2, 0.5, -0.5, -1.0].- durations
list[int] |None Durations in weeks. Defaults to
[4, 6, 8, 12].- color
str|None Matplotlib color for this channel’s histograms and HDI bands. Falls back to
"C0"whenNone.- figsize
tuple[float,float] |None (width, height)for the figure. Defaults to(10, 3 * n_rows).
- channel
- Returns: