Constructing the random effects model matrix Z

Speaking on which. I made a small mistake and I set the same sigma_Z for both intercept and slope of the random effect. Now, instead, I declared sigma_Z_intercept and sigma_Z_slope. The predictions are way better. Before the slope was not allow to vary, hence the prediction for subject 309 (for example) was off. I updated the notebook. I should clean it up and post it somewhere (sometime :slight_smile: )

2 Likes