Is my hierarchal model set up correctly?

Yes, I think that’s the case. You’ll have to index somewhere to extract the residuals. If there were equal numbers of observations per player, there would likely be a cleaner solution but that does not appear to be true here.

2 Likes