diff_diff.sensitivity_plot#
- diff_diff.sensitivity_plot(results, method='relative_magnitude', M_grid=None, alpha=0.05, ax=None, **kwargs)[source]
Create a sensitivity analysis plot.
- Parameters:
results (MultiPeriodDiDResults, CallawaySantAnnaResults, or ChaisemartinDHaultfoeuilleResults) – Results from event study estimation.
method (str) – Type of restriction.
alpha (float) – Significance level.
ax (matplotlib.axes.Axes, optional) – Axes to plot on.
**kwargs – Additional arguments passed to plot method.
- Returns:
ax – The axes with the plot.
- Return type:
matplotlib.axes.Axes