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.
Related Posts with Using estat icc as postestimation after melogit
An indicator variableHi everyone, I have a dataset including over 500 firms that have CEO changes based on CEO_ID and la…
Interpretation of probit post-estimation testHi Statalisters, I have a question about interpreting post-estimation tests in Stata. Suppose I est…
changing numeric string to numeric variable where e5 next to a number means 10^5I have a string variable of the type show below, where 63e5 represents 6300000. How do I change it 6…
Help! How do I use the command collapse? Hi, I have a question about an exercise we did in my econometrics class. I have this database of te…
Putdocx and loopingDear list, I have three variables called Sex (coded as male/female), HTN (yes/no) and Cancer (yes/n…
Subscribe to:
Post Comments (Atom)
0 Response to Using estat icc as postestimation after melogit
Post a Comment