Thanks.
I tried to set a higher tolerance for the convergence, such as
changing tolerance from 1e-6 to 1e-5, msTol from 1e-7 to 1e-6, but R still
does not converge. Any more suggestions?

Harry


On Mon, Aug 3, 2009 at 10:36 AM, Jason Morgan <jwm-r-h...@skepsi.net> wrote:

> On 2009.08.03 10:15:46, Hongwei Dong wrote:
> > Hi, R users,
> >   I'm using the "lme" function in R to estimate a 2 level mixed effects
> > model, in which the size of the subject groups are different. It turned
> out
> > that It takes forever for R to converge. I also tried the same thing in
> SPSS
> > and SPSS can give the results out within 20 minutes. Anyone can give me
> some
> > advice on the lme function in R, especially why R does not converge?
> Thanks.
> >
> > Harry
>
> Hello Harry,
>
> As Chuck mentions, providing some more information on the model and
> the data you are using would be helpful. Also, be sure to compare the
> optimization methods used in SPSS to that used in R. You can change
> the optimization method in R if the default seems to be causing
> issues. See help(lmeControl) for numerous setting options.
>
> ~Jason
>
> --
> Jason W. Morgan
> Graduate Student
> Department of Political Science
> *The Ohio State University*
> 154 North Oval Mall
> Columbus, Ohio 43210
>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to