Diagnostics module
Diagnostic functions.
- pytwoway.diagnostics.plot_extendedeventstudy.plot_extendedeventstudy(adata, periods_pre=2, periods_post=2, params=None)
Generate event study plots. If data is not clustered, will plot all transitions in a single figure.
- Parameters
adata (BipartiteExtendedEventStudyBase) – extended event study or collapsed extended event study format labor data
periods_pre (int) – number of periods before the transition
periods_post (int) – number of periods after the transition
params (ParamsDict or None) – dictionary of parameters for plotting. Run tw.plot_extendedeventstudy_params().describe_all() for descriptions of all valid parameters. None is equivalent to tw.plot_extendedeventstudy_params().