TrtGroupConfig

nonlinear_did.TrtGroupConfig(
    name: ColumnName,
    never_treated_identifier: float = float('inf'),
)

Lazy configuration for the treatment group column.

Parameters

Name Type Description Default
name str Name of the column holding the first treatment period of a unit. required
never_treated_identifier float Value in name marking never-treated units. It is mapped to inf internally. inf