Displaying 20 results from an estimated 10000 matches similar to: "False convergence error with lmer (package lme4) - What does it mean?"
2008 Nov 24
1
lme4 and false convergence
Dear R-users,
I am using the most updated package of lme4 (lme4_0.999375-2). I have a
data set consisting of ~900 observations at ~440 independent survey
sites. There are an unbalanced number of surveys at each site. I am
attempting to develop several models evaluating the presence/absence of
a species (PRES) at these random sites (SITE) using a number of
predictor variables. The
2009 Feb 26
1
error message and convergence issues in fitting glmer in package lme4
I'm resending this message because I did not include a subject line in my first posting.
Apologies for the inconvenience!
Tanja
> Hello,
>
> I'm trying to fit a generalized linear mixed model to estimate diabetes prevalence at US county level. To do this I'm using the glmer() function in package lme4. I can fit relatively simple models (i.e. few covariates) but when
2007 Dec 18
1
How can I extract the AIC score from a mixed model object produced using lmer?
I am running a series of candidate mixed models using lmer (package lme4)
and I'd like to be able to compile a list of the AIC scores for those
models so that I can quickly summarize and rank the models by AIC. When I
do logistic regression, I can easily generate this kind of list by creating
the model objects using glm, and doing:
> md <- c("md1.lr", "md2.lr",
2008 Oct 12
0
false convergence (8) after removal of the two-way interaction
Dear All,
I am working with a generalized linear mixed-effects model with poisson error using the lme4 package in R. I created a model with the lmer function including some main effects, three two way interactions and two random effects.
The model works well, but I have troubles when removing on of the two-way interactions. The Warning message: "In mer_finalize(ans) : false convergence
2005 Nov 21
1
singular convergence with lmer function i lme4
Dear R users,
I am trying to fit a GLMM to the following dataset;
tab
a b c
1 1 0.6 199320100313
2 1 0.8 199427100412
3 1 0.8 199427202112
4 1 0.2 199428100611
5 1 1.0 199428101011
6 1 0.8 199428101111
7 0 0.8 199527103011
8 1 0.6 199527200711
9 0 0.8 199527202411
10 0 0.6 199529100412
11 1 0.2 199626201111
12 2 0.8 199627200612
13 1 0.4 199628100111
14 1 0.8
2013 Mar 23
1
Non-convergence error for GLMM with LME4?
Hello! I am trying to run a GLMM using LME4, and keep getting the warning message: "In mer_finalize(ans) : false convergence (8)" I am quite new to R, and in looking into this thus far, it appears that there are a variety of reasons why this might occur, such as needing to standardize some parameters or if all subjects in one combination of parameters all have the same outcome. I also
2010 Feb 04
0
GLMM and false convergence (8) warnings
Hi,
I am doing a binomial GLMM with a random intercept using the formula below,
but I always get the same warning message.
> m01 <- lmer(pres~ HT + DN + dtree + DNm + cmnhi + cmxes + cplan + craan +
lfphal0100 + lfov0100 + lfop0100 + (1|plot), family=binomial, data=vphal,
verbose=TRUE)
0: 6309.9448: 0.459924 -5.20747 -0.378722 0.558779 -0.200922
-0.0488451 -0.397844 0.367916 -2.09820
2008 Dec 05
1
lme4, error in mer_finalize(ans)
Using lmer() on my data results in an error. The problem,
I think, is my model specification. However, lm() works
ok.
I recreated this error with a more simple dataset. (See
code below.)
# word and letter recognition data
# two within factors:
# word length: 4, 5, 6 letters
# letter position: 1-4 (in 4-letter words), 1-5 (in
5-letter words), 1-6 (in 6-letter words)
# one dependent variable:
#
2008 Oct 30
1
How to increase iteration limit for lmer()?
Dear R users:
I am running lmer(), and I had the following warning message:
"In mer_finalize(ans): iteration limit reached without convergence (9)
What is the default limit for lmer()? And how do I increase the limit?
Many thanks,
Julia
--
View this message in context: http://www.nabble.com/How-to-increase-iteration-limit-for-lmer%28%29--tp20252974p20252974.html
Sent from the R help
2010 Feb 02
1
lme4 package and gamma family
Hello,
I am trying to use the lmer function from the lme4 package I have installed
today (lme4_0.999375-32.zip; R-2.10.1). According to the information, I
should be able to use a generalized linear mixed model.
However when I try to fit a model with Gamma distribution of the errors, it
gives me the following error
model1<-lmer(Cmic~1+(1|FOREST/DEPTH),data=DATOS,family=Gamma)
Error en
2012 Feb 06
1
lmer with spatial and temporal random factors, not nested
Hi, I am new to this list.
I have a question regarding including both spatial and temporal random
factors in lmer. These two are not nested, and an example of model I
try to fit is
model1<-lmer(Richness~Y+Canopy+Veg_cm+Treatment+(1|Site/Block/Plot)+(1|Year),
family=poisson, REML=FALSE),
where
richness = integer
Y & Treatment = factor
Canopy & Veg_cm = numerical, continous
2008 Sep 24
0
weights option in lmer
Hi all, I
am trying to run a linear mixed effect models in lmer() from the lme4
package using the weights option.
I am using the
R version 2.7.2 (2008-08-25) and lmer version in lme4_0.999375-26, which I think it is the latest version!
I am getting and error message when I add the
option "weights" in the lmer function. This is the error message I
get "Error en
2009 Dec 11
1
Notification of false convergence with lmer()
I am running the lmer() command in a for loop and occasionally a particular
iteration is producing the false convergence warning. I would like to be
able to mark these iterations with a dummy variable, but I can't find any
other notification besides the warning message, which, in a for loop, only
is printed after the loop is finished (which does not allow me to see which
iteration it happened
2008 Aug 11
0
Covariance structure determination when lmer has false convergence.
I have fit a model with a more complex covariance structure, but the fit reports a false convergence. I have read from past posts that this can be an indication of over-specification. I went ahead and fit a model with a simpler covariance structure. It doesn't seem like I can compare the two likelihoods or the AIC or BIC to compare the two model since the one model had false convergence.
2009 Feb 15
1
GLMM, ML, PQL, lmer
Dear R community,
I have two questions regarding fitting GLMM using maximum likelihood method.
The first one arises from trying repeat an analysis in the Breslow and
Clayton 1993 JASA paper. Model 3 of the epileptic dataset has two random
effects, one subject specific, and one observation specific. Thus if we
count random effects, there are more parameters than observations. When I
try to run the
2008 Feb 13
1
lmer: Estimated variance-covariance is singular, false convergence
Dear R Community!
We analyse the impact of climbing activity on cliff vegetation. During
our fieldwork, we recorded 90 Transects in 3 climbing sites. The aim is
to see, if the plant cover (response: Cover) is influenced only by
crevice availability (predictor: Cracs), or, additional, by the distance
to the climbing route (predictor: Distance). Six plots are nested within
one Transect
2010 Oct 26
1
lme vs. lmer results
Hello,
and sorry for asking a question without the data - hope it can still
be answered:
I've run two things on the same data:
# Using lme:
mix.lme <- lme(DV ~a+b+c+d+e+f+h+i, random = random = ~ e+f+h+i|
group, data = mydata)
# Using lmer
mix.lmer <- lmer(DV
~a+b+c+d+(1|group)+(e|group)+(f|group)+(h|group)+(i|group), data =
mydata)
lme provided an output (fixed effects and random
2011 Nov 21
2
errors with lme4
Dear list,
i'm a new R user, so I apologize if the topic is already being addressed
by some other user.
I'm trying to determine if the reproductive success of a species of bird
is related to a list of covariates.
These are the covariates:
? elev: elevation of nest (meters)
? seadist: distance from the sea (meters)
? meanterranova: records of temperature
? minpengS1: records
2011 Feb 06
1
random interaction effect in lmer
Hi dears while modeling an interaction random effect in lmer i receive the
instantaneous error message
> ldlM4<-lmer(ldl~rt*cd4+age+rf+pharmac+factor(hcv)+
+ hivdur+(rt:cd4|id),na.action=na.omit,REML=F)
*Warning message:
In mer_finalize(ans) : false convergence (8)
*
I think the matter lies in syntax, 'cause i sistematically receive the same
message even when changing response...
PS:
2013 Jul 11
1
Differences between glmmPQL and lmer and AIC calculation
Dear R Community,
I?m relatively new in the field of R and I hope someone of you can
help me to solve my nerv-racking problem.
For my Master thesis I collected some behavioral data of fish using
acoustic telemetry. The aim of the study is to compare two different
groups of fish (coded as 0 and 1 which should be the dependent
variable) based on their swimming activity, habitat choice, etc.