Skip to content
Prev 724 / 20628 Next

how to know if random factors are significant?

There was a related question from Mariana Martinez a day or two ago.   
Before removing a random term that background knowledge or past  
experience with similar data suggests is likely, check what difference  
it makes to the p-values for the fixed  effects that are of interest.   
If it makes a substantial difference, caution demands that it be left  
it in.

To pretty much repeat my earlier comment:
If you omit the component then you have to contemplate the alternatives:
1) the component really was present but undetectable
2) the component was not present, or so small that it could be  
ignored, and the inference from the model that omits it is valid.

If (1) has a modest probability, and it matters whether you go with  
(1) or (2), going with (2) leads to a very insecure inference. The p- 
value that comes out of the analysis is unreasonably optimistic; it is  
wrong and misleading.

If you do anyway want a Bayesian credible interval, which you can  
treat pretty much as a confidence interval, for the random component,  
check Douglas Bates' message of a few hours ago, the first of two  
messages with the subject "lme4::mcmcsamp + coda::HPDinterval", re the  
use of the function HPDInterval().

John Maindonald             email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
Centre for Mathematics & Its Applications, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.
On 2 Apr 2008, at 4:02 AM, Leonel Arturo Lopez Toledo wrote: