Skip to contents

c09 aggregate Ruhela: Age 50+ x gender -> RC.

Usage

morie_otis_analyze_c09_ruhela_aggregate(data, out_dir = NULL)

morie_otis_analyze_c09_mrm_aggregate(data, out_dir = NULL)

Arguments

data

c09 data.frame.

out_dir

Optional.

Value

morie_otis_analysis_result.

Examples

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