moderndid.didinter.container.EffectsResult#
- class moderndid.didinter.container.EffectsResult(horizons: ndarray, estimates: ndarray, std_errors: ndarray, ci_lower: ndarray, ci_upper: ndarray, n_switchers: ndarray, n_observations: ndarray)[source]#
Bases:
NamedTupleContainer for treatment effects at each horizon.
- Attributes:
- horizons
numpy.ndarray Event horizons (1, 2, …, effects).
- estimates
numpy.ndarray Point estimates at each horizon.
- std_errors
numpy.ndarray Standard errors at each horizon.
- ci_lower
numpy.ndarray Lower confidence interval bounds.
- ci_upper
numpy.ndarray Upper confidence interval bounds.
- n_switchers
numpy.ndarray Number of switchers at each horizon.
- n_observations
numpy.ndarray Number of observations at each horizon.
- horizons
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Lower confidence interval bounds.
Upper confidence interval bounds.
Point estimates at each horizon.
Event horizons (1, 2, ..., effects).
Number of observations at each horizon.
Number of switchers at each horizon.
Standard errors at each horizon.