Q:

Mixed Effects, Doctors & Operations: predicting on new data containing previously unobserved levels, and updating our confidence accordingly

Here's a
question I've been trying to answer for a while now.
I have a dataset of patients, and I'm trying to predict the outcome of a surgery.
The dataset is split into two parts:

Training data, which contains the outcome of the surgery for each patient.
Test data, which contains the