Skip to contents

Sections:

  1. Aggregate Ruhela formulations grid

  2. (Optional) per-row Ruhela formulations on a01/b01/b02

  3. MRM chi-square family on c-series + d-series

  4. Mandela-RF cross-comparison (provincial vs federal)

Usage

morie_otis_analyze_ruhela_master(
  datasets,
  include_per_row = FALSE,
  out_dir = NULL
)

Arguments

datasets

Named list of OTIS data.frames.

include_per_row

Logical; if TRUE also runs the slow per-row RFs. Default FALSE.

out_dir

Optional output directory.

Value

morie_otis_analysis_result.

Examples

# \donttest{
datasets_list <- list(b03 = morie_synth_otis("b03", n = 120L, seed = 1L),
                      c01 = morie_synth_otis("c01", n = 120L, seed = 1L))
morie_otis_analyze_ruhela_master(datasets_list)
#> OTIS Ruhela formulations -- paper-ready master report (provincial + federal-aggregate companion)
#> ================================================================================================
#>   Sections                     2
#>   Aggregate RFs                24 (b03-b09 + c01-c12 + d02-d05 + region-cluster variants)
#>   Per-row RFs included         FALSE
#>   MRM chi-square               c-series + d-series families
#>   Methodology attribution      MRM (Multilevel Reconciliation Methodology)
#>   Acknowledgements (separate)  Jauregui, A. Laniyonu
#> 
#> section 1 Aggregate Ruhela formulations -- primary IRR per dataset:
#>   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                                                  --      --              --        --
#> 
#> section 3 MRM chi-square family -- Pearson chi^2 + Cramer's V on aggregate tables:
#>   Series    Slice/measure  chi^2                                  dof  p    Cramer's V
#>   ------------------------------------------------------------------------------------
#>   c-series  c03            Race x Gender                          0    n/a  0
#>   c-series  c04            Race x Region_MostRecentPlacement      0    n/a  0
#>   c-series  c05            Religion x Region_MostRecentPlacement  0    n/a  0
#> 
#> Master report compiling every Ruhela formulation analyzer shipped in morie. Sections: aggregate IRR grid (cluster-robust where high-cardinality grouping applies); per-row IRM-DML ATE on a01/b01/b02 (when include_per_row=TRUE); MRM chi^2 on c-series + d-series; Mandela-RF cross-comparison. 
# }