Interface: DensityRatioDiagnosticDto
@kortexya/reasoninglayer / DensityRatioDiagnosticDto
Interface: DensityRatioDiagnosticDto
Section titled “Interface: DensityRatioDiagnosticDto”Defined in: src/types/causal.ts:547
Density-ratio positivity diagnostic for shift interventions.
Properties
Section titled “Properties”adequate
Section titled “adequate”adequate:
boolean
Defined in: src/types/causal.ts:549
Whether the ratios are usable (neither exploding nor vanishing).
fractionExtreme
Section titled “fractionExtreme”fractionExtreme:
number
Defined in: src/types/causal.ts:551
Fraction of units with ratio above 10.
maxRatio
Section titled “maxRatio”maxRatio:
number
Defined in: src/types/causal.ts:553
Largest fitted density ratio in the sample.
meanRatio
Section titled “meanRatio”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).