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

A Toolbox for Nonlinear Regression in R: The Package nlstools

Author

Listed:
  • Baty, Florent
  • Ritz, Christian
  • Charles, Sandrine
  • Brutsche, Martin
  • Flandrois, Jean-Pierre
  • Delignette-Muller, Marie-Laure

Abstract

Nonlinear regression models are applied in a broad variety of scientific fields. Various R functions are already dedicated to fitting such models, among which the function nls() has a prominent position. Unlike linear regression fitting of nonlinear models relies on non-trivial assumptions and therefore users are required to carefully ensure and validate the entire modeling. Parameter estimation is carried out using some variant of the least- squares criterion involving an iterative process that ideally leads to the determination of the optimal parameter estimates. Therefore, users need to have a clear understanding of the model and its parameterization in the context of the application and data considered, an a priori idea about plausible values for parameter estimates, knowledge of model diagnostics procedures available for checking crucial assumptions, and, finally, an under- standing of the limitations in the validity of the underlying hypotheses of the fitted model and its implication for the precision of parameter estimates. Current nonlinear regression modules lack dedicated diagnostic functionality. So there is a need to provide users with an extended toolbox of functions enabling a careful evaluation of nonlinear regression fits. To this end, we introduce a unified diagnostic framework with the R package nlstools. In this paper, the various features of the package are presented and exemplified using a worked example from pulmonary medicine.

Suggested Citation

  • Baty, Florent & Ritz, Christian & Charles, Sandrine & Brutsche, Martin & Flandrois, Jean-Pierre & Delignette-Muller, Marie-Laure, 2015. "A Toolbox for Nonlinear Regression in R: The Package nlstools," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 66(i05).
  • Handle: RePEc:jss:jstsof:v:066:i05
    DOI: http://hdl.handle.net/10.18637/jss.v066.i05
    as

    Download full text from publisher

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v066i05/nlstools_1.0-2.tar.gz
    Download Restriction: no

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

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v066.i05?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. Kahm, Matthias & Hasenbrink, Guido & Lichtenberg-Fraté, Hella & Ludwig, Jost & Kschischo, Maik, 2010. "grofit: Fitting Biological Growth Curves with R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i07).
    2. Ritz, Christian & Streibig, Jens C., 2005. "Bioassay Analysis Using R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 12(i05).
    3. Nash, John C. & Varadhan, Ravi, 2011. "Unifying Optimization Algorithms to Aid Software System Users: optimx for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 43(i09).
    4. Todorov, Valentin & Filzmoser, Peter, 2009. "An Object-Oriented Framework for Robust Multivariate Analysis," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 32(i03).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Luca Micoli & Giuseppe Di Rauso Simeone & Maria Turco & Giuseppe Toscano & Maria A. Rao, 2023. "Anaerobic Digestion of Olive Mill Wastewater in the Presence of Biochar," Energies, MDPI, vol. 16(7), pages 1-14, April.
    2. Laura Scherer & İrem Gürdal & Peter M. van Bodegom, 2022. "Characterization factors for ocean acidification impacts on marine biodiversity," Journal of Industrial Ecology, Yale University, vol. 26(6), pages 2069-2079, December.
    3. Remigio Paradelo & Paula García & Alba González & Khaled Al-Zawahreh & Maria Teresa Barral, 2023. "Influence of Zinc and Humic Acids on Dye Adsorption from Water by Two Composts," IJERPH, MDPI, vol. 20(7), pages 1-10, March.
    4. Christian Ritz & Florent Baty & Jens C Streibig & Daniel Gerhard, 2015. "Dose-Response Analysis Using R," PLOS ONE, Public Library of Science, vol. 10(12), pages 1-13, December.
    5. Yani Bao & Wai Ling Lee & Jie Jia, 2018. "Exergy Analyses and Modelling of a Novel Extra-Low Temperature Dedicated Outdoor Air System," Energies, MDPI, vol. 11(5), pages 1-25, May.
    6. Gerard Morales & Isidre Llorente & Emilio Montesinos & Concepció Moragrega, 2017. "A model for predicting Xanthomonas arboricola pv. pruni growth as a function of temperature," PLOS ONE, Public Library of Science, vol. 12(5), pages 1-18, May.
    7. Divino, Jose Angelo & Maciel, Daniel T.G.N. & Sosa, Wilfredo, 2020. "Government size, composition of public spending and economic growth in Brazil," Economic Modelling, Elsevier, vol. 91(C), pages 155-166.
    8. Diana Carolina Rodríguez-Abello & Jorge Augusto Navarro-Alberto & Luis Ramírez-Avilés & Roberto Zamora-Bustillos, 2018. "The effect of sowing time on the growth of chia (Salvia hispanica L.): What do nonlinear mixed models tell us about it?," PLOS ONE, Public Library of Science, vol. 13(11), pages 1-14, November.
    9. Taufan Alam & Priyono Suryanto & Nanang Susyanto & Budiastuti Kurniasih & Panjisakti Basunanda & Eka Tarwaca Susila Putra & Dody Kastono & Dyah Weny Respatie & Muhammad Habib Widyawan & Nurmansyah & A, 2022. "Performance of 45 Non-Linear Models for Determining Critical Period of Weed Control and Acceptable Yield Loss in Soybean Agroforestry Systems," Sustainability, MDPI, vol. 14(13), pages 1-19, June.
    10. Mathilde, Godefroid & Tom, Zeimes & Lorenzo, Bramanti & Pascal, Romans & Marzia, Bo & Margherita, Toma & Bruno, Danis & Philippe, Dubois & Charlène, Guillaumot, 2023. "Low vulnerability of the Mediterranean antipatharian Antipathella subpinnata (Ellis & Solander, 1786) to ocean warming," Ecological Modelling, Elsevier, vol. 475(C).
    11. Hirche, Martin & Farris, Paul W. & Greenacre, Luke & Quan, Yiran & Wei, Susan, 2021. "Predicting Under- and Overperforming SKUs within the Distribution–Market Share Relationship," Journal of Retailing, Elsevier, vol. 97(4), pages 697-714.
    12. Justin D. Gay & Bryce Currey & E. N. J. Brookshire, 2022. "Global distribution and climate sensitivity of the tropical montane forest nitrogen cycle," Nature Communications, Nature, vol. 13(1), pages 1-8, December.
    13. Aysan Badraghi & Beáta Novotná & Jan Frouz & Koloman Krištof & Martin Trakovický & Martin Juriga & Branislav Chvila & Leonardo Montagnani, 2023. "Temporal Dynamics of CO 2 Fluxes over a Non-Irrigated Vineyard," Land, MDPI, vol. 12(10), pages 1-16, October.
    14. Zhiqiang Wang & Heng Huang & Han Wang & Josep Peñuelas & Jordi Sardans & Ülo Niinemets & Karl J. Niklas & Yan Li & Jiangbo Xie & Ian J. Wright, 2022. "Leaf water content contributes to global leaf trait relationships," Nature Communications, Nature, vol. 13(1), pages 1-9, December.
    15. S. Mahmuda & T. Sigler & E. Knight & J. Corcoran, 2020. "Sectoral evolution and shifting service delivery models in the sharing economy," Business Research, Springer;German Academic Association for Business Research, vol. 13(2), pages 663-684, July.
    16. Mario Gallego-Abenza & Nicolas Mathevon & David Wheatcroft & Ulrika Candolin, 2020. "Experience modulates an insect’s response to anthropogenic noise," Behavioral Ecology, International Society for Behavioral Ecology, vol. 31(1), pages 90-96.
    17. Hirche, Martin & Greenacre, Luke & Nenycz-Thiel, Magda & Loose, Simone & Lockshin, Larry, 2021. "SKU performance and distribution: A large-scale analysis of the role of product characteristics with store scanner data," Journal of Retailing and Consumer Services, Elsevier, vol. 61(C).

    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. Gianna S. Monti & Peter Filzmoser & Roland C. Deutsch, 2018. "A Robust Approach to Risk Assessment Based on Species Sensitivity Distributions," Risk Analysis, John Wiley & Sons, vol. 38(10), pages 2073-2086, October.
    2. Lea A I Vaas & Johannes Sikorski & Victoria Michael & Markus Göker & Hans-Peter Klenk, 2012. "Visualization and Curve-Parameter Estimation Strategies for Efficient Exploration of Phenotype Microarray Kinetics," PLOS ONE, Public Library of Science, vol. 7(4), pages 1-18, April.
    3. Christian Ritz & Florent Baty & Jens C Streibig & Daniel Gerhard, 2015. "Dose-Response Analysis Using R," PLOS ONE, Public Library of Science, vol. 10(12), pages 1-13, December.
    4. Hancock, Joana & Vieira, Sara & Lima, Hipólito & Schmitt, Vanessa & Pereira, Jaconias & Rebelo, Rui & Girondot, Marc, 2019. "Overcoming field monitoring restraints in estimating marine turtle internesting period by modelling individual nesting behaviour using capture-mark-recapture data," Ecological Modelling, Elsevier, vol. 402(C), pages 76-84.
    5. Jack McDonnell & Thomas McKenna & Kathryn A. Yurkonis & Deirdre Hennessy & Rafael Andrade Moral & Caroline Brophy, 2023. "A Mixed Model for Assessing the Effect of Numerous Plant Species Interactions on Grassland Biodiversity and Ecosystem Function Relationships," Journal of Agricultural, Biological and Environmental Statistics, Springer;The International Biometric Society;American Statistical Association, vol. 28(1), pages 1-19, March.
    6. Floriane Larras & Agnès Bouchez & Frédéric Rimet & Bernard Montuelle, 2012. "Using Bioassays and Species Sensitivity Distributions to Assess Herbicide Toxicity towards Benthic Diatoms," PLOS ONE, Public Library of Science, vol. 7(8), pages 1-9, August.
    7. Arzum Akkaş & Nachiketa Sahoo, 2020. "Reducing Product Expiration by Aligning Salesforce Incentives: A Data‐driven Approach," Production and Operations Management, Production and Operations Management Society, vol. 29(8), pages 1992-2009, August.
    8. Euro Pannacci & Daniele Del Buono & Maria Luce Bartucca & Luigi Nasini & Primo Proietti & Francesco Tei, 2020. "Herbicide Uptake and Regrowth Ability of Tall Fescue and Orchardgrass in S-Metolachlor-Contaminated Leachates from Sand Pot Experiment," Agriculture, MDPI, vol. 10(10), pages 1-10, October.
    9. Kahm, Matthias & Hasenbrink, Guido & Lichtenberg-Fraté, Hella & Ludwig, Jost & Kschischo, Maik, 2010. "grofit: Fitting Biological Growth Curves with R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i07).
    10. Steffen Liebscher & Thomas Kirschstein, 2015. "Efficiency of the pMST and RDELA location and scatter estimators," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 99(1), pages 63-82, January.
    11. Zong, Weiyan & Zhang, Junyi & Yang, Xiaoguang, 2023. "Building a life-course intertemporal discrete choice model to analyze migration biographies," Journal of choice modelling, Elsevier, vol. 47(C).
    12. Fatima-Zahra Jaouimaa & Daniel Dempsey & Suzanne Van Osch & Stephen Kinsella & Kevin Burke & Jason Wyse & James Sweeney, 2021. "An age-structured SEIR model for COVID-19 incidence in Dublin, Ireland with framework for evaluating health intervention cost," PLOS ONE, Public Library of Science, vol. 16(12), pages 1-25, December.
    13. Torti, Francesca & Corbellini, Aldo & Atkinson, Anthony C., 2021. "fsdaSAS: a package for robust regression for very large datasets including the batch forward search," LSE Research Online Documents on Economics 109895, London School of Economics and Political Science, LSE Library.
    14. Hector Sanz & John J Aponte & Jaroslaw Harezlak & Yan Dong & Aintzane Ayestaran & Augusto Nhabomba & Maxmillian Mpina & Obiang Régis Maurin & Núria Díez-Padrisa & Ruth Aguilar & Gemma Moncunill & Agna, 2017. "drLumi: An open-source package to manage data, calibrate, and conduct quality control of multiplex bead-based immunoassays data analysis," PLOS ONE, Public Library of Science, vol. 12(11), pages 1-18, November.
    15. Alashwali, Fatimah & Kent, John T., 2016. "The use of a common location measure in the invariant coordinate selection and projection pursuit," Journal of Multivariate Analysis, Elsevier, vol. 152(C), pages 145-161.
    16. Camilo Guzmán & Manish Bagga & Amanpreet Kaur & Jukka Westermarck & Daniel Abankwa, 2014. "ColonyArea: An ImageJ Plugin to Automatically Quantify Colony Formation in Clonogenic Assays," PLOS ONE, Public Library of Science, vol. 9(3), pages 1-9, March.
    17. B. Barış Alkan, 2016. "Robust Principal Component Analysis Based on Modified Minimum Covariance Determinant in the Presence of Outliers," Alphanumeric Journal, Bahadir Fatih Yildirim, vol. 4(2), pages 85-94, September.
    18. Y. Fong & J. Wakefield & S. De Rosa & N. Frahm, 2012. "A Robust Bayesian Random Effects Model for Nonlinear Calibration Problems," Biometrics, The International Biometric Society, vol. 68(4), pages 1103-1112, December.
    19. Norbert Brunner & Manfred Kühleitner & Werner Georg Nowak & Katharina Renner-Martin & Klaus Scheicher, 2019. "Comparing growth patterns of three species: Similarities and differences," PLOS ONE, Public Library of Science, vol. 14(10), pages 1-9, October.
    20. M. Hubert & P. Rousseeuw & K. Vakili, 2014. "Shape bias of robust covariance estimators: an empirical study," Statistical Papers, Springer, vol. 55(1), pages 15-28, February.

    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:066:i05. 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.