StaggeredDifferenceInDifferences.get_plot_data#
- StaggeredDifferenceInDifferences.get_plot_data(*, hdi_prob=0.94)[source]#
Get event-time plotting data.
- Parameters:
hdi_prob (
float) – Probability for HDI interval. Only used by models carrying posterior draws; when it differs from the value cached at fit time, the intervals are recomputed. Defaults toHDI_PROB(currently 0.94).- Returns:
DataFrame with
event_timeandattcolumns plusatt_lower/att_upperHDI bounds (posterior draws) oratt_std/n_obsdispersion columns (point estimates). Includes both pre-treatment (placebo) and post-treatment effects.- Return type:
pd.DataFrame