[R] Strange behavior of interval values in optimize()
Dieter Menne
dieter.menne at menne-biomed.de
Mon Sep 6 15:18:16 CEST 2010
Michael Bernsteiner wrote:
>
>
> I'm using optimize() to find the minimum of the following function f, and
> minimize it (without
> .....
> But, when I choose a larger Interval in the optimization method:
> ....
> The result gets worse (even though the old interval is included in the new
> one).
>
> In fact I don't want any restrictons for the interval values (something
> like interval=(-Inf, Inf) or at least the interval should be as large as
> possible.
>
>
The most likely cause is a second minimum.
Dieter
--
View this message in context: http://r.789695.n4.nabble.com/Strange-behavior-of-interval-values-in-optimize-tp2528208p2528366.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list