
b04 aggregate Ruhela: Female -> median seg duration
Source:R/otis_all_analyze.R
morie_otis_analyze_b04_ruhela_aggregate.Rdb04 aggregate Ruhela: Female -> median seg duration
Usage
morie_otis_analyze_b04_ruhela_aggregate(data, out_dir = NULL)
morie_otis_analyze_b04_mrm_aggregate(data, out_dir = NULL)Examples
# \donttest{
otis_b04 <- morie_synth_otis("b04", n = 120L, seed = 1L)
morie_otis_analyze_b04_ruhela_aggregate(otis_b04)
#> OTIS b04 -- Aggregate Ruhela formulation: Female -> median consecutive seg duration
#> ===================================================================================
#> Source file b04_segregation_placements_consecutive_durations_by_region.csv
#> Dataset id b04
#> Treatment column T_female
#> Outcome (count) NumberConsecutiveDays_Segregation
#> Year FE EndFiscalYear
#> Covariate FEs Region_AtTimeOfPlacement
#> Cluster group (GEE) --
#> Cells 37
#> Total outcome count 1467
#> Overdispersion (Poisson AIC - NB AIC) 275.9
#>
#> Aggregate Ruhela formulation -- Poisson + NB IRR for treatment effect on count outcome:
#> Family Coefficient IRR 95% CI p-value AIC Notes
#> ---------------------------------------------------------------------------------------
#> Poisson factor(T_female)1 1.0199 [0.886, 1.174] 7.84e-01 634.4 n=37, total_y=1467
#> NB factor(T_female)1 1.0324 [0.579, 1.839] 9.14e-01 358.5 n=37, total_y=1467
#>
#> Aggregate RF on b04 testing gender disparity in the MEDIAN consecutive duration of segregation placements, by region.
#>
#> 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.
# }