Skip to main content
added 217 characters in body; edited title
Source Link

LMER returns a boundary errorerrors, but Repeated Measures ANOVA on the same data doesn't, why?

everyone! So, I've been trying to fit a LMER for my data, which I fully described in this post . This post, therefore, is a follow-up from the previous one. There's something intriguing me, I don't get any errors when I run this ANOVA:

aov(SCORE ~ LANGUAGE * YEAR + Error(SUBJECT/LANGUAGE * YEAR), data = data)

but I'm getting the a non-converge error (model1) or a boundary error (specifically for the language variable) in this modelmodel2:

model1 <- lmer(SCORE ~ (YEAR * LANGUAGE | SUBJECT), data = data
boundaryError: number of observations (singular=80) fit:<= seenumber helpof random effects ('isSingular'=80) for term (YEAR * LANGUAGE | SUBJECT); the random-effects parameters and the residual variance (or scale parameter) are probably unidentifiable

or 

model2 <- lmer(SCORE ~ LANGUAGE * YEAR + (YEAR | SUBJECT) + (LANGUAGE|SUBJECT), data = data
boundary (singular) fit: see help('isSingular')

As far as I'm concerned, this lmer should resseamble the repeated measures ANOVA I've ran before, so why do I get an error for the model, but not for the Anova?

Any thoughts on it would be much appreciated. Thanks in advance!

LMER returns a boundary error, but Repeated Measures ANOVA on the same data doesn't, why?

everyone! So, I've been trying to fit a LMER for my data, which I fully described in this post . This post, therefore, is a follow-up from the previous one. There's something intriguing me, I don't get any errors when I run this ANOVA:

aov(SCORE ~ LANGUAGE * YEAR + Error(SUBJECT/LANGUAGE * YEAR), data = data)

but I'm getting the boundary error (specifically for the language variable) in this model:

lmer(SCORE ~ (YEAR * LANGUAGE | SUBJECT), data = data
boundary (singular) fit: see help('isSingular')
or
lmer(SCORE ~ LANGUAGE * YEAR + (YEAR | SUBJECT) + (LANGUAGE|SUBJECT), data = data
boundary (singular) fit: see help('isSingular')

As far as I'm concerned, this lmer should resseamble the repeated measures ANOVA I've ran before, so why do I get an error for the model, but not for the Anova?

Any thoughts on it would be much appreciated. Thanks in advance!

LMER returns errors, but Repeated Measures ANOVA on the same data doesn't, why?

everyone! So, I've been trying to fit a LMER for my data, which I fully described in this post . This post, therefore, is a follow-up from the previous one. There's something intriguing me, I don't get any errors when I run this ANOVA:

aov(SCORE ~ LANGUAGE * YEAR + Error(SUBJECT/LANGUAGE * YEAR), data = data)

but I'm getting the a non-converge error (model1) or a boundary error (specifically for the language variable) model2:

model1 <- lmer(SCORE ~ (YEAR * LANGUAGE | SUBJECT), data = data
Error: number of observations (=80) <= number of random effects (=80) for term (YEAR * LANGUAGE | SUBJECT); the random-effects parameters and the residual variance (or scale parameter) are probably unidentifiable

or 

model2 <- lmer(SCORE ~ LANGUAGE * YEAR + (YEAR | SUBJECT) + (LANGUAGE|SUBJECT), data = data
boundary (singular) fit: see help('isSingular')

As far as I'm concerned, this lmer should resseamble the repeated measures ANOVA I've ran before, so why do I get an error for the model, but not for the Anova?

Any thoughts on it would be much appreciated. Thanks in advance!

deleted 42 characters in body; edited title
Source Link
dipetkov
  • 10.7k
  • 2
  • 20
  • 56

LMER retunsreturns a boundary error, but Repeated Measures ANOVA on the same data doesn't, why?

added 10 characters in body
Source Link

everyone! So, I've been trying to fit a LMER for my data, which I fully described in this post . This post, therefore, is a follow-up from the previous one. There's something intriguing me, I don't get any errors when I run this ANOVA:

aov(SCORE ~ LANGUAGE * YEAR + Error(SUBJECT/LANGUAGE * YEAR), data = data)

but I'm getting the boundary error (specifically for the language variable) in this model:

lmer(SCORE ~ (YEAR * LANGUAGE | SUBJECT), data = data
boundary (singular) fit: see help('isSingular')
or
lmer(SCORE ~ LANGUAGE * YEAR + (YEAR | IDSUBJECT) + (LANGUAGE|IDLANGUAGE|SUBJECT), data = data
boundary (singular) fit: see help('isSingular')

As far as I'm concerned, this lmer should resseamble the repeated measures ANOVA I've ran before, so why do I get an error for the model, but not for the Anova?

Any thoughts on it would be much appreciated. Thanks in advance!

everyone! So, I've been trying to fit a LMER for my data, which I fully described in this post . This post, therefore, is a follow-up from the previous one. There's something intriguing me, I don't get any errors when I run this ANOVA:

aov(SCORE ~ LANGUAGE * YEAR + Error(SUBJECT/LANGUAGE * YEAR), data = data)

but I'm getting the boundary error (specifically for the language variable) in this model:

lmer(SCORE ~ (YEAR * LANGUAGE | SUBJECT), data = data
boundary (singular) fit: see help('isSingular')
or
lmer(SCORE ~ LANGUAGE * YEAR + (YEAR | ID) + (LANGUAGE|ID), data = data
boundary (singular) fit: see help('isSingular')

As far as I'm concerned, this lmer should resseamble the repeated measures ANOVA I've ran before, so why do I get an error for the model, but not for the Anova?

Any thoughts on it would be much appreciated. Thanks in advance!

everyone! So, I've been trying to fit a LMER for my data, which I fully described in this post . This post, therefore, is a follow-up from the previous one. There's something intriguing me, I don't get any errors when I run this ANOVA:

aov(SCORE ~ LANGUAGE * YEAR + Error(SUBJECT/LANGUAGE * YEAR), data = data)

but I'm getting the boundary error (specifically for the language variable) in this model:

lmer(SCORE ~ (YEAR * LANGUAGE | SUBJECT), data = data
boundary (singular) fit: see help('isSingular')
or
lmer(SCORE ~ LANGUAGE * YEAR + (YEAR | SUBJECT) + (LANGUAGE|SUBJECT), data = data
boundary (singular) fit: see help('isSingular')

As far as I'm concerned, this lmer should resseamble the repeated measures ANOVA I've ran before, so why do I get an error for the model, but not for the Anova?

Any thoughts on it would be much appreciated. Thanks in advance!

deleted 42 characters in body; edited title
Source Link
dipetkov
  • 10.7k
  • 2
  • 20
  • 56
Loading
Source Link
Loading