CausalTarget
class CausalTarget(StrEnum):
QTE = 'qte'
QTT = 'qtt'Causal estimand a cross-sectional estimator targets.
Use a member as the target argument of the cross-sectional estimators, for example CausalTarget.QTT.
Attributes
| Name | Type | Description |
|---|---|---|
| QTE | Quantile treatment effect for the whole population. | |
| QTT | Quantile treatment effect on the treated. |
Examples
Target the effect on the treated instead of the whole population:
>>> from qte.cross_sectional import CausalTarget, estimate_ipw_effects
>>> from qte.datasets import load_lalonde
>>> res = estimate_ipw_effects(
... load_lalonde(),
... "re78",
... "treat",
... propensity_score_formula="age + education",
... target=CausalTarget.QTT,
... )