cleverly.sensitivity.ObservedConfounderCalibration#
- class cleverly.sensitivity.ObservedConfounderCalibration(covariate: str, role: Literal['treatment', 'outcome'], family: Literal['binomial', 'gaussian'], strength: float, method: str, component: str | None = None)[source]#
Record one model-dependent observed-covariate calibration.
- Parameters:
- covariate
str Numeric adjustment covariate used for the comparison.
- role{“treatment”, “outcome”}
Perturbed variable whose source-style scale is reported.
- family{“binomial”, “gaussian”}
Variable family that determines the calibration rule.
- strength
float Prediction-change fraction or signed standardized marginal coefficient.
- method
str Finite-sample rule used to calculate
strength.- component
strorNone The component of a vector treatment that a treatment row calibrates, or
None.
- covariate