IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v066i05.html

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. 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).
    2. 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).
    3. Ritz, Christian & Streibig, Jens C., 2005. "Bioassay Analysis Using R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 12(i05).
    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. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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).
    9. 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.
    10. 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.
    11. Tilman Schmider & Anne Grethe Hestnes & Julia Brzykcy & Hannes Schmidt & Arno Schintlmeister & Benjamin R. K. Roller & Ezequiel Jesús Teran & Andrea Söllinger & Oliver Schmidt & Martin F. Polz & Andre, 2024. "Physiological basis for atmospheric methane oxidation and methanotrophic growth on air," Nature Communications, Nature, vol. 15(1), pages 1-15, December.
    12. 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.
    13. 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.
    14. 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.
    15. 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.
    16. Duarte, Belmiro P.M. & Atkinson, Anthony C. & Oliveira, Nuno M.C., 2023. "Optimum design for ill-conditioned models: K–optimality and stable parameterizations," LSE Research Online Documents on Economics 122986, London School of Economics and Political Science, LSE Library.
    17. 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.
    18. 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.
    19. 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. 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.
    5. 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).
    6. 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.
    7. 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.
    8. 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.
    9. Jens Peter Andersen & Björn Hammarfelt, 2011. "Price revisited: on the growth of dissertations in eight research fields," Scientometrics, Springer;Akadémiai Kiadó, vol. 88(2), pages 371-383, August.
    10. Bivand, Roger & Piras, Gianfranco, 2015. "Comparing Implementations of Estimation Methods for Spatial Econometrics," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i18).
    11. repec:rri:wpaper:201301 is not listed on IDEAS
    12. Marco Riani & Andrea Cerioli & Francesca Torti, 2014. "On consistency factors and efficiency of robust S-estimators," TEST: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 23(2), pages 356-387, June.
    13. Bilodeau, Martin & Micheaux, Pierre Lafaye de & Mahdi, Smail, 2015. "The R Package groc for Generalized Regression on Orthogonal Components," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 65(i01).
    14. Sameh Abdulah & Yuxiao Li & Jian Cao & Hatem Ltaief & David E. Keyes & Marc G. Genton & Ying Sun, 2023. "Large‐scale environmental data science with ExaGeoStatR," Environmetrics, John Wiley & Sons, Ltd., vol. 34(1), February.
    15. Stavrakoudis, Athanassios & Panagiotou, Dimitrios, . "Price dependence and asymmetric responses between coffee varieties," Agricultural Economics Review, Greek Association of Agricultural Economists, vol. 17(2).
    16. Sanjeena Subedi & Paul McNicholas, 2014. "Variational Bayes approximations for clustering via mixtures of normal inverse Gaussian distributions," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 8(2), pages 167-193, June.
    17. T. Kirschstein & Steffen Liebscher, 2019. "Assessing the market values of soccer players – a robust analysis of data from German 1. and 2. Bundesliga," Journal of Applied Statistics, Taylor & Francis Journals, vol. 46(7), pages 1336-1349, May.
    18. LonÄ arić, Željka & K. Hackenberger, Branimir, 2013. "Stage and age structured Aedes vexans and Culex pipiens (Diptera: Culicidae) climate-dependent matrix population model," Theoretical Population Biology, Elsevier, vol. 83(C), pages 82-94.
    19. Vilijandas Bagdonavičius & Linas Petkevičius, 2020. "A new multiple outliers identification method in linear regression," Metrika: International Journal for Theoretical and Applied Statistics, Springer, vol. 83(3), pages 275-296, April.
    20. Ghysels, Eric & Kvedaras, Virmantas & Zemlys, Vaidotas, 2016. "Mixed Frequency Data Sampling Regression Models: The R Package midasr," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 72(i04).
    21. Faustino Prieto & José María Sarabia & Enrique Calderín-Ojeda, 2021. "The nonlinear distribution of employment across municipalities," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 16(2), pages 287-307, April.

    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.