Skip to content

Interface: DensityRatioDiagnosticDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / DensityRatioDiagnosticDto

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

Density-ratio positivity diagnostic for shift interventions.

adequate: boolean

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

Whether the ratios are usable (neither exploding nor vanishing).


fractionExtreme: number

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

Fraction of units with ratio above 10.


maxRatio: number

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

Largest fitted density ratio in the sample.


meanRatio: number

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

Sample mean of the ratios (theoretical value 1 under a correct treatment density; far from 1 means the policy walked off the observed support).