Skip to contents

Runs every aggregate Ruhela formulation analyzer against the supplied named datasets list and presents a single primary-IRR comparison table (GEE cluster-robust > NB GLM > Poisson GLM).

Usage

morie_otis_analyze_ruhela_grid(datasets, out_dir = NULL)

Arguments

datasets

Named list keyed by dataset id (b03..d05).

out_dir

Optional output directory.

Value

morie_otis_analysis_result.

Examples

# \donttest{
otis_b03 <- morie_synth_otis("b03", n = 120L, seed = 1L)
otis_c01 <- morie_synth_otis("c01", n = 120L, seed = 1L)
morie_otis_analyze_ruhela_grid(list(b03 = otis_b03, c01 = otis_c01))
#> OTIS Ruhela formulations grid summary -- one-page IRR/ATE comparison across all aggregate RF analyzers
#> ======================================================================================================
#>   Aggregate datasets covered  24
#>   Per-row datasets covered    see analyze_a01/b01/b02_ruhela_formulations + alt-T variants
#>   MRM chi^2 datasets (c, d)   see analyze_c_chi2 / analyze_d_chi2
#>   Primary estimator priority  GEE-NB > GEE-Poisson > NB GLM > Poisson GLM
#> 
#> Aggregate Ruhela formulations -- primary IRR per dataset (GEE cluster-robust > NB GLM):
#>   DS      Type                   Formulation                                                   IRR     95% CI          p         Notes
#>   ---------------------------------------------------------------------------------------------------------------------------------------------------
#>   b03     GEE-Poisson (cluster)  OTIS b03 -- Aggregate Ruhela formulation: Alert presence ->   0.9486  [0.723, 1.244]  7.03e-01  groups=25, n_obs=120
#>   b04     --                     missing data                                                  --      --              --        --
#>   b06     --                     missing data                                                  --      --              --        --
#>   b07     --                     missing data                                                  --      --              --        --
#>   b08     --                     missing data                                                  --      --              --        --
#>   b09     --                     missing data                                                  --      --              --        --
#>   c01     NB GLM                 OTIS c01 -- Aggregate Ruhela formulation: Female -> Individu  0.9117  [0.685, 1.214]  5.27e-01  n=120, total_y=4579
#>   c01-RC  GEE-Poisson (cluster)  OTIS c01 -- Aggregate RF, year-clustered: Female -> Individu  0.898   [0.737, 1.095]  2.87e-01  groups=7, n_obs=120
#>   c02     --                     missing data                                                  --      --              --        --
#>   c03     --                     missing data                                                  --      --              --        --
#>   c04     --                     missing data                                                  --      --              --        --
#>   c04-RC  --                     missing data                                                  --      --              --        --
#>   c05     --                     missing data                                                  --      --              --        --
#>   c06     --                     missing data                                                  --      --              --        --
#>   c07     --                     missing data                                                  --      --              --        --
#>   c08     --                     missing data                                                  --      --              --        --
#>   c09     --                     missing data                                                  --      --              --        --
#>   c10     --                     missing data                                                  --      --              --        --
#>   c11     --                     missing data                                                  --      --              --        --
#>   c12     --                     missing data                                                  --      --              --        --
#>   d02     --                     missing data                                                  --      --              --        --
#>   d03     --                     missing data                                                  --      --              --        --
#>   d04     --                     missing data                                                  --      --              --        --
#>   d05     --                     missing data                                                  --      --              --        --
#> 
#> One-page comparison of every aggregate Ruhela formulation currently shipped. Primary IRR is the GEE cluster-robust estimate when available; otherwise the NB GLM estimate. 
# }