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. ______________________________________________ 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.