moderndid.DDDAggResult#
- class moderndid.DDDAggResult(overall_att: float, overall_se: float, aggregation_type: Literal['simple', 'eventstudy', 'group', 'calendar'], egt: ndarray | None = None, att_egt: ndarray | None = None, se_egt: ndarray | None = None, crit_val: float = 1.96, inf_func: ndarray | None = None, inf_func_overall: ndarray | None = None, args: dict = {})[source]#
Bases:
NamedTupleContainer for aggregated DDD treatment effect parameters.
This class implements the
maketablesplug-in interface for publication-quality tables. See Publication Tables with maketables.- Attributes:
- overall_att
float The estimated overall average treatment effect on the treated.
- overall_se
float Standard error for overall ATT.
- aggregation_type{‘simple’, ‘eventstudy’, ‘group’, ‘calendar’}
Type of aggregation performed.
- egt
numpy.ndarray, optional Event times, groups, or calendar times depending on aggregation type.
- att_egt
numpy.ndarray, optional ATT estimates for each element in egt.
- se_egt
numpy.ndarray, optional Standard errors for each element in egt.
- crit_val
float Critical value for confidence intervals.
- inf_func
numpy.ndarray, optional Influence function matrix for disaggregated effects.
- inf_func_overall
numpy.ndarray, optional Influence function for the overall ATT.
- args
dict Arguments used for aggregation.
- overall_att
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Type of aggregation performed.
Arguments used for aggregation.
ATT estimates for each element in egt.
Critical value for confidence intervals.
Event times, groups, or calendar times depending on aggregation type.
Influence function matrix for disaggregated effects.
Influence function for the overall ATT.
Estimated overall average treatment effect on the treated.
Standard error for overall ATT.
Standard errors for each element in egt.