
a01-aware wrapper for the Ruhela alert -> volatility builder.
Source:R/otis_causal.R
morie_otis_make_pair_alert_to_volatility_a01.RdSame as morie_otis_make_pair_alert_to_volatility_ruhela() but
auto-loads a01 (Restrictive Confinement Detailed) via the registered
morie_otis_load() loader when df = NULL. a01 is the
canonical file the published OTIS-RC res_pool /
res_by_year / res_all are computed on.
Arguments
- df
Optional OTIS a01 data.frame. If
NULL, attempts to resolve viamorie_otis_load().
Value
Same shape as
morie_otis_make_pair_alert_to_volatility_ruhela().
Examples
# \donttest{
morie_otis_make_pair_alert_to_volatility_a01()
#> $data
#> UniqueIndividual_ID EndFiscalYear Gender Age_Category regA regB ac vm
#> 1 2022-SYNTH-001-RC 2022 Male 25 to 49 Toronto Toronto 1 0
#> 2 2022-SYNTH-002-RC 2022 Female 18 to 24 Eastern Eastern 1 0
#> 3 2023-SYNTH-003-RC 2023 Male 50 to 64 Central Central 1 0
#> 4 2023-SYNTH-004-RC 2023 Male 25 to 49 Western Western 1 0
#> 5 2024-SYNTH-005-RC 2024 Female 50 to 64 Northern Northern 1 0
#> T_high_ac Y_vm_count
#> 1 0 0
#> 2 0 0
#> 3 0 0
#> 4 0 0
#> 5 0 0
#>
#> $T
#> [1] "T_high_ac"
#>
#> $Y
#> [1] "Y_vm_count"
#>
#> $covariates
#> [1] "Gender" "Age_Category" "EndFiscalYear"
#>
# }