moderndid.HonestDiDResult#
- class moderndid.HonestDiDResult(robust_ci: DataFrame, original_ci: OriginalCSResult, sensitivity_type: str)[source]#
Bases:
NamedTupleContainer for honest_did sensitivity analysis results.
- Attributes:
- robust_ci
polars.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_ci
OriginalCSResult Original confidence set assuming exact parallel trends holds.
- sensitivity_type
str Type of sensitivity analysis performed (‘smoothness’ or ‘relative_magnitude’).
- robust_ci
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Original confidence set assuming exact parallel trends.
Robust confidence intervals under violations of parallel trends.
Type of sensitivity analysis ('smoothness' or 'relative_magnitude').