cleverly.ATC#

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

Compare counterfactual means among units in the reference arm.

Parameters:
referenceAny or None

Treatment level that defines the target population and comparison reference.

See also

ATE

The same contrast over the whole population.

ATT

The same contrast restricted to the units in each comparison arm.

CounterfactualMean

The arm means the contrast is taken between.

Examples

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

Methods#

Attributes#

ATC.definition#

Return the reference-population contrast definition.

ATC.name: str = 'atc'#
ATC.reference: Any = None#