cleverly.interventions.RiskRatioTilt#
- class cleverly.interventions.RiskRatioTilt(delta: float, name: str = '')[source]#
The risk-ratio incremental intervention of
lmtp::ipsi, a randomized policy.For
delta < 1each treated unit keeps its treatment with probabilitydeltaand is otherwise untreated, so \(P(A^d = 1 \mid h) = \delta\, g(1 \mid h)\). Fordelta > 1each untreated unit stays untreated with probability1 / deltaand is otherwise treated, so \(P(A^d = 0 \mid h) = g(0 \mid h) / \delta\).delta = 1is the natural course. The policy draws a two-point randomizer of known law, aslmtp’sipsi_downandipsi_updo withrunif(n) < delta, so it is a randomized modified treatment policy whose law does not depend on the data (Hoffman et al. 2024, Example 8), and its estimator is doubly robust. It is not the odds-ratio tiltIncremental(Kennedy 2019), which defines its intervention through the fitted mechanism. The treatment is binary, coded 0 and 1.