CaCu PIM estimands: a probability, its covariates, and the surveillance index in short
The quantity is "Probabilidad"; each scenario names the covariates it uses, which the patient's record writes under the table; the surveillance and cancer scenarios name their index as the latest cytology with cytology and HPV results.
This commit is contained in:
@@ -270,7 +270,8 @@ def test_the_interval_brackets_the_same_risk(cohort_frame):
|
||||
def test_the_scenario_says_what_its_number_is():
|
||||
"""Pins down: `[estimand]` reaches the scenario with what the screens show next to each risk. Fails if the key is
|
||||
renamed or `Scenario.from_toml` stops reading it."""
|
||||
assert SCENARIO.estimand["quantity"] == "Riesgo acumulado" and SCENARIO.estimand["horizons_unit"] == "años"
|
||||
assert SCENARIO.estimand["quantity"] == "Probabilidad" and SCENARIO.estimand["horizons_unit"] == "años"
|
||||
assert "KPNC" in SCENARIO.estimand["covariates"]
|
||||
assert {"description", "outcome", "index_date"} <= set(SCENARIO.estimand) and "interval" not in SCENARIO.estimand
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user