runehaubo / lmerTestR

Repository for the R-package lmerTest
48 stars 9 forks source link

Unnecessary message #19

Closed meierluk closed 3 years ago

meierluk commented 5 years ago

The following R-code produces an unnecessary message due to a centered continuous predictor.

data("Orthodont", package = "nlme")

library(lmerTest)

Orthodont[,"age"] <- Orthodont[,"age"] - 11 ## center the time covariate

fit <- lmer(distance ~ Sex * age + (age | Subject), data = Orthodont)
anova(fit)
Missing cells for: age, SexMale:age, SexFemale:age.  
Interpret type III hypotheses with care.
runehaubo commented 5 years ago

Thanks for mentioning - I'll take a look.

/Rune

nefears commented 4 years ago

Was the reason for this error ever determined?

TheDom42 commented 4 years ago

I ran into the same issue the other day. Is this an actually unnecessary/incorrect warning or is this something one should worry about because it points to an issue in calculation? Put differently: can I ignore it as long as I know that my data does not actually contain any NAs?

meierluk commented 4 years ago

I think the calculations are fine.

meierluk commented 3 years ago

@runehaubo : Did you ever find out something regarding this issue?

runehaubo commented 3 years ago

@meierluk thanks for your persistency - this is now fixed.

Cheers Rune

meierluk commented 3 years ago

@runehaubo Nice, thanks a lot