[R] Two or more dimensional root (Zero) finding

Ben Bolker bolker at ufl.edu
Mon Apr 20 16:31:58 CEST 2009


Ravi Varadhan wrote:

> That is not a good approach, i.e. finding the zero, x*, of F(x), such that
> F(x*) = 0, as a minimum of ||F(x)|| is NOT a good approach.  Any root of
> F(x) is indeed a global minimum of ||F(x)||, or for that matter, the global
> minimum of any f(F(x)), where f(.) is a mapping from R^p to R, such that it
> has a uniques global minimizer x=0.  However, the converse does not
> generally hold, i.e. a (local) minimizer of f(F(x)) is not necessarily a
> root of F(x).  See Ortega and Rheinboldt (p. 97, 1970) for theorem on this.
>
> There are better approaches that directly solve the non-linear system (e.g.
> Newton's method and spectral appproaches).  There are 2 packages in R that
> are quite useful for finding roots of nonlinear systems of equations:  "BB"
> and "nleqslv".  For more information, You can try, for example:
> 
> 	library(BB)
> 	?dfsane
> 
> Hope this helps,
> Ravi.

  Thanks for the correction!  I should also clarify that I misremembered
what Numerical Recipes said -- it explains (as you did) why collapsing
does _not_ work well.

  cheers
     Ben


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090420/f2869573/attachment-0002.bin>


More information about the R-help mailing list