StaggeredDifferenceInDifferences.get_plot_data_bayesian#

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

Get plotting data for Bayesian model.

Parameters:

hdi_prob (float) – Probability for HDI interval. Defaults to 0.94.

Returns:

DataFrame with event_time, att, att_lower, att_upper columns. Includes both pre-treatment (placebo) and post-treatment effects.

Return type:

pd.DataFrame