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
diagt commandGood day, I am using diagt command on Stata 14.2 and I am interested in PPV. I am not sure which one…
Margins interaction variables Beta regressionDear Statalisters, I am running a regression with proportions as dependent variable. In the beta re…
Dummy based on other dummy variable (PANEL DATA)Hi, Stata. I want to create the wanted dummy to equal 1 if scaledummy is equal 1 in 3 continuous ye…
Generating a dummy for a measurement change in one independent variableDear Statalist, I am currently writing my dissertation and have encountered some difficulties that …
Multiple imputation with panel dataHello everyone, I have a panel dataset with daily data on covid-19 outcomes at country level and ot…
Subscribe to:
Post Comments (Atom)
0 Response to Using estat icc as postestimation after melogit
Post a Comment