
b05 aggregate Ruhela: schema-no-demographic guard.
Source:R/otis_all_analyze.R
morie_otis_analyze_b05_ruhela_aggregate.RdOTIS b05 (segregation placements by consecutive duration) does
not carry a demographic treatment variable – the published
schema is just EndFiscalYear, Consecutive_Duration,
Number_SegregationPlacements. The "Ruhela formulation" presumes
a binary treatment column (typically Gender, Race, or alert
status) for the aggregate RF test, so b05 has no meaningful
aggregate Ruhela analysis on its own. Returns a structured
"not applicable" wrapper rather than erroring so dispatcher
loops over the b03..b09 family stay green.
Examples
# \donttest{
otis_b05 <- morie_synth_otis("b05", n = 120L, seed = 1L)
morie_otis_analyze_b05_ruhela_aggregate(otis_b05)
#> b05 aggregate Ruhela
#> ====================
#> Warning: b05 has no demographic treatment column (Gender / Race / Alert) in the published schema, so the Ruhela aggregate RF formulation is not applicable here. Use the b05 panel for consecutive-duration histograms instead.
#> OTIS b05 -- aggregate Ruhela formulation: not applicable. b05 publishes Consecutive_Duration counts only, with no demographic treatment column to contrast against.
# }