Skip to content

Interface: MediationEffectDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / MediationEffectDto

Defined in: src/types/causal.ts:1037

One effect of a mediation decomposition (NDE or NIE) with its inference.

ciLower: number

Defined in: src/types/causal.ts:1039

Lower bound of the 95% Wald confidence interval.


ciUpper: number

Defined in: src/types/causal.ts:1041

Upper bound of the 95% Wald confidence interval.


estimate: number

Defined in: src/types/causal.ts:1043

Point estimate.


optional estimateTermId?: string | null

Defined in: src/types/causal.ts:1049

Psi-term id of the persisted estimate for THIS effect (certified requests only): NDE and NIE are distinct estimands, so each is materialized as its own tenant Psi-term linked to the identification certificate.


optional sensitivity?: SensitivityDto | null

Defined in: src/types/causal.ts:1058

E-value for this effect (sensitivity to unmeasured confounding). Mediation rests on several no-unmeasured-confounding assumptions (treatment-outcome, treatment-mediator, mediator-outcome); this difference-scale E-value treats the effect like a total effect and is a screening summary, not a full mediation sensitivity analysis. null when the outcomes are constant.


stdError: number

Defined in: src/types/causal.ts:1060

Standard error from the EIF sandwich variance.