Dear all,

I am running a multilevel mixed effects logistic regression model using melogit. I want to use the postestimation estat icc to get an output for the intracluster correlation cofficient for each level of the random effects (I have two levels). According to the stata manual, the command estat icc is for use after estimation with mixed, meintreg, metobit, melogit, meqrlogit, and meprobit. However, when I run the command written below, I get this reply: requested action not valid after most recent estimation command r(321);.
I use STATA 15.

Command:

meologit bloedning treat##tiddataindsamling oest_vest##tiddataindsamling iv_foedsler##tiddataindsamling ib2.alder_kat_3 i.par_kat i.kons_ny ib2.GA_kat || hospital_samtykke: || hospital_samtykke_tid:, or

estat icc

Does anyone know why this error occurs and how to be able to compute the ICC after my regression model?

Kind regards,
Trine Damsted.