An EEG's relation says why a weak estimate is weak, and composites and exploratory pairs

This commit is contained in:
Roberto Treviño
2026-12-06 04:07:13 -06:00
parent 0f1c59a35f
commit 167681b11e
+7 -5
View File
@@ -44,19 +44,21 @@ class Relation(BaseModel):
biomarker: str
metric: str
zone: str
outcome_code: str # ados2_item_NN or CSS
kind: str # item or domain
event: str # what counts as altered (>=1 for an item, >=8 for the CSS)
z: float
outcome_code: str # ados2_item_NN, ados2_items_NN_MM (any of them altered) or CSS
kind: str # item, composite, exploratory (an item, apart from q) or domain
event: str # what counts as altered (>=2 for an item, >=8 for the CSS)
z: float # her z, or for spikes whether she shows any (1) or not (0)
probability: float
reference_probability: float # a child of her age and module with z = 0
observed: float | None = None # what her ADOS-2 shows: the item's score, or the CSS
observed: float | None = None # what her ADOS-2 shows: the item's score, how many of a
# composite's items are altered, or the CSS
odds_ratio: float
ci_low: float | None
ci_high: float | None
q: float | None
n: float
model: str
reason: str | None = None # why the estimate is weak (core.tea.reasons.INSUFFICIENT_DATA)
class Analysis(BaseModel):