[R-sig-ME] false convergence of lmer model

Ben Bolker bbolker at gmail.com
Wed Jul 24 15:08:45 CEST 2013


On 13-07-24 03:21 AM, Tara Woud wrote:
> Hi Ben,
> 
> That sounds great, but I got the same error as Neil when entering the
> installation code.
> 
> Tara

  will be fixed in web page shortly

 Ben

> 
> 
> 2013/7/24 Neil Collier <neilandertal at gmail.com
> <mailto:neilandertal at gmail.com>>
> 
>     Hi Ben,
> 
>     I think there is a typo in the installation code for lme4 from github:
> 
>     install.packages("lme4",
>     repos=c("http://lme4.r-forge.r-project.org/repos",
>     getOptions("repos")["CRAN"]))
> 
>     Message from R:
> 
>     install.packages("lme4",
>     repos=c("http://lme4.r-forge.r-project.org/repos",
>     getOptions("repos")["CRAN"]))
>     Error in install.packages("lme4", repos = c("
>     http://lme4.r-forge.r-project.org/repos",  :
>       could not find function "getOptions"
> 
>     getOption not getOptions works.
> 
>     Cheers,
> 
>     Neil
> 
> 
>     On Tue, Jul 23, 2013 at 10:54 PM, Ben Bolker <bbolker at gmail.com
>     <mailto:bbolker at gmail.com>> wrote:
> 
>     > Tara Woud <t.y.woud at ...> writes:
>     >
>     > >
>     > > Dear all,
>     > >
>     > > To determine the effect of weather parameters on the amount of
>     core areas
>     > > of mallards (71 different mallards with measurements on several
>     days),
>     > I'm
>     > > trying to fit the following model to my data:
>     > >
>     > > model1 <- lmer(Core_areas  ~ c_MaxTemp + I(c_MaxTemp^2) +
>     c_MinTemp + I(
>     > > c_MinTemp^2) + c_GemTemp + I(c_GemTemp^2) + c_D.rain + c_S.rain +
>     > c_Gemwind +
>     > > c_Hwind + c_Lwind + (1 | Mallard)   # random slope | random
>     factor (here
>     > > individual is random factor), family = poisson)
>     > >
>     > > But then I get the following warning message:
>     > >
>     > > In mer_finalize(ans) : false convergence (8)
>     > > What consequences does this have? And had anybody an idea how I
>     can solve
>     > > this??
>     > >
>     > > Best,
>     > >
>     > > Tara
>     > >
>     >
>     >   [snip]
>     >
>     >   Are you willing to try out the development version of lme4
>     > (which will, hopefully, be released and become the CRAN version
>     > in about a week anyway)?  See the Installation section at
>     > https://github.com/lme4/lme4/blob/master/README.md  ...
>     >
>     >   The new version tends to have fewer problems with false convergence
>     > and more flexibility for exploring and fixing convergence problems
>     > if they do occur.
>     >
>     >   Ben Bolker
>     >
>     > _______________________________________________
>     > R-sig-mixed-models at r-project.org
>     <mailto:R-sig-mixed-models at r-project.org> mailing list
>     > https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>     >
> 
>             [[alternative HTML version deleted]]
> 
>     _______________________________________________
>     R-sig-mixed-models at r-project.org
>     <mailto:R-sig-mixed-models at r-project.org> mailing list
>     https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
> 
>



More information about the R-sig-mixed-models mailing list