Skip to content

Interface: MediationEffectDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Causal / MediationEffectDto

Interface: MediationEffectDto

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

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

Properties

ciLower

ciLower: number

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

Lower bound of the 95% Wald confidence interval.


ciUpper

ciUpper: number

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

Upper bound of the 95% Wald confidence interval.


estimate

estimate: number

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

Point estimate.


estimateTermId?

optional estimateTermId: string | null

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

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.


sensitivity?

optional sensitivity: SensitivityDto | null

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

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

stdError: number

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

Standard error from the EIF sandwich variance.