moderndid.DDDPanelResult#
- class moderndid.DDDPanelResult(att: float, se: float, uci: float, lci: float, boots: ndarray | None, att_inf_func: ndarray | None, did_atts: dict, subgroup_counts: dict, args: dict)[source]#
Bases:
NamedTupleContainer for DDD panel estimation results.
This class implements the
maketablesplug-in interface for publication-quality tables. See Publication Tables with maketables.- Attributes:
- att
float The DDD point estimate for the ATT.
- se
float Standard error of the ATT estimate.
- uci
float Upper bound of the 95% confidence interval.
- lci
float Lower bound of the 95% confidence interval.
- boots
numpy.ndarrayorNone Bootstrap draws if bootstrap inference was used.
- att_inf_func
numpy.ndarrayorNone Influence function if requested.
- did_atts
dict Individual DiD ATT estimates for each comparison.
- subgroup_counts
dict Number of units in each subgroup.
- args
dict Arguments used for estimation.
- att
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Arguments used for estimation.
DDD point estimate for the ATT.
Influence function if requested.
Bootstrap draws if bootstrap inference was used.
Individual DiD ATT estimates for each comparison.
Lower bound of the 95% confidence interval.
Standard error of the ATT estimate.
Number of units in each subgroup.
Upper bound of the 95% confidence interval.