Interface: MediationResponse
@kortexya/reasoninglayer / MediationResponse
Interface: MediationResponse
Section titled “Interface: MediationResponse”Defined in: src/types/causal.ts:1067
The certified mediation decomposition: natural direct and indirect effects,
their total, and the machine-checked TE = NDE + NIE identity.
Properties
Section titled “Properties”decompositionCertified
Section titled “decompositionCertified”decompositionCertified:
boolean
Defined in: src/types/causal.ts:1069
TE = NDE + NIE certified by exact polynomial identity testing.
identificationCertificateId?
Section titled “identificationCertificateId?”
optionalidentificationCertificateId?:string|null
Defined in: src/types/causal.ts:1073
The identification certificate this estimate was gated on, when certified.
identificationProvenance?
Section titled “identificationProvenance?”
optionalidentificationProvenance?:string
Defined in: src/types/causal.ts:1075
How identification was established (certified or caller_asserted).
n:
number
Defined in: src/types/causal.ts:1077
Number of observations used.
nde:
MediationEffectDto
Defined in: src/types/causal.ts:1079
Natural direct effect theta(1,0) - theta(0,0).
nie:
MediationEffectDto
Defined in: src/types/causal.ts:1081
Natural indirect effect theta(1,1) - theta(1,0).
overlap?
Section titled “overlap?”
optionaloverlap?:OverlapDiagnosticDto|null
Defined in: src/types/causal.ts:1085
Positivity / overlap diagnostic over the fitted treatment propensities.
proportionMediated?
Section titled “proportionMediated?”
optionalproportionMediated?:number|null
Defined in: src/types/causal.ts:1090
Proportion of the total effect transmitted through the mediator
(NIE / TE); null when the total effect is approximately 0.
totalEffect
Section titled “totalEffect”totalEffect:
number
Defined in: src/types/causal.ts:1092
Total effect NDE + NIE.