Skip to content

Interface: FrontDoorResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / FrontDoorResponse

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

The estimated front-door effect with bootstrap inference.

ciLower: number

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

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


ciUpper: number

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

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


effect: number

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

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


optional estimateTermId?: string | null

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

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


optional identificationCertificateId?: string | null

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

The identification certificate this estimate was gated on.


optional identificationProvenance?: string

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

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

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

The estimation method.


n: number

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

Number of observations used.


stdError: number

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

Bootstrap standard error.