Skip to contents

b03 aggregate Ruhela: Alert presence -> seg placements.

Usage

morie_otis_analyze_b03_ruhela_aggregate(data, out_dir = NULL)

morie_otis_analyze_b03_mrm_aggregate(data, out_dir = NULL)

Arguments

data

b03 data.frame.

out_dir

Optional.

Value

morie_otis_analysis_result.

Examples

# \donttest{
otis_b03 <- morie_synth_otis("b03", n = 120L, seed = 1L)
morie_otis_analyze_b03_ruhela_aggregate(otis_b03)
#> OTIS b03 -- Aggregate Ruhela formulation: Alert presence -> Number of segregation placements
#> ============================================================================================
#>   Source file                            b03_segregation_placements_alerts_and_hold_flags_by_institution.csv
#>   Dataset id                             b03
#>   Treatment column                       T_alert
#>   Outcome (count)                        Number_SegregationPlacements
#>   Year FE                                EndFiscalYear
#>   Covariate FEs                          Alert_Type, Region_AtTimeOfPlacement
#>   Cluster group (GEE)                    Institution_AtTimeOfPlacement
#>   Cells                                  120
#>   Total outcome count                    4895
#>   Overdispersion (Poisson AIC - NB AIC)  1216.6
#> 
#> Aggregate Ruhela formulation on b03 testing whether alert-flagged person-cells receive more segregation placements than no-alert cells.
#> 
#> 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. 
# }