This works fine:
lme(fixed=target~target_projection, random= ~ 1|CLINICIAN_USER_ID, data=study_pop)
But if I try to let the slopes vary:
lme(fixed=target~target_projection, random= ~ target|CLINICIAN_USER_ID, data=study_pop)
I get the following error:
Error during wrapup: the leading minor of order 2 is not positive definite
My data set should be large enough, the second level of the model breaks into 60 groups with 30 data points each, what could be causing this?