### Order of Predicted Residuals with Multiple Random Slopes

Posted:

**Wed Dec 02, 2020 8:30 pm**Hi Chris, George, and everyone,

When running a model with multiple random slopes and getting the Empirical Bayes predictions, is there a way to tell how the newly produced residual variables map onto the intercept and slopes?

I am running the following model:
Once MLwiN finishes running, I get six new variables corresponding to the residuals - uc0, uc1, and uc2. I assumed uc0 would be the intercept but it clearly is not given the range of values whereas it looks like uc2 gives the EB predictions for the intercept (cons). Is there a systematic way that MLwiN assigns the the variable names for residuals when transferring them to Stata?

Thanks,

Erik

When running a model with multiple random slopes and getting the Empirical Bayes predictions, is there a way to tell how the newly produced residual variables map onto the intercept and slopes?

I am running the following model:

Code: Select all

```
runmlwin RIT time time2, level3(first_school: cons time time2) ///
level2(student: cons time time2, residuals(uc)) level1(obs: cons) nopause
```

Thanks,

Erik