cleverly.RiskRatio#
- class cleverly.RiskRatio(reference: Any = None)[source]#
Compare counterfactual risks on the ratio scale.
- Parameters:
- reference
AnyorNone Denominator treatment level.
Noneuses the design default.
- reference
See also
OddsRatioThe same comparison on the odds scale.
ATEThe same comparison on the difference scale.
cleverly.sensitivity.evalue.evalueHow much confounding would explain a ratio away.
Examples
>>> from cleverly import RiskRatio >>> estimand = RiskRatio(reference=0) >>> estimand.reference 0