InterruptedTimeSeries.get_plot_data_bayesian#

InterruptedTimeSeries.get_plot_data_bayesian(hdi_prob=0.94)[source]#

Recover the data of the experiment along with the prediction and causal impact information.

In the multivariate case (n_outcomes > 1), the returned DataFrame is in long format with an outcome column; prediction, impact, and HDI columns are per outcome. In the univariate case, the structure is unchanged (no outcome column).

Parameters:

hdi_prob (float) – Prob for which the highest density interval will be computed. The default value is defined as the default from the arviz.hdi() function.

Return type:

DataFrame