Skip to content
Prev 3686 / 20628 Next

Another case of -1.0 correlation of random effects

Kevin E. Thorpe wrote:
Okay, I now have lme4a installed and I get an error message when I do 
(note: this is the same model from my OP):

 > gluc.lmer1a <- 
lmer(iAUC~Dose+(Dose|Subject),data=gluc,subset=Treatment=="Oat",REML=FALSE)

 > gluc.lmer1a
Linear mixed model fit by maximum likelihood  ['lmer']
Formula: iAUC ~ Dose + (Dose | Subject)
    Data: gluc
  Subset: Treatment == "Oat"
      AIC      BIC   logLik deviance
    575.1    586.3   -281.6    563.1

Random effects:
  Groups   Name        Variance Std.Dev. Corr
  Subject  (Intercept) 7492.19  86.557
           Dose          14.68   3.831   -1.000
  Residual             4727.27  68.755
Number of obs: 48, groups: Subject, 12

Fixed effects:
             Estimate Std. Error t value
(Intercept)  309.352     29.338  10.544
Dose         -14.424      3.533  -4.083

Correlation of Fixed Effects:
      (Intr)
Dose -0.647

 > pr1 <- profile(gluc.lmer1a at env)  ## using @env base on other threads
Error in x[ndat + (1L:deg) - deg] :
   only 0's may be mixed with negative subscripts

Is this because I'm trying to profile a model that profile() cannot 
handle yet, or does it indicate there really are serious problems with 
my model?

I'm at a loss as to how determine what is really going on with these data.

Kevin

Thread (28 messages)

Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 9 Ben Bolker Another case of -1.0 correlation of random effects Apr 9 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 9 Ken Knoblauch Another case of -1.0 correlation of random effects Apr 9 Ben Bolker Another case of -1.0 correlation of random effects Apr 9 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 9 Viechtbauer Wolfgang (STAT) Another case of -1.0 correlation of random effects Apr 9 Jarrod Hadfield Another case of -1.0 correlation of random effects Apr 9 Ken Knoblauch Another case of -1.0 correlation of random effects Apr 9 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 9 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 12 Douglas Bates Another case of -1.0 correlation of random effects Apr 12 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 12 Viechtbauer Wolfgang (STAT) Another case of -1.0 correlation of random effects Apr 12 Douglas Bates Another case of -1.0 correlation of random effects Apr 12 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 13 Ben Bolker Another case of -1.0 correlation of random effects Apr 13 Douglas Bates Another case of -1.0 correlation of random effects Apr 13 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 13 Ben Bolker Another case of -1.0 correlation of random effects Apr 13 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 13 Douglas Bates Another case of -1.0 correlation of random effects Apr 13 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 13 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 15 Andrew Dolman Another case of -1.0 correlation of random effects Apr 16 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 16 Andrew Dolman Another case of -1.0 correlation of random effects Apr 16 Kevin E. Thorpe Another case of -1.0 correlation of random effects Apr 16