
c03 aggregate Ruhela: Indigenous -> RC
Source:R/otis_all_analyze.R
morie_otis_analyze_c03_ruhela_aggregate.Rdc03 aggregate Ruhela: Indigenous -> RC
Usage
morie_otis_analyze_c03_ruhela_aggregate(data, out_dir = NULL)
morie_otis_analyze_c03_mrm_aggregate(data, out_dir = NULL)Examples
# \donttest{
otis_c03 <- morie_synth_otis("c03", n = 120L, seed = 1L)
morie_otis_analyze_c03_ruhela_aggregate(otis_c03)
#> OTIS c03 -- Aggregate RF: Indigenous -> Individuals in RC
#> =========================================================
#> Source file c03_individuals_in_segregation_and_restrictive_confinement_race_by_gender.csv
#> Dataset id c03
#> Treatment column T_indigenous
#> Outcome (count) NumberIndividuals_RestrictiveConfinement
#> Year FE EndFiscalYear
#> Covariate FEs Gender
#> Cluster group (GEE) --
#> Cells 120
#> Total outcome count 4395
#> Overdispersion (Poisson AIC - NB AIC) 1582.5
#>
#> Aggregate Ruhela formulation -- Poisson + NB IRR for treatment effect on count outcome:
#> Family Coefficient IRR 95% CI p-value AIC Notes
#> ---------------------------------------------------------------------------------------------
#> Poisson factor(T_indigenous)1 1.0645 [0.965, 1.174] 2.11e-01 2696.8 n=120, total_y=4395
#> NB factor(T_indigenous)1 1.1173 [0.675, 1.849] 6.66e-01 1114.3 n=120, total_y=4395
#>
#> Aggregate RF on c03 testing Indigenous overrepresentation in RC; quantifies the population-level IRR.
#>
#> IRR > 1 ==> treatment increases the count rate; IRR < 1 ==> treatment decreases it. Concordance between Poisson and NB indicates equidispersion; large gap (Poisson AIC > NB AIC) indicates overdispersion -- trust NB.
# }