Skip to contents

c06 aggregate Ruhela: Age 50+ -> RC.

Usage

morie_otis_analyze_c06_ruhela_aggregate(data, out_dir = NULL)

morie_otis_analyze_c06_mrm_aggregate(data, out_dir = NULL)

Arguments

data

c06 data.frame.

out_dir

Optional.

Value

morie_otis_analysis_result.

Examples

# \donttest{
otis_c06 <- morie_synth_otis("c06", n = 120L, seed = 1L)
morie_otis_analyze_c06_ruhela_aggregate(otis_c06)
#> OTIS c06 -- Aggregate RF: Age 50+ -> Individuals in RC, by region
#> =================================================================
#>   Source file                            c06_individuals_in_segregation_and_restrictive_confinement_age_category_by_region.csv
#>   Dataset id                             c06
#>   Treatment column                       T_50plus
#>   Outcome (count)                        NumberIndividuals_RestrictiveConfinement
#>   Year FE                                EndFiscalYear
#>   Covariate FEs                          Region_MostRecentPlacement
#>   Cluster group (GEE)                    --
#>   Cells                                  120
#>   Total outcome count                    4403
#>   Overdispersion (Poisson AIC - NB AIC)  1506.7
#> 
#> Aggregate RF on c06: age-50+ overrepresentation 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. 
# }