Skip to content
Prev 10872 / 20628 Next

Calcul of confidence intervals of estimate coefficient by a logistic regression with random effect

Laetitia ETIENNE <laetitia.etienne at ...> writes:
[snip]
[snip]
If you're using the current (1.0-4) version of lme4, then
the answer is "?confint.merMod"; that gives you options of
profile confidence intervals (default: possibly slow but
fairly accurate); Wald intervals (fastest and least accurate);
or parametric bootstrap intervals (slowest and most accurate).

  You can speed things up a bit by specifying the 'which' argument
so that you only profile the parameters you actually care about,
but you need to know the position in the complete parameter
vector (including random effect parameters) -- this is something
we should improve in the future. I think in this case it would
be which(names(fixef(modF))=="Fmyc")+1 since there is one
random effects parameter.

  By the way, I worry that your model is overparameterized --
15 observations is very few to estimate 5 fixed effect parameters and 
1 random effect parameter, and 3 levels is very few for estimating
 a random effect.  Rules of thumb are >=5 levels for estimating a
random effect, and 10-20 observations per parameter ...