CaCu PIM: the estimand says what the number is, not how its interval is computed
The interval's method (delta method on the log scale) is the version's subgroup report's; the screens that show the estimand don't need it.
This commit is contained in:
@@ -271,7 +271,7 @@ 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 {"description", "outcome", "index_date", "interval"} <= set(SCENARIO.estimand)
|
||||
assert {"description", "outcome", "index_date"} <= set(SCENARIO.estimand) and "interval" not in SCENARIO.estimand
|
||||
|
||||
|
||||
def test_each_stratum_gets_its_own_mixture_and_an_unseen_one_gets_no_risk(cohort_frame):
|
||||
|
||||
Reference in New Issue
Block a user