moderndid.didinter.container.ATEResult#

class moderndid.didinter.container.ATEResult(estimate: float, std_error: float, ci_lower: float, ci_upper: float, n_observations: float = 0.0, n_switchers: float = 0.0)[source]#

Bases: NamedTuple

Container for average total effect.

Attributes:
estimatefloat

Point estimate of the average total effect.

std_errorfloat

Standard error of the estimate.

ci_lowerfloat

Lower confidence interval bound.

ci_upperfloat

Upper confidence interval bound.

n_observationsfloat

Total observations contributing to the ATE.

n_switchersfloat

Total switchers contributing to the ATE.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

ci_lower

Lower confidence interval bound.

ci_upper

Upper confidence interval bound.

estimate

Point estimate of the average total effect.

n_observations

Total observations contributing to the ATE.

n_switchers

Total switchers contributing to the ATE.

std_error

Standard error of the estimate.