Error message: Error in fn (x, ...): Downdated VtV is not positive definite

Thanks in advance to everyone who comes by. I saw this problem once in the archives, but I'm a little new to R, and I had problems understanding the problem and solution ...

I am trying to use the lmer function to create a minimal adequate model. My model is Mated ~ Size * Attempts * Status + (random coefficient).

as.logical(Mated)
as.numeric(Size)
as.factor(Attempts)
as.factor(Status)

(They all worked on previous models)

So, after everything I try to run my model:

Model1<-lmer(Mated ~ Size*Status*Attempts + (1|FemaleID),data=mydata)

And it can be sent without a glitch. This is only when I try to apply this update so that it goes wrong:

Model2<-update(Model1, REML=FALSE)

Here is the error message: Error in fn (x, ...): Downdated VtV is not positive definite

ANOVA , , .

Model3<-update(Model1,~.-Size:Status:Attempts
anova(Model1,Model3)

? ?

+4
1

Mated , , , glmer -, :

model <- glmer(Mated ~ Size * Status * Attempts + (1|FemaleID), 
data = mydata, family = binomial)

, , (head(mydata) , . , ).

, Mated (. , ). as.factor(Mated) .

anova().

+4

All Articles