IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v060i02.html
   My bibliography  Save this article

On Best Practice Optimization Methods in R

Author

Listed:
  • Nash, John C.

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.

Suggested Citation

  • Nash, John C., 2014. "On Best Practice Optimization Methods in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 60(i02).
  • Handle: RePEc:jss:jstsof:v:060:i02
    DOI: http://hdl.handle.net/10.18637/jss.v060.i02
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v060i02/v60i02.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v060i02/optimx_2013.8.6.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v060i02/v60i02.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v060.i02?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Mullen, Katharine M. & Ardia, David & Gil, David L. & Windover, Donald & Cline, James, 2011. "DEoptim: An R Package for Global Optimization by Differential Evolution," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 40(i06).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Fernando Rojas & Peter Wanke & Víctor Leiva & Mauricio Huerta & Carlos Martin-Barreiro, 2022. "Modeling Inventory Cost Savings and Supply Chain Success Factors: A Hybrid Robust Compromise Multi-Criteria Approach," Mathematics, MDPI, vol. 10(16), pages 1-18, August.
    2. Villacorta, Pablo J. & Verdegay, José L., 2016. "FuzzyStatProb: An R Package for the Estimation of Fuzzy Stationary Probabilities from a Sequence of Observations of an Unknown Markov Chain," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 71(i08).
    3. Olgun Aydin & Bartłomiej Igliński & Krzysztof Krukowski & Marek Siemiński, 2022. "Analyzing Wind Energy Potential Using Efficient Global Optimization: A Case Study for the City Gdańsk in Poland," Energies, MDPI, vol. 15(9), pages 1-22, April.
    4. Scrucca, Luca, 2013. "GA: A Package for Genetic Algorithms in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 53(i04).
    5. William Lim & Gaurav Khemka & David Pitt & Bridget Browne, 2019. "A method for calculating the implied no-recovery three-state transition matrix using observable population mortality incidence and disability prevalence rates among the elderly," Journal of Population Research, Springer, vol. 36(3), pages 245-282, September.
    6. Shi, Yanlin, 2022. "A closed-form estimator for the Markov switching in mean model," Finance Research Letters, Elsevier, vol. 44(C).
    7. Olschewski, Sebastian & Diao, Linan & Rieskamp, Jörg, 2021. "Reinforcement learning about asset variability and correlation in repeated portfolio decisions," Journal of Behavioral and Experimental Finance, Elsevier, vol. 32(C).
    8. Gao, Guangyuan & Ho, Kin-Yip & Shi, Yanlin, 2020. "Long memory or regime switching in volatility? Evidence from high-frequency returns on the U.S. stock indices," Pacific-Basin Finance Journal, Elsevier, vol. 61(C).
    9. Moraes, Ricardo Kalil & Wanke, Peter Fernandes & Faria, João Ricardo, 2021. "Unveiling the endogeneity between social-welfare and labor efficiency: Two-stage NDEA neural network approach," Socio-Economic Planning Sciences, Elsevier, vol. 77(C).
    10. Scheiter, Simon & Savadogo, Patrice, 2016. "Ecosystem management can mitigate vegetation shifts induced by climate change in West Africa," Ecological Modelling, Elsevier, vol. 332(C), pages 19-27.
    11. Marchetti, Dalmo & Wanke, Peter, 2020. "Efficiency of the rail sections in Brazilian railway system, using TOPSIS and a genetic algorithm to analyse optimized scenarios," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 135(C).
    12. Sebastián Cano-Berlanga & José-Manuel Giménez-Gómez, 2018. "On Chinese stock markets: How have they evolved over time?," Annals of Operations Research, Springer, vol. 266(1), pages 499-510, July.
    13. You, Kisung & Suh, Changhee, 2022. "Parameter estimation and model-based clustering with spherical normal distribution on the unit hypersphere," Computational Statistics & Data Analysis, Elsevier, vol. 171(C).
    14. Joel E. Cohen & Christina Bohk & Roland Rau, 2018. "Gompertz, Makeham, and Siler models explain Taylor's law in human mortality data," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 38(29), pages 773-842.
    15. Nölte, Anja & Yousefpour, Rasoul & Hanewinkel, Marc, 2020. "Changes in sessile oak (Quercus petraea) productivity under climate change by improved leaf phenology in the 3-PG model," Ecological Modelling, Elsevier, vol. 438(C).
    16. Prudentia Zikalala & Isaya Kisekka & Mark Grismer, 2019. "Calibration and Global Sensitivity Analysis for a Salinity Model Used in Evaluating Fields Irrigated with Treated Wastewater in the Salinas Valley," Agriculture, MDPI, vol. 9(2), pages 1-33, February.
    17. Arne Henningsen & Ott Toomet, 2011. "maxLik: A package for maximum likelihood estimation in R," Computational Statistics, Springer, vol. 26(3), pages 443-458, September.
    18. Su, Zheng’e & Zhao, Jin & Marek, Thomas H. & Liu, Ke & Harrison, Matthew Tom & Xue, Qingwu, 2022. "Drought tolerant maize hybrids have higher yields and lower water use under drought conditions at a regional scale," Agricultural Water Management, Elsevier, vol. 274(C).
    19. Antunes, Jorge & Tan, Yong & Wanke, Peter & Jabbour, Charbel Jose Chiappetta, 2023. "Impact of R&D and innovation in Chinese road transportation sustainability performance: A novel trigonometric envelopment analysis for ideal solutions (TEA-IS)," Socio-Economic Planning Sciences, Elsevier, vol. 87(PA).
    20. Pascoe, Sean & Hutton, Trevor & Hoshino, Eriko & Sporci, Miriana & Yamasaki, Satoshi & Kompas, Tom, 2020. "Effectiveness of harvest strategies in achieving multiple management objectives in a multispecies fishery," Australian Journal of Agricultural and Resource Economics, Australian Agricultural and Resource Economics Society, vol. 64(3), July.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:060:i02. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.