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 to HDI_PROB (currently 0.94).

Returns:

DataFrame with event_time and att columns plus att_lower / att_upper HDI bounds (posterior draws) or att_std / n_obs dispersion columns (point estimates). Includes both pre-treatment (placebo) and post-treatment effects.

Return type:

pd.DataFrame