cleverly.ATT#

class cleverly.ATT(reference: Any = None)[source]#

Compare counterfactual means among units in each comparison arm.

Parameters:
referenceAny or None

Treatment level used as the reference. None uses the design default.

See also

ATE

The same contrast over the whole population.

ATC

The same contrast restricted to the units in the reference arm.

cleverly.ControlledDirectEffect

An arm contrast holding an intermediate fixed.

Examples

>>> from cleverly import ATT
>>> estimand = ATT(reference=0)
>>> estimand.reference
0

Methods#

Attributes#

ATT.definition#

Return the treated-population contrast definition.

ATT.name: str = 'att'#
ATT.reference: Any = None#