Skip to content

Interface: FrontDoorResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Causal / FrontDoorResponse

Interface: FrontDoorResponse

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

The estimated front-door effect with bootstrap inference.

Properties

ciLower

ciLower: number

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

Lower bound of the 95% bootstrap-normal confidence interval.


ciUpper

ciUpper: number

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

Upper bound of the 95% bootstrap-normal confidence interval.


effect

effect: number

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

E[Y | do(X=1)] - E[Y | do(X=0)] via the front-door formula.


estimateTermId?

optional estimateTermId: string | null

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

Psi-term id of the persisted estimate (certified requests only).


identificationCertificateId?

optional identificationCertificateId: string | null

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

The identification certificate this estimate was gated on.


identificationProvenance?

optional identificationProvenance: string

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

How identification was established: certified (gated on a certificate plus the front-door criterion re-checked on the tenant’s graph) or caller_asserted (legacy).


method

method: string

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

The estimation method.


n

n: number

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

Number of observations used.


stdError

stdError: number

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

Bootstrap standard error.