moderndid.FLCIResult#
- class moderndid.FLCIResult(flci: tuple[float, float], optimal_vec: ndarray, optimal_pre_period_vec: ndarray, optimal_half_length: float, smoothness_bound: float, status: str)[source]#
Bases:
NamedTupleContainer for fixed-length confidence interval results.
- Attributes:
- flci
tuple[float,float] The fixed-length confidence interval as (lower, upper).
- optimal_vec
numpy.ndarray The optimal weight vector over all periods used to construct the affine estimator.
- optimal_pre_period_vec
numpy.ndarray The optimal weight vector restricted to pre-treatment periods.
- optimal_half_length
float The half-length of the confidence interval.
- smoothness_bound
float The smoothness bound M used in the computation.
- status
str Optimization status from the solver.
- flci
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Fixed-length confidence interval as (lower, upper).
Half-length of the confidence interval.
Optimal weight vector restricted to pre-treatment periods.
Optimal weight vector over all periods.
Smoothness bound M used in the computation.
Optimization status from the solver.