Re: [R] how to solve the step halving factor problems in gnls and nls

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Tue 19 Jul 2005 - 16:42:55 EST

Yimeng Lu <yl2058 <at> columbia.edu> writes:

> Could you give me some advice in
> solving the problem of such error message from gnls and nls?
> ## begin error message
>
> "Problem in gnls(y1 ~ glogit4(b, c, m, t, x), data.frame(x..: Step halving
> factor reduced below minimum in NLS step "
>

Try to set nlsTol in the optional control parameter (gnlsControl) to a larger value, e.g. 0.1 instead of default 0.001, but be sure to check your results make sense. If this should help, you can try intermediate values.

Dieter Menne



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 19 16:46:05 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:46 EST