ehrapy.tools.CausalEstimate#
- class ehrapy.tools.CausalEstimate(method, treatment, outcome, value, se=None, ci_lower=None, ci_upper=None, n=None, params=<factory>)[source]#
Result of a causal effect estimation.
Attributes table#
Lower bound of the (typically 95%) confidence interval, when available. |
|
Upper bound of the (typically 95%) confidence interval, when available. |
|
Number of observations used to compute the estimate. |
|
Standard error of the estimate, when available. |
|
Name of the estimator that produced this estimate. |
|
Treatment variable name. |
|
Outcome variable name. |
|
Point estimate of the average treatment effect (ATE). |
|
Estimator-specific metadata such as fitted propensity scores or effective sample size. |
Methods table#
|
Return a multi-line human-readable summary of the estimate. |
Attributes#
- CausalEstimate.ci_lower: float | None = None#
Lower bound of the (typically 95%) confidence interval, when available.