Skip to content

Interface: DiDValidationRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Causal / DiDValidationRequest

Interface: DiDValidationRequest

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

Request to validate a Difference-in-Differences design.

Remarks

The design is checked against the causal structure the backend builds from the tenant’s homoiconic rules — no sample data is submitted, only the variable names that play each role.

Properties

covariates?

optional covariates: string[]

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

Conditioning set (covariates). Omit for an unconditional design — the backend defaults it to the empty set. Members that turn out to be bad controls are reported back in DiDValidationResponse.badControls.


outcomePost

outcomePost: string

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

Post-treatment outcome variable.


outcomePre

outcomePre: string

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

Pre-treatment outcome variable.


treatment

treatment: string

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

The treatment variable.