Function regression in ecology and evolution: FREE

Summary Many questions in ecology and evolutionary biology consider response variables that are functions (e.g. species-abundance distributions) rather than a single scalar value (e.g. species richness). Although methods for analysing function-valued data have been available for several decades, ecological and evolutionary applications are rare. We outline methods for regression when the response variable is a function (‘function regression') and introduce the r package FREE, which focuses on straightforward implementation and interpretation of function regression analyses. Several computational methods are implemented, including machine learning and several Bayesian methods. We compare different methods using simulated data and real ecological data on individual-size distributions (ISDs) of fish and trees. No single method performed best overall, with several performing equally well for a given data set. Which method to use depends on sample sizes and the questions being considered; in many cases, a consensus approach should be used to combine or compare fitted models. Function regression allows the direct modelling of many function-valued data (e.g. species-abundance distributions) rather than having to reduce those functions to a single scalar response variable (e.g. species diversity or functional diversity indices). Our ecological examples using ISD data show that larger rivers support more-even fish-size distributions than smaller rivers and that low initial planting densities lead to more-even tree-size distributions than high initial planting densities. Function regression provided more informative and intuitive interpretations of these data than conventional non-function-valued approaches.

[1]  Andrew Gelman,et al.  The No-U-turn sampler: adaptively setting path lengths in Hamiltonian Monte Carlo , 2011, J. Mach. Learn. Res..

[2]  Ben Stewart-Koster,et al.  Quantifying flow–ecology relationships with functional linear models , 2014 .

[3]  S. Rogers,et al.  Linking genotypes to phenotypes and fitness: how mechanistic biology can inform molecular ecology , 2009, Molecular ecology.

[4]  David J. Lunn,et al.  A Bayesian toolkit for genetic association studies , 2006, Genetic epidemiology.

[5]  Peter Buhlmann,et al.  BOOSTING ALGORITHMS: REGULARIZATION, PREDICTION AND MODEL FITTING , 2007, 0804.2752.

[6]  Torsten Hothorn,et al.  Model-Based Boosting , 2015 .

[7]  Yi Wang,et al.  mvabund– an R package for model‐based analysis of multivariate abundance data , 2012 .

[8]  J. Yen,et al.  Is there an ecological basis for species abundance distributions? , 2012, Oecologia.

[9]  Yee Whye Teh,et al.  Bayesian Nonparametric Models , 2010, Encyclopedia of Machine Learning.

[10]  Ulrich Stadtmüller,et al.  Generalized functional linear models , 2005 .

[11]  Ciprian M Crainiceanu,et al.  Bayesian Functional Data Analysis Using WinBUGS. , 2010, Journal of statistical software.

[12]  Rongling Wu,et al.  MODELING PHENOTYPIC PLASTICITY IN GROWTH TRAJECTORIES: A STATISTICAL FRAMEWORK , 2014, Evolution; international journal of organic evolution.

[13]  Gareth M. James,et al.  Functional linear regression that's interpretable , 2009, 0908.2918.

[14]  H. Rue,et al.  Approximate Bayesian inference for latent Gaussian models by using integrated nested Laplace approximations , 2009 .

[15]  Joel Kingsolver,et al.  Evolutionary Change in Continuous Reaction Norms , 2014, The American Naturalist.

[16]  R. Muir-Wood,et al.  Flood risk and climate change: global and regional perspectives , 2014 .

[17]  James S. Clark,et al.  Models for Ecological Data: An Introduction , 2007 .

[18]  David J. Lunn,et al.  Generic reversible jump MCMC using graphical models , 2009, Stat. Comput..

[19]  Andrew Thomas,et al.  WinBUGS - A Bayesian modelling framework: Concepts, structure, and extensibility , 2000, Stat. Comput..

[20]  C. S. Holling,et al.  The functional response of predators to prey density and its role in mimicry and population regulation. , 1965 .

[21]  Nick S. Jones,et al.  Function-valued traits in evolution , 2012, Journal of The Royal Society Interface.

[22]  Finn Lindgren,et al.  Bayesian computing with INLA: New features , 2012, Comput. Stat. Data Anal..

[23]  Spencer Graves,et al.  Functional Data Analysis with R and MATLAB , 2009 .

[24]  Mark Kirkpatrick,et al.  Genetics and evolution of function-valued traits: understanding environmentally responsive phenotypes. , 2012, Trends in ecology & evolution.

[25]  Adrian G. Barnett,et al.  Using information criteria to select the correct variance–covariance structure for longitudinal data in ecology , 2010 .

[26]  Matthew P. Wand,et al.  Fully simplified multivariate normal updates in non-conjugate variational message passing , 2014, J. Mach. Learn. Res..

[27]  P. Vesk,et al.  To what are woodland birds responding? Inference on relative importance of in-site habitat variables using several ensemble habitat modelling techniques , 2011 .

[28]  P. Baker,et al.  Mortality of developing floodplain forests subjected to a drying climate and water extraction , 2009 .