Essentially comparing:
glm1 = glmer(Mortality ~ CCI + PatientRace + PatientSex + age_cat + (CCI | FacilityIdentifier),
data = tmp, family = binomial,
control = glmerControl(optimizer = "bobyqa"), nAGQ = 1)
to
m1 = glm(Mortality ~ CCI + PatientRace + PatientSex + age_cat,
family=binomial, data = tmp)
To determine if the random effect is a significant contributor, hopefully to show that each facility doesn't have varying practices in measuring CCI that may affect interpretation of mortality. Would appreciate any advice.