Skip to content
Prev 308354 / 398513 Next

Upper limit in nlsLM not working as expected

On 18-10-2012, at 14:16, Martin Hehn wrote:

            
The upper limit for 'w' does not need to be set to Inf. It needs to be set high enough for LM to 'work'.
If you set the upper limit for 'w' to 10 the algorithm  will also estimate 'w' at 0.06..

When you set the upper limit to low values as you have done, you are not giving LM enough room to manoeuvre.
If you set trace to TRUE (please don't use F and T) you'll see that 'w' hits the upper limit and that it stays there.

Berend