Skip to contents

The canonical formulation on male (non-female) person-years only, without the gender covariate.

Usage

morie_otis_analyze_a01_ruhela_subgroup_male(data = NULL, out_dir = NULL)

morie_otis_analyze_a01_mrm_subgroup_male(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_subgroup_male(a01)
r$tables[[1L]]$rows[[1L]]
#> [1] "1. IPW (Hajek)"                "ATE"                          
#> [3] "+1.9108"                       "0.2606"                       
#> [5] "[+1.400, +2.422]"              "2.28e-13"                     
#> [7] "calibration=none, Brier=0.135"
# }