Published by the Foundation for Open Access Statistics
Editors-in-chief: Bettina Grün, Torsten Hothorn, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
On Best Practice Optimization Methods in R | Nash | Journal of Statistical Software
Authors: John C. Nash
Title: On Best Practice Optimization Methods in R
Abstract: R (R Core Team 2014) provides a powerful and flexible system for statistical computations. It has a default-install set of functionality that can be expanded by the use of several thousand add-in packages as well as user-written scripts. While R is itself a programming language, it has proven relatively easy to incorporate programs in other languages, particularly Fortran and C. Success, however, can lead to its own costs:
  • Users face a confusion of choice when trying to select packages in approaching a problem.

  • A need to maintain workable examples using early methods may mean some tools offered as a default may be dated.

  • In an open-source project like R, how to decide what tools offer "best practice" choices, and how to implement such a policy, present a serious challenge.

We discuss these issues with reference to the tools in R for nonlinear parameter estimation (NLPE) and optimization, though for the present article `optimization` will be limited to function minimization of essentially smooth functions with at most bounds constraints on the parameters. We will abbreviate this class of problems as NLPE. We believe that the concepts proposed are transferable to other classes of problems seen by R users.

Page views:: 8832. Submitted: 2012-12-26. Published: 2014-09-28.
Paper: On Best Practice Optimization Methods in R     Download PDF (Downloads: 19416)
optimx_2013.8.6.tar.gz: R source package Download (Downloads: 335; 35KB)
v60i02.R: R example code from the paper Download (Downloads: 364; 8KB)

DOI: 10.18637/jss.v060.i02

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.