Skip to contents

OTIS 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.

Usage

morie_otis_analyze_b05_ruhela_aggregate(data, out_dir = NULL)

Arguments

data

b05 data.frame.

out_dir

Optional output directory (unused, accepted for parity with sibling aggregators).

Value

morie_otis_analysis_result carrying a "not applicable" note in warnings.

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. 
# }