[R] Bootstrapping gnls models

2008-11-07 Thread Christoph Scherber
Dear all, I am trying to bootstrap predictions from gnls models using the following code: # a is the dataframe with which I am working; it contains the variables # response.variable,LD,L,G,P and F ### model=gnls(response.variable ~ a * LD/(b + LD), params = list(a + b ~ L), start =

Re: [R] Bootstrapping gnls models

2008-11-07 Thread Prof Brian Ripley
On Fri, 7 Nov 2008, Christoph Scherber wrote: Dear all, I am trying to bootstrap predictions from gnls models using the following code: # a is the dataframe with which I am working; it contains the variables # response.variable,LD,L,G,P and F And without it your code is not reproducible.

Re: [R] Bootstrapping gnls models

2008-11-07 Thread Christoph Scherber
Dear all, Here comes a reproducible example, with the original data added. The error message when running boot() is: Error in gnls(response.variable ~ a * LD/(b + LD), params - list(a + : Step halving factor reduced below minimum in NLS step boot() in this case only seems to work for very