Skip to content

Interface: FrontDoorResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / FrontDoorResponse

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

The estimated front-door effect with bootstrap inference.

ciLower: number

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

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


ciUpper: number

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

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


effect: number

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

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

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


optional identificationCertificateId?: string | null

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

The identification certificate this estimate was gated on.


optional identificationProvenance?: string

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

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

The estimation method.


n: number

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

Number of observations used.


stdError: number

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

Bootstrap standard error.