moderndid.didinter.container.PlacebosResult#
- class moderndid.didinter.container.PlacebosResult(horizons: ndarray, estimates: ndarray, std_errors: ndarray, ci_lower: ndarray, ci_upper: ndarray, n_switchers: ndarray, n_observations: ndarray)[source]#
Bases:
NamedTupleContainer for placebo effects at each pre-treatment horizon.
- Attributes:
- horizons
numpy.ndarray Pre-treatment horizons (-1, -2, …, -placebo).
- 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.
Pre-treatment horizons (-1, -2, ..., -placebo).
Number of observations at each horizon.
Number of switchers at each horizon.
Standard errors at each horizon.