Skip to contents

T = placement region Toronto, Y = regional-volatility count, adjusting for gender, age band and fiscal year; full DLRM ensemble.

Usage

morie_otis_analyze_a01_ruhela_alt_toronto(data = NULL, out_dir = NULL)

morie_otis_analyze_a01_mrm_alt_toronto(data = NULL, out_dir = NULL)

Arguments

data

The OTIS a01 table. NULL uses morie_otis_load(): the table cached by morie_datasets_otis_a01(offline = FALSE), or else the included 5-row synthetic sample, with a warning that its numbers are not findings.

out_dir

Optional directory for the text and JSON rendering.

Value

morie_otis_analysis_result.

Examples

# \donttest{
a01 <- morie_synth_otis("a01", n = 300L, seed = 1L)
r <- morie_otis_analyze_a01_ruhela_alt_toronto(a01)
r$tables[[1L]]$rows[[1L]]
#> [1] "1. IPW (Hajek)"                "ATE"                          
#> [3] "+0.0482"                       "0.1757"                       
#> [5] "[-0.296, +0.393]"              "7.84e-01"                     
#> [7] "calibration=none, Brier=0.179"
# }