I am trying to estimate the group residuals (RE) of the following simple model:

HTML Code:

Y_{ij} = f( X_{ij}b + a_{j} + e_{ij})

May idea is running a ordered logit re regression, estimating the predicted posterior means (a_{j}) and then use simulations to get

HTML Code:

E[a_{j} | Y_{ij}, X_{ij}b].

Thanks,

Luis

## Leave a comment: