Skip to content

Interface: MediationEffectDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / MediationEffectDto

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

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

ciLower: number

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

Lower bound of the 95% Wald confidence interval.


ciUpper: number

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

Upper bound of the 95% Wald confidence interval.


estimate: number

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

Point estimate.


optional estimateTermId?: string | null

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

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:1082

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:1084

Standard error from the EIF sandwich variance.