Skip to content
Prev 2439 / 20628 Next

Confidence intervals for effects in glmer()

Dear fellow novice,

I've used mcmc to estimate confidence intervals in lme4. You don't need the 
coda package as it's included in lme4 now. For you it would look like this:

fit4.mcmc<-mcmcsamp(fit4, n=1000) #or whatever resample number you think is 
appropriate
HPDinterval(fit4.mcmc)	#this will fit to alpha 0.05 as default.

As far as I am aware this is a fairly good method of estimating CIs in 
mixed models, but Ben are you saying that there may be issues with this 
process?

Kate
--On 08 June 2009 19:40 -0400 Ben Bolker <bolker at ufl.edu> wrote:

            
----------------------
Kate Pressland
Office D95
School of Biological Sciences
University of Bristol
Woodland Road
Bristol, BS8 1UG

Kate.Pressland at bristol.ac.uk