moderndid.HonestDiDResult#

class moderndid.HonestDiDResult(robust_ci: DataFrame, original_ci: OriginalCSResult, sensitivity_type: str)[source]#

Bases: NamedTuple

Container for honest_did sensitivity analysis results.

Attributes:
robust_cipolars.DataFrame

DataFrame with columns for the smoothness/relative magnitude parameter (M or Mbar) and the corresponding lower and upper confidence interval bounds that are robust to violations of parallel trends.

original_ciOriginalCSResult

Original confidence set assuming exact parallel trends holds.

sensitivity_typestr

Type of sensitivity analysis performed (‘smoothness’ or ‘relative_magnitude’).

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

original_ci

Original confidence set assuming exact parallel trends.

robust_ci

Robust confidence intervals under violations of parallel trends.

sensitivity_type

Type of sensitivity analysis ('smoothness' or 'relative_magnitude').