Strategies for fitting nonlinear ecological models in R, AD Model Builder, and BUGS

B.M. Bolker, B. Gardner, M. Maunder, Casper Willestofte Berg, M. Brooks, L. Comita, E. Crone, S. Cubaynes, T. Davies, P. de Valpine, J. Ford, O. Gimenez, M. Kéry, E.J. Kim, C. Lennert-Cody, A. Magnusson, S. Martell, J. Nash, Anders Nielsen, J. RegetzH. Skaug, E. Zipkin

Research output: Contribution to journalJournal articleResearchpeer-review

1952 Downloads (Pure)


Ecologists often use nonlinear fitting techniques to estimate the parameters of complex ecological models, with attendant frustration. This paper compares three open-source model fitting tools and discusses general strategies for defining and fitting models. R is convenient and (relatively) easy to learn, AD Model Builder is fast and robust but comes with a steep learning curve, while BUGS provides the greatest flexibility at the price of speed. Our model-fitting suggestions range from general cultural advice (where possible, use the tools and models that are most common in your subfield) to specific suggestions about how to change the mathematical description of models to make them more amenable to parameter estimation. A companion web site ( presents detailed examples of application of the three tools to a variety of typical ecological estimation problems; each example links both to a detailed project report and to full source code and data
Original languageEnglish
JournalMethods in Ecology and Evolution
Issue number6
Pages (from-to)501-512
Publication statusPublished - 2013

Fingerprint Dive into the research topics of 'Strategies for fitting nonlinear ecological models in R, AD Model Builder, and BUGS'. Together they form a unique fingerprint.

Cite this