Skip to content

Interface: DensityRatioDiagnosticDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Causal / DensityRatioDiagnosticDto

Interface: DensityRatioDiagnosticDto

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

Density-ratio positivity diagnostic for shift interventions.

Properties

adequate

adequate: boolean

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

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


fractionExtreme

fractionExtreme: number

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

Fraction of units with ratio above 10.


maxRatio

maxRatio: number

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

Largest fitted density ratio in the sample.


meanRatio

meanRatio: number

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

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