Skip to content

Zero random effect variance?

6 messages · Ben Bolker, David Duffy, Dave Marvin

#
For the following dataset (described at the bottom of this email), a boxplot of the data by chamber
shows there is clearly a lot of chamber-to-chamber variation in the response variable. However, if I run a random intercept-only model:
I get 0 variance for the random intercept. Same is true if I then include any categorical fixed effects. Does this seem correct, and if so why? 
-Dave
#
Dave Marvin <marvs at ...> writes:
Did you mean to include an actual data set, or just the text description?
Without the data set itself, we can't do better than guessing.
Presumably the within-chamber variation is large enough that
it adequately accounts for the among-chamber variation?
Again, hard to say without seeing the data ... you could do the 
math yourself (e.g. is variance among >= (variance within)/(n within)?),
or simulate some representative examples ...
#
Sorry, I included it as a text file attachment. Guessing the list-serv strips attachments... Here is a link to the text file: http://goo.gl/e5q2hO

If that is the issue (which after looking back at my boxplot is probably the case) should I still expect literally zero variance attributed to the chambers?
On Oct 17, 2013, at 8:16 PM, Ben Bolker wrote:

            
#
On Fri, 18 Oct 2013, Dave Marvin wrote:

            
Yes. The within-chamber intraclass correlation is -0.0835  (SE=0.0309) 
using the pairwise estimator.

| David Duffy (MBBS PhD)
| email: David.Duffy at qimrberghofer.edu.au  ph: INT+61+7+3362-0217 fax: -0101
| Genetic Epidemiology, QIMR Berghofer Institute of Medical Research
| 300 Herston Rd, Brisbane, Queensland 4006, Australia  GPG 4D0B994A
#
On 13-10-17 08:28 PM, Dave Marvin wrote:
Yes.  This is a case, I think (referred to from time to time in
threads on this list), where the classical method of moments estimates
would give a negative among-group variance, or a compound symmetry model
would give negative within-group correlations; the framework used in
lme4 can't do either of those things easily.  (It would be entertaining
but totally impractical to try to figure out what kind of imaginary- or
complex-valued values one would need in the computations to get this to
work out).

  Ben Bolker