moderndid.ATTgtResult#

class moderndid.ATTgtResult(att: float, group: float, year: float, post: int)[source]#

Bases: NamedTuple

Container for a single group-time ATT estimate.

Attributes:
attfloat

The estimated ATT for this group-time cell.

groupfloat

The treatment group identifier (first treatment period).

yearfloat

The time period for this estimate.

postint

Indicator for whether this is a post-treatment period (1) or pre-treatment period (0).

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

att

Estimated ATT for this group-time cell.

group

Treatment group identifier (first treatment period).

post

Indicator for post-treatment (1) or pre-treatment (0).

year

Time period for this estimate.