next up previous contents index
Next: Interpretation of Parameter Up: Basic concepts of Previous: Basic concepts -

How to get the right answer from MINUIT

MINUIT offers the user a choice of several minimization algorithms. The MIGRAD (Other algorithms are available with Interactive MINUIT, as described on Page gif) algorithm is in general the best minimizer for nearly all functions. It is a variable-metric method with inexact line search, a stable metric updating scheme, and checks for positive-definiteness. Its main weakness is that it depends heavily on knowledge of the first derivatives, and fails miserably if they are very inaccurate. If first derivatives are a problem, they can be calculated analytically inside the user function and communicated to PAW via the routine HDERIV.

If parameter limits are needed, in spite of the side effects, then the user should be aware of the following techniques to alleviate problems caused by limits:

Getting the right minimum with limits.

If MIGRAD converges normally to a point where no parameter is near one of its limits, then the existence of limits has probably not prevented MINUIT from finding the right minimum. On the other hand, if one or more parameters is near its limit at the minimum, this may be because the true minimum is indeed at a limit, or it may be because the minimizer has become ``blocked'' at a limit. This may normally happen only if the parameter is so close to a limit (internal value at an odd multiple of ±{π2} that MINUIT prints a warning to this effect when it prints the parameter values.

The minimizer can become blocked at a limit, because at a limit the derivative seen by the minimizer F / Pint

is zero no matter what the real derivative F / Pext is.

{FPint}={FPext}{PextPint}={FPext}= 0

Getting the right parameter errors with limits.

     

In the best case, where the minimum is far from any limits, MINUIT will correctly transform the error matrix, and the parameter errors it reports should be accurate and very close to those you would have got without limits. In other cases (which should be more common, since otherwise you wouldn't need limits), the very meaning of parameter errors becomes problematic. Mathematically, since the limit is an absolute constraint on the parameter, a parameter at its limit has no error, at least in one direction. The error matrix, which can assign only symmetric errors, then becomes essentially meaningless.


next up previous contents index
Next: Interpretation of Parameter Up: Basic concepts of Previous: Basic concepts -

Janne Saarela
Tue May 16 09:09:27 METDST 1995