Dear all,
I learned from Statalist that we could use the following formula to calculate icc after meologit regression (by Stata 15.1):
ICC= var_u/(var_u + (pi)^2/3)
But my question is what if the second level control has more than one variable? How should this formula be?
My code is :meologit urbani A1b A0 marriage i.educat4 occu_prof hhwealth hukou_cat32 hukou_cat33 hukou_out_town_impute1 [pw=weight_temp_use] || gbcode: sample_urbaning pilot1 , nolog
As can be seen that are three second-level variable control: country id (gbcide); urban sample(sample_urbaning); and policy pilot(pilot1)
and the variance of second-level data are shown in the table:
Array
Array
Then how could I calculate icc?
Thank you for your help!
Related Posts with Calculate ICC after meologit_mixed effect ordered logistic regression
how to realize the LMtest and wald test of spatial panel data in stata?hey everyone, do you know how to realize the LMtest and wald test of spatial panel data in stata? an…
dividing variable with lagged variableI am getting back to STATA after a very long time and is having some difficulties. I want to create …
Estout: How to get rid of "Main" on top of the variable list when using esttab?Hi all, I want to get rid of the "main" writing on top of my list of variables in the regression tab…
percentage change of lagged variableI have another related query on generating lagged variables. My regression model looks like this: In…
Creating an adjacency matrix from two columnsDear Statalists, I have 2 columns (id and course) I would like to create two types of adjacency ma…
Subscribe to:
Post Comments (Atom)
0 Response to Calculate ICC after meologit_mixed effect ordered logistic regression
Post a Comment