Error in chol.default((value + t(value))/2) : the leading minor of order 2 is not positive definite

I am trying to run this :
#4. Between-person differences in within-person associations => Eating and Negative Interactions
model3.fit=lme(fixed= cognitions ~ 1 + behaviors.state + imean.behaviors,
random= ~ 1 + behaviors.state|Participant/Dyad.x,
data=day.data,
na.action=na.exclude)
summary(model3.fit)
tab_model(model3.fit)

And get the error. Could someone please help me ?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.