Literature DB >> 27478249

A cautionary note on the use of Ornstein Uhlenbeck models in macroevolutionary studies.

Natalie Cooper1, Gavin H Thomas2, Chris Venditti3, Andrew Meade3, Rob P Freckleton2.   

Abstract

Phylogenetic comparative methods are increasingly used to give new insights into the dynamics of trait evolution in deep time. For continuous traits the core of these methods is a suite of models that attempt to capture evolutionary patterns by extending the Brownian constant variance model. However, the properties of these models are often poorly understood, which can lead to the misinterpretation of results. Here we focus on one of these models - the Ornstein Uhlenbeck (OU) model. We show that the OU model is frequently incorrectly favoured over simpler models when using Likelihood ratio tests, and that many studies fitting this model use datasets that are small and prone to this problem. We also show that very small amounts of error in datasets can have profound effects on the inferences derived from OU models. Our results suggest that simulating fitted models and comparing with empirical results is critical when fitting OU and other extensions of the Brownian model. We conclude by making recommendations for best practice in fitting OU models in phylogenetic comparative analyses, and for interpreting the parameters of the OU model.

Entities:  

Keywords:  OU; comparative methods; macroevolutionary models; phylogeny; stabilizing selection

Year:  2015        PMID: 27478249      PMCID: PMC4949538          DOI: 10.1111/bij.12701

Source DB:  PubMed          Journal:  Biol J Linn Soc Lond        ISSN: 0024-4066            Impact factor:   2.138


Introduction

Phylogenetic comparative methods (PCMs) are powerful tools for identifying patterns in the evolution of species traits, and for potentially inferring the evolutionary processes that underlie them (e.g. Freckleton, 2009; Nunn, 2011; O'Meara, 2012; Pennell & Harmon, 2013). These approaches have been used, for example, to infer potential rates of species responses to climate change (Quintero & Wiens, 2013), test the role of ecological niche as a driver of morphological evolution (Pienaar et al., 2013) and test for constraints in adaptive radiations (Blackburn et al., 2013). The majority of PCMs use an explicit evolutionary model to characterize trait evolution (Freckleton et al. 2011). Most model‐based methods for characterizing trait evolution are based on the Brownian constant variance model (for exceptions see Price, 1997; Harvey & Rambaut, 2000; Freckleton & Harvey, 2006). The Brownian model, first applied in a phylogenetic context by Cavalli‐Sforza & Edwards (1967) and to across‐species data by Felsenstein (1973), is a simple model of trait evolution in which trait variance accrues as a linear function of time, and makes the prediction that traits of closely related species are more similar than those of distantly related ones. The Brownian model has been modified in various ways to account for a suite of ecological and evolutionary processes (e.g. Grafen, 1989; Hansen, 1997; Pagel, 1997, 1999). Most of these involve a transformation of the tree and thereby fitting a model with one or more extra parameters. These modified Brownian models tend to fit better and often have links to process‐based interpretations. One of the most commonly used Brownian‐like models is the Ornstein Uhlenbeck (OU) model. The OU model was introduced to population genetics by Lande (1976) to model stabilizing selection in which the trait is drawn towards a fitness optimum on an adaptive landscape. The process operating in comparative data is analogous to but distinct from stabilizing selection. The phylogenetic OU model is a modification of the Brownian model with an additional parameter α that measures the strength of return towards a theoretical optimum (Hansen, 1997) that is shared across a clade or subset of species. Although widely used, the properties of the OU model, and other direct extensions of the Brownian model, are poorly understood leading to the potential for inappropriate use and misinterpretation of results. In this paper we present an introduction to the OU model, its general properties and some issues with its use in ecology, evolution and palaeontology. We use simulations to demonstrate the inherent bias in estimating the core parameter of the OU model, α, that describes the strength of pull towards a central value (typically referred to as the trait or selective optima). We discuss the intricacies of interpreting OU models biologically, and provide advice for appropriate use of OU models in phylogenetic comparative analyses. We also show that very small amounts of intraspecific trait variation (including measurement error) can profoundly affect the performance of models. These findings will be applicable to other models of evolution, but we focus on the OU model because of its widespread use and because of the ambiguity in the link between pattern and process when interpreting estimates of the α parameter. We are not the first to describe some of these problems (e.g. Ives & Garland, 2010; Boettiger, Coop & Ralph, 2012; Hansen & Bartoszek, 2012; Ho & Ané, 2013, 2014). However, widespread use of the model is clear evidence that many are unaware of the potential problems. We use a simulation approach to summarize the problems and to generate practical recommendations of how to deal with them.

Uses of the OU model

The popularity of the OU model has grown extensively in recent years (Fig. 1); even just between 2012 and 2014 over 2500 ecology, evolution and palaeontology papers containing the phrase ‘Ornstein Uhlenbeck’ were published (Google Scholar search 15 March 2015; see Supporting Information). This may partly be because these models are now easy to apply via packages in R (e.g. ouch, GEIGER and OUwie; Butler & King, 2004; Harmon et al., 2008; Beaulieu & O'Meara, 2012). Additionally, although the OU model is pattern‐based, it has several attractive biological interpretations. For example, fit to an OU model is used as evidence for processes such as phylogenetic niche conservatism, convergent evolution and stabilizing selection (e.g. Wiens et al., 2010; Christin et al., 2013; Ingram & Mahler, 2013).
Figure 1

The number of ecology, evolutionary biology and palaeontology papers published between 2005 and 2014 containing the phrase ‘Ornstein Uhlenbeck’, as a proportion of the total number of ecology, evolutionary biology or palaeontology papers published that year. See Supporting Information for details.

The number of ecology, evolutionary biology and palaeontology papers published between 2005 and 2014 containing the phrase ‘Ornstein Uhlenbeck’, as a proportion of the total number of ecology, evolutionary biology or palaeontology papers published that year. See Supporting Information for details. It is important to note, however, that although the OU model is frequently described and interpreted as a model of ‘stabilizing selection’, this is inaccurate and misleading. As formulated by Hansen (1997), a trait has a primary optimum that is the mean of individual species optima for that trait. Under this formulation, α can be considered as the strength of the pull towards a central trait value (the primary optimum; Hansen, 2012). However, this is not an estimate of stabilizing selection in the population genetics sense, where it is a measure of selection within a population towards a fitness optimum on an adaptive landscape (Lande, 1976). This is a qualitatively different process to trait evolution among species which is more akin to a trait tracking movement of the adaptive optima itself. The OU model is most commonly used to model the evolution of a single continuous character (Table 1; Supporting Information). Usually several models of evolution (Brownian motion, OU, Early Burst, etc.; Harmon et al., 2010; Cooper & Purvis, 2010; Cardillo, 2015; Slater, 2015) are fit to the same continuous character and model selection is then used to determine which model best fits the data. OU models can be fit with one optimal trait value, or multiple different optima (Butler & King, 2004; Beaulieu et al., 2012). The latter represents evolution under multiple selective regimes, and may be more biologically realistic for many datasets. OU models with various numbers of optima are often included in the pool of evolutionary models being compared (e.g. Christin et al., 2013; Table 1). OU models are also commonly used to model phylogenetically structured residual error in evolutionary correlations (Revell, 2010; often colloquially referred to as ‘controlling for phylogeny’; Table 1; Supporting Information).
Table 1

The most common uses of Ornstein Uhlenbeck models in ecology, evolutionary biology and palaeontology papers published between 2005 and 2013; see Supporting Information for details

Use of OU modelOptimaNo. of papers
Ancestral state reconstructionSingle8
Multiple2
Convergent evolutionSingle0
Multiple2
Mode of evolutionSingle31
Multiple27
Phylogenetic generalized least squaresSingle35
Multiple0
OtherSingle5
Multiple5
TotalSingle79
Multiple36
The most common uses of Ornstein Uhlenbeck models in ecology, evolutionary biology and palaeontology papers published between 2005 and 2013; see Supporting Information for details As an extension to modelling single traits, phylogenetic generalized least squares (PGLS) models incorporate information about the relationships among species into the error term of a generalized least squares model. This error term generally consists of a variance–covariance matrix of the phylogeny, but various transformations are used (e.g. Pagel's λ; Pagel, 1997) to improve the fit of the model to the data. The α parameter from an OU model can also be used to transform the tree and the variance–covariance matrix. This is rarely interpreted as corresponding to any kind of process; instead it improves the fit of the PGLS models (e.g. Blankers, Adams & Wiens, 2012). However, it is not clear that it was originally intended that the OU model would merely be used in such a context. Finally, the OU model is also used to reconstruct ancestral states (Martins, 1999) and to detect clade‐wide convergent evolution (Ingram & Mahler, 2013; Uyeda & Harmon, 2014). Most papers use the OU model to model the evolution of a continuous character (Table 1; Supporting Information), so we focus on this use of the OU model in our simulations below. The principles here also apply to a range of other macroevolutionary models that can be fit to continuous data and compared using model testing procedures (e.g. κ, λ, δ, ACDC, Early Burst; Pagel, 1997, 1999; Blomberg, Garland & Ives, 2003; Harmon et al., 2008). Note that we focus on OU models with a single stationary optimum trait value because these are more commonly used (Table 1; Supporting Information) and easier to simulate. For discussions on the performance of multiple optima OU models we refer the reader to Beaulieu & O'Meara (2012).

OU model outline

According to the Brownian model (Cavalli‐Sforza & Edwards, 1967; Felsenstein, 1973), a trait X evolves at random at a rate σ:where W(t) is drawn at random from a normal distribution with mean 0 and variance σ2. The model assumes that there is no overall drift in the direction of evolution (hence the expectation of W(t) is zero) and that the rate of evolution is constant. Because the direction of change in trait values at each step is random, Brownian motion is often described as a ‘random walk’. The model assumes the correlation structure among trait values is proportional to the extent of shared ancestry for pairs of species. This means that close relatives will be more similar in their trait values than more distant relatives. It also means that variance in the trait will increase (linearly) in proportion to time. The model has two parameters, the Brownian rate parameter, σ2, and the state of the root at time zero, X(0). The OU model (Hansen, 1997; Butler & King, 2004) is a random walk in which trait values revert back towards some ‘optimal’ value, μ (also called θ), with an attraction strength proportional to the parameter α. The model has the following form: Note that this model has two parameters in addition to those of the Brownian model: α and μ. α is the strength of evolutionary force that returns traits back towards the long‐term mean, μ, if they evolve away from it. α is sometimes referred to as the ‘rubber band’ parameter because of the way it pulls traits back towards μ. The parameter μ is a long‐term mean, and it is assumed that species traits evolve around this value. For more details see the Appendix. In many implementations of the OU model (e.g. GEIGER; Harmon et al., 2008), μ is the same as the state of the root at time zero, X(0). This is referred to as a ‘single stationary peak’ or SSP model (sensu Harmon et al., 2010). Some implementations also allow users to estimate X(0) (e.g. OUwie; Beaulieu & O'Meara, 2012). Where X(0) ≠ μ this is referred to as a single peak OU process. However, estimating X(0) can sometimes lead to nonsensical values of μ, i.e. far outside the range of values for the trait, so results should be interpreted with caution. X(0) can also be defined a priori, but this is only appropriate when fossil data, or other independent evidence, allow confident estimates of the root state. When α is close to zero, evolution is approximately Brownian (but note that in the special case of a single peak OU model with X(0) ≠ μ, when μ is zero, evolution approximates Brownian motion with a trend; Hansen, 1997; Benson et al., 2014), then as α gets larger the non‐Brownian behaviour of the model starts to become apparent. Eventually, when α is really large, all imprint of history is lost and the trait evolution is essentially a rapid burst at the present. Note that α scales with tree height (i.e. the maximum distance from the root of the tree to the tips); taller trees will have lower α values, all else being equal, because there is more time for traits to return to the optimum value, and thus the strength of the pull towards the optimum, α, can be smaller. Thus, α values need to be interpreted relative to tree height. Generally the simplest solution is to rescale tree heights to 1 (e.g. Ives & Garland, 2010; see simulations below). Ives & Garland (2010) suggest interpreting log (α) after rescaling trees to a height of 1, rather than raw α. They equate –log (α) = 4 as a very low, almost Brownian, value and –log (α) = −4 as a very high value. Others (e.g. Hansen & Bartoszek, 2012; Slater, 2015) prefer to use the phylogenetic half‐life: (see ‘Recommendations for interpreting α’ below).

Performance of the OU Model

To explore some issues with the OU model in more detail, we ran a number of simulations designed to mirror the use of OU models in the literature.

Simulating phylogenies and data

We simulated phylogenies with 25, 50, 100, 150, 200, 500, or 1000 tips under pure birth, constant‐rate Birth–Death (extinction fractions of 0.25, 0.5 and 0.75) or temporally varying speciation rate (speciation rate modelled as time from the root raised to the power 0.2, 0.5, 2 and 5) models. We simulated 1000 phylogenies for each combination of tips and models resulting in 56 000 simulated phylogenies in total. Trees were simulated using the R package TESS (Hohna, 2013). We then simulated the evolution of a single trait under a Brownian motion model on each phylogeny using the R package MOTMOT (Thomas & Freckleton, 2011). All our simulated trees and data are available on GitHub: https://github.com/nhcooper123/OhYou.

Performance of α and Likelihood ratio tests

To determine whether α is biased under conditions where it should be zero, and whether Likelihood ratio tests are appropriate for use with the OU model, we estimated α for each of our simulated phylogenies and data, and compared the fit of a Brownian model with that of an OU model using a Likelihood ratio test with 1 degree of freedom with the transformPhylo.ML function in MOTMOT (Thomas & Freckleton, 2011; https://github.com/ghthomas/motmot). This mirrors the common situation where researchers fit Brownian and OU models and then use Likelihood ratio tests to select the ‘best’ model. We then estimated the rejection rate of the null (Brownian) model for each set of simulations. We refer to this measure as the Type I error rate for the OU model. We find that Type I error rates are unacceptably high when tree size is small (Tables 2, 3), i.e. the OU model is often favoured, even though the Brownian model was used to generate the data. For some tree shapes, particularly where speciation rates accelerate towards the present, Type I error remains > 0.05 even for trees with 1000 tips (Table 3). This shows that, in general, analyses based on small datasets are prone to biases that decrease only slowly as the size of the dataset increases. Unfortunately, OU models are often fitted to phylogenies with fewer than 100 taxa (mean = 166.97 ± 43.86, median = 58; Fig. 3; see Supporting Information). We provide recommendations related to these findings below.
Table 2

Rejection rate and α estimates for data simulated under a constant‐rate Brownian model on a range of constant‐rate birth death trees

Tree typeTree sizeRejection rateMedian α (95% quantiles)
d/b = 0250.0950.165 (0–1.498)
d/b = 0500.0740.077 (0–0.589)
d/b = 01000.0780.045 (0–0.343)
d/b = 01500.0570.034 (0–0.249)
d/b = 02000.0550.021 (0–0.199)
d/b = 05000.0450.012 (0–0.115)
d/b = 010000.0390.006 (0–0.075)
d/b = 0.25250.0930.136 (0–0.968)
d/b = 0.25500.0920.069 (0–0.478)
d/b = 0.251000.0650.04 (0–0.267)
d/b = 0.251500.0650.031 (0–0.213)
d/b = 0.252000.0540.025 (0–0.166)
d/b = 0.255000.0470.01 (0–0.095)
d/b = 0.2510000.0440.005 (0–0.06)
d/b = 0.5250.1020.104 (0–0.851)
d/b = 0.5500.090.057 (0–0.394)
d/b = 0.51000.0750.039 (0–0.219)
d/b = 0.51500.0560.022 (0–0.154)
d/b = 0.52000.0660.017 (0–0.138)
d/b = 0.55000.0470.009 (0–0.07)
d/b = 0.510000.0450.004 (0–0.047)
d/b = 0.75250.1110.068 (0–0.572)
d/b = 0.75500.0990.044 (0–0.28)
d/b = 0.751000.0810.022 (0–0.146)
d/b = 0.751500.0860.019 (0–0.108)
d/b = 0.752000.0690.012 (0–0.088)
d/b = 0.755000.050.006 (0–0.047)
d/b = 0.7510000.0450.003 (0–0.03)

Tree type refers to the extinction fraction for the birth–death trees. The rejection rate is the proportion of Ornstein Uhlenbeck models favoured relative to a Brownian motion model.

Table 3

Rejection rate and α estimates for data simulated under a constant‐rate Brownian model on trees simulated under time‐variable speciation rates

Tree typeTree sizeRejection rateMedian α (95% quantiles)
Slow speed‐up250.1260.443 (0–3.18)
Slow speed‐up500.1180.34 (0–1.963)
Slow speed‐up1000.1050.22 (0–1.324)
Slow speed‐up1500.0980.189 (0–1.113)
Slow speed‐up2000.0850.162 (0–0.9)
Slow speed‐up5000.0610.096 (0–0.545)
Slow speed‐up10000.0610.065 (0–0.415)
Rapid speed‐up250.1910.882 (0–7.012)
Rapid speed‐up500.1360.603 (0–4.082)
Rapid speed‐up1000.1220.527 (0–3.024)
Rapid speed‐up1500.1220.442 (0–2.485)
Rapid speed‐up2000.0860.349 (0–2.01)
Rapid speed‐up5000.0790.241 (0–1.437)
Rapid speed‐up10000.0690.183 (0–1.083)
Slow slow‐down250.1120.278 (0–1.792)
Slow slow‐down500.0820.14 (0–0.985)
Slow slow‐down1000.0730.091 (0–0.549)
Slow slow‐down1500.0530.055 (0–0.388)
Slow slow‐down2000.0640.05 (0–0.349)
Slow slow‐down5000.050.028 (0–0.209)
Slow slow‐down10000.0420.017 (0–0.146)
Rapid slow‐down250.0930.192 (0–1.45)
Rapid slow‐down500.0770.118 (0–0.854)
Rapid slow‐down1000.0580.061 (0–0.408)
Rapid slow‐down1500.0640.038 (0–0.329)
Rapid slow‐down2000.0510.029 (0–0.278)
Rapid slow‐down5000.0360.014 (0–0.147)
Rapid slow‐down10000.0540.006 (0–0.11)

The rejection rate is the proportion of Ornstein Uhlenbeck models favoured relative to a Brownian motion model.

Rejection rate and α estimates for data simulated under a constant‐rate Brownian model on a range of constant‐rate birth death trees Tree type refers to the extinction fraction for the birth–death trees. The rejection rate is the proportion of Ornstein Uhlenbeck models favoured relative to a Brownian motion model. Rejection rate and α estimates for data simulated under a constant‐rate Brownian model on trees simulated under time‐variable speciation rates The rejection rate is the proportion of Ornstein Uhlenbeck models favoured relative to a Brownian motion model. For small trees the confidence limits on parameter estimates are broad (Fig. 2). However, the median is typically low irrespective of tree size (see Tables 2, 3) and even when the OU model is favoured, scrutiny of the model parameters suggest that the favoured OU model is biologically indistinguishable from Brownian motion. Indeed, examination of the effect of α on the expected covariances among taxa (see Fig. 4) confirms that covariances are barely distinguishable when α < 1 for unit height trees. This suggests that, notwithstanding the elevated Type I errors of OU models, their interpretation requires examination of parameters. We return to the issue of parameter interpretation below, specifically with reference to the increasingly commonly used phylogenetic half‐life.
Figure 2

Examples of profile likelihoods for selected simulated datasets for tippy (A), rooty (B) and Yule (C) simulated trees of 50 taxa. Each solid black line represents one simulated dataset selected at random. Tippy trees are those with branching events distributed disproportionately late in the clade's history (i.e. nearer to the present). Rooty trees are those with branching events distributed disproportionately early in the clade's history (i.e. nearer to the root). In all cases the ‘true’ value of α is 0 (black dashed line). The red dashed line represents −1.92 log‐likelihood units from the maximum: using log‐Likelihood ratio tests, values of α yielding values higher than this would be considered statistically indistinguishable from the Maximum Likelihood value.

Examples of profile likelihoods for selected simulated datasets for tippy (A), rooty (B) and Yule (C) simulated trees of 50 taxa. Each solid black line represents one simulated dataset selected at random. Tippy trees are those with branching events distributed disproportionately late in the clade's history (i.e. nearer to the present). Rooty trees are those with branching events distributed disproportionately early in the clade's history (i.e. nearer to the root). In all cases the ‘true’ value of α is 0 (black dashed line). The red dashed line represents −1.92 log‐likelihood units from the maximum: using log‐Likelihood ratio tests, values of α yielding values higher than this would be considered statistically indistinguishable from the Maximum Likelihood value.

Effects of measurement error on OU model performance

Measurement error can strongly affect the results of comparative analyses (Silvestro et al., 2015), and appears to influence whether OU is the favoured model across a range of datasets (see Pennell et al., 2015). Therefore, we also investigated whether adding error to our simulated data influenced estimates of α. We used the same procedure as above to simulate trait data under a Brownian motion model with known error. Specifically, we simulated trees under a Yule model with 25, 50, 100, 150, 200, 500 or 1000 tips and added branch length of (1) 1%, (2) 5% or (3) 10% of the tree height to the tips of the simulated trees. We then simulated data under a Brownian model on each tree. All our simulated trees and data are available on GitHub: https://github.com/nhcooper123/OhYou. We compared the fit of a Brownian model with that of an OU model using Likelihood ratio tests as described above, using the original trees without the addition of extra branch length to the tip edges. Our expectation is that the OU model should fit the data better than the Brownian model because the α parameter should account for much of the error. In this case, rejection of the Brownian model does not represent Type I error because it would be quite correct to reject the Brownian model. However, the reason for the better fit would be entirely unrelated to any macroevolutionary process. Table 4 shows the proportion of data sets in which the OU model is favoured over the Brownian model for data simulated under Brownian motion with error. The expectation is that the OU model should fit better because the branch length transformation partially captures the non‐Brownian component (the error). There are two points worth noting. First, the frequency with which the OU model is favoured increases with tree size. With as little as 5% error, the OU model becomes extremely difficult to reject, even for trees with just 100 species. This is important for the interpretation of the OU model; we cannot conclude anything about the evolutionary process from a single optimum OU model unless error is adequately accounted for. Second, for moderate amounts of error (5–10%), estimates of α are consistently > 1. Large values of α are similarly difficult to interpret because they are indicative that the signal of the past has been overwritten.
Table 4

Rejection rate and α estimates for data simulated under a constant rate Brownian model with 0, 1, 5 or 10% measurement error (m.e.)

Tree sizeRejection rateMedian α (95% quantiles)
0%1%5%10%0%1%5%10%
250.0950.1570.3180.4780.165 (0–1.498)0.234 (0–1.507)0.372 (0–5.51)0.574 (0–20)
500.0740.2030.5420.7560.077 (0–0.589)0.163 (0–0.789)0.372 (0–2.2)0.538 (0.062–14.381)
1000.0780.2510.8070.9570.045 (0–0.343)0.135 (0–0.503)0.357 (0.06–1.236)0.54 (0.153–4.094)
1500.0570.3870.9470.9970.034 (0–0.249)0.14 (0–0.445)0.37 (0.121–1.104)0.566 (0.224–7.381)
2000.0550.4870.98210.021 (0–0.199)0.136 (0–0.411)0.385 (0.142–1.089)0.544 (0.257–2.98)
5000.0450.848110.012 (0–0.115)0.152 (0.035–0.344)0.394 (0.219–0.919)0.58 (0.319–3.729)
10000.0390.995110.006 (0–0.075)0.168 (0.079–0.335)0.417 (0.259–0.844)0.596 (0.361–2.328)

The rejection rate is the proportion of Ornstein Uhlenbeck models favoured relative to a Brownian motion model.

Rejection rate and α estimates for data simulated under a constant rate Brownian model with 0, 1, 5 or 10% measurement error (m.e.) The rejection rate is the proportion of Ornstein Uhlenbeck models favoured relative to a Brownian motion model.

Limitations of the OU Model

Although it is possible to create and implement new models for comparative data that encompass a range of processes, we have to be aware that such models are statistically complex and may behave in unexpected ways. Transformations of the variance–covariance matrix in the Brownian model (e.g. λ; Pagel, 1997) are an attractive and computationally simple way to modify the basic model to include evolutionary processes. But, as first pointed out by Grafen (1989), the statistical consequences of these modifications can include biases and problems with interpretation. The results of our simulations illustrate that such problems can occur under conditions that closely match the size and type of datasets that are commonly used (Fig. 3, Supporting Information, Table S1).
Figure 3

The number of taxa in phylogenies used to fit Ornstein Uhlenbeck models in ecology, evolutionary biology and palaeontology papers published between 2005 and 2014. Two studies with > 3000 taxa have been omitted for clarity. See Supporting Information for details.

The number of taxa in phylogenies used to fit Ornstein Uhlenbeck models in ecology, evolutionary biology and palaeontology papers published between 2005 and 2014. Two studies with > 3000 taxa have been omitted for clarity. See Supporting Information for details. In the case of the OU model, there are several limitations worth highlighting: Type I error rates are high when sample size is low. The results of the simulations indicate that, in general, analyses based on small datasets are prone to biases that decrease only slowly as the size of the dataset increases. Likelihood ratio tests are untrustworthy. All Likelihood ratio tests assume that the Likelihood ratio statistic is asymptotically (i.e. as sample sizes become large) χ2‐distributed. In the OU model α is bounded (i.e. it cannot be any smaller than zero) and has a non‐linear effect on the expected variances, so the assumptions of the Likelihood ratio test are not likely to be upheld for small samples. Our simulations indicate that Likelihood ratio tests should not be relied upon for analyses with small sample sizes, and that for robust inference and testing, alternatives, such as simulation and Monte Carlo Markov chains (MCMC), should be considered [see Recommendations and potential solutions (1) and (2) below]. Note that these issues will also apply when using the Akaike information criterion (AIC) to compare models, as this is essentially the same as performing a Likelihood ratio test. AIC also presents other difficulties when used for complex models such as those used in phylogenetic comparative analyses, so we recommend avoiding them for these reasons. Measurement error increases Type I error rates. Our results show that a simple Brownian process can be mistaken for an OU process when a small amount of error is added to the data. The effects of measurement error become more severe with increasing tree size. These limitations mean that when evidence for the OU model is found, the results should be interpreted with caution, particularly where there is likely to be intraspecific variation or measurement error in the data.

Recommendations and potential solutions

We have highlighted several issues with the OU model above. These can be broadly divided into two classes: (1) fitting the model and (2) interpreting model parameters. These issues can be at least partially addressed with additional or alternative analytical approaches. Below we make recommendations for best practice in fitting the model and approaches to interpret model parameters. We highlight areas of future research that may be important in alleviating outstanding issues.

Recommendations for model fitting

Simulate under the null model. OU models should not be applied to small trees. Our simulations indicate that trees with > 200 tips are necessary to obtain acceptable Type I error rates. However, we are cautious about recommending a minimum tree size because the performance of the OU model may vary among datasets for reasons other than tree size. We note also that large trees are particularly susceptible to issues arising from unaccounted measurement error in the data. Instead, we suggest using simulations to assess the model fit. Simulating data under the Brownian model will generate null distributions (e.g. Boettiger et al., 2012) and allow straightforward assessment of model fit, for example by generating appropriate critical values for Likelihood ratio tests. Boettiger et al. (2012) discuss this at length and other papers use similar approaches (e.g. Martins & Garland, 1991; Freckleton, Harvey & Pagel, 2002). Consider Bayesian approaches. An alternative but less explored approach is to use Bayesian methods. Bayesian model fitting has not been widely available for OU model fitting until recently but is now possible in R packages including diversitree (FitzJohn, 2012) and GEIGER (the Single Stationary Peak model in fitContinuousMCMC; Harmon et al., 2008) and stand‐alone software including BayesTraits (Pagel & Meade, 2013). We explored Bayesian methods as a possible remedy to the limitations of fitting OU models in a Likelihood framework. We repeated our simulations in a Bayesian framework implemented in BayesTraits (Pagel & Meade, 2013). We determined the fit to an OU model using Bayes factors estimated from a stepping stone sampling procedure (Xie et al., 2010). The marginal likelihoods of the models were calculated using a stepping stone sampler in which 50 stones were drawn from a beta distribution with α = 0.4 and β = 1. Each stone was sampled for 20 000 iterations (with the first 5000 iterations discarded). We use stepping stone sampling as it has been shown to estimate the marginal likelihood better than the harmonic mean (Baele et al., 2012). We treated Bayes factors > 2 as evidence favouring the OU model (Kass & Raftery, 1995). We ran the MCMCs for 1 × 106 iterations, disregarding the first 1 × 104 as burn‐in. Following burn‐in the chains were sampled every 1000 iterations to ensure independence of each consecutive sample. Multiple independent chains were run for each analysis to ensure convergence was reached. An important challenge for Bayesian approaches is selection of appropriate priors. We used three alternative sets of priors on α: (1) an exponential distribution with mean = 1, (2) an exponential distribution with mean = 10 and (3) a uniform distribution bounded at 0 and 20. For all analyses we used a uniform −100 to 100 prior for μ and uniform 0–100 prior for σ2. Table 5 shows the results from the exponential prior with mean = 10. This is a broad, liberal prior, but our results are similar regardless of priors. The Bayesian approach results in highly conservative rejection rates regardless of tree shape in the absence of measurement error. While this is encouraging from the perspective of falsely rejecting the Brownian null model, it is also indicative of potentially low statistical power, although testing would be required to confirm this. The Bayesian approach also appears to more readily handle low levels of measurement error (Table 6). With 1% measurement error the Bayesian approach retains acceptable rejection rates (< 0.05) for trees of up to 150 tips. However, more error or larger trees result in the frequent rejection of the Brownian model. As noted above, this is not an issue of Type I error and it is entirely correct that the Brownian model is rejected. In such cases emphasis should shift to how the α parameter is interpreted. Bayesian analysis is a promising approach for OU model fitting. However, further testing of the Bayesian approach to simulated data sets under a wide range of values of α is necessary to fully characterize performance.
Table 5

Rejection rate and α estimates for data simulated under a constant‐rate Brownian model on a range of constant‐rate birth death trees using Bayesian methods

Tree typeTree sizeRejection rateMedian alpha (95% quantiles)
b/d = 0250.0210.132 (0.025–1.876)
b/d = 0500.0030.063 (0.017–0.494)
b/d = 01000.0010.041 (0.012–0.304)
b/d = 01500.0010.033 (0.009–0.227)
b/d = 02000.0020.026 (0.008–0.186)
b/d = 050000.016 (0.005–0.105)
b/d = 0100000.011 (0.004–0.072)
b/d = 0.25250.0090.1 (0.021–1.189)
b/d = 0.25500.0010.051 (0.013–0.42)
b/d = 0.251000.0020.035 (0.01–0.235)
b/d = 0.2515000.028 (0.007–0.194)
b/d = 0.252000.0010.024 (0.007–0.149)
b/d = 0.2550000.013 (0.004–0.093)
b/d = 0.25100000.009 (0.003–0.057)
b/d = 0.5250.0090.077 (0.015–0.922)
b/d = 0.5500.0020.041 (0.01–0.334)
b/d = 0.510000.029 (0.007–0.184)
b/d = 0.515000.02 (0.005–0.138)
b/d = 0.520000.016 (0.005–0.122)
b/d = 0.550000.011 (0.003–0.068)
b/d = 0.5100000.007 (0.002–0.046)
b/d = 0.75250.0080.047 (0.009–0.683)
b/d = 0.755000.027 (0.006–0.236)
b/d = 0.7510000.016 (0.004–0.127)
b/d = 0.7515000.014 (0.004–0.095)
b/d = 0.752000.0010.011 (0.003–0.084)
b/d = 0.7550000.007 (0.002–0.044)
b/d = 0.75100000.004 (0.001–0.028)

Tree type refers to the extinction fraction for the birth–death trees. The value of α is the median across simulated data sets based on modal estimates from the posterior distribution. The rejection rate is the proportion of Ornstein Uhlenbeck models favoured relative to a Brownian motion model based on Bayes factors > 2.

Table 6

Rejection rate and α estimates for data simulated under a constant rate Brownian model with 0, 1, 5, or 10% measurement error (m.e.) using Bayesian methods

Tree sizeRejection rateMedian α (95% quantiles)
0%1%5%10%0%1%5%10%
250.0210.0310.1090.1910.132 (0.025–1.876)0.158 (0.03–2.076)0.286 (0.034–3.726)0.509 (0.049–5.848)
500.0030.0180.1580.3320.063 (0.017–0.494)0.107 (0.019–0.723)0.315 (0.034–2.245)0.481 (0.057–5.679)
1000.0010.0330.3640.7080.041 (0.012–0.304)0.11 (0.016–0.485)0.333 (0.044–1.202)0.521 (0.135–3.183)
1500.0010.0450.6370.9060.033 (0.009–0.227)0.123 (0.016–0.424)0.357 (0.108–1.074)0.553 (0.208–4.977)
2000.0020.0970.8190.9780.026 (0.008–0.186)0.126 (0.015–0.399)0.372 (0.134–1.098)0.538 (0.243–2.845)
50000.426110.016 (0.005–0.105)0.147 (0.032–0.34)0.391 (0.214–0.923)0.575 (0.311–3.36)
100000.86110.011 (0.004–0.072)0.165 (0.077–0.335)0.414 (0.256–0.85)0.592 (0.359–2.278)

The value of α is the median across simulated data sets based on modal estimates from the posterior distribution. The rejection rate is the proportion of Ornstein Uhlenbeck models favoured relative to a Brownian motion model.

Rejection rate and α estimates for data simulated under a constant‐rate Brownian model on a range of constant‐rate birth death trees using Bayesian methods Tree type refers to the extinction fraction for the birth–death trees. The value of α is the median across simulated data sets based on modal estimates from the posterior distribution. The rejection rate is the proportion of Ornstein Uhlenbeck models favoured relative to a Brownian motion model based on Bayes factors > 2. Rejection rate and α estimates for data simulated under a constant rate Brownian model with 0, 1, 5, or 10% measurement error (m.e.) using Bayesian methods The value of α is the median across simulated data sets based on modal estimates from the posterior distribution. The rejection rate is the proportion of Ornstein Uhlenbeck models favoured relative to a Brownian motion model.

Recommendations for interpreting α

Consider plausible alternative hypotheses. Because the OU model was proposed with evolutionary processes in mind, alternative and arguably more parsimonious explanations for favouring OU models and interpreting non‐zero α are often overlooked. The effects of measurement error in particular suggest that α must always be interpreted with caution. Many issues of misinterpretation can be solved by carefully inspecting the α parameter when an OU model is favoured. Often, when Likelihood ratio tests suggest the OU model should be favoured over the Brownian model, estimates of α are actually very small and biologically indistinguishable from Brownian (e.g. examples in Harmon et al., 2010). In these circumstances, it is likely that measurement error, intraspecific variation or phylogenetic uncertainty are generating noise that is more effectively modelled by the extra parameters in the OU model than by the Brownian model alone. Thus, this does not reflect any kind of OU process underlying the data. The similarity between Brownian and OU models with small α is demonstrated in Fig. 4. At the other extreme, as values of α become larger, the effects of changing α on model predictions are increasingly small and large values of α are indistinguishable from white‐noise.
Figure 4

Scaling of expected trait similarity with time since evolutionary divergence predicted by the Ornstein Uhlenbeck model. The covariance between species’ trait values is scaled by the intra‐specific trait variance (i.e. equal to correlation between species’ traits). This is plotted against the relative time of shared history (time at which species branched from each other, divided by the total tree height: t /T). Different panels show different ranges of ?: (A) α = 0 to 0.5; (B) α = 1 to 5; and (C) α = 10‐50. In (A) trait evolution is essentially Brownian; in (C) it is independent of phylogeny.

Scaling of expected trait similarity with time since evolutionary divergence predicted by the Ornstein Uhlenbeck model. The covariance between species’ trait values is scaled by the intra‐specific trait variance (i.e. equal to correlation between species’ traits). This is plotted against the relative time of shared history (time at which species branched from each other, divided by the total tree height: t /T). Different panels show different ranges of ?: (A) α = 0 to 0.5; (B) α = 1 to 5; and (C) α = 10‐50. In (A) trait evolution is essentially Brownian; in (C) it is independent of phylogeny. One good strategy for data exploration would be to simulate data under Brownian and the favoured OU model to generate distributions of parameters under known values. These can then be compared with results for your dataset (see Slater, 2014; Slater & Pennell, 2014; for a related approach). This is important because we have shown that the shape of a phylogeny has consequences for parameter biases and hypothesis tests. Any given tree will therefore generate unique parameter estimates. Generating data under the favoured OU model will allow an assessment of whether it is possible to retrieve known values, or whether there is evidence of bias. Calculate the phylogenetic half‐life. The α parameter ranges from zero to infinity (although in practice an upper bound is often set; for example, in GEIGER this is α = 150; Harmon et al., 2008), thus recognizing ‘small’ or ‘large’ values may not be intuitive. α can sometimes be interpreted more easily by using it to estimate the ‘phylogenetic half‐life’ () of a trait, i.e. the time it takes for a species entering a new niche to evolve halfway toward its new expected optimum (Hansen, 1997), as follows: If is short relative to the branch lengths of the phylogeny, evolution towards the optimum trait value is fast, residual phylogenetic correlations are weak and there is little influence of the past on trait values (Hansen, 1997). equal to the height of the phylogeny is a moderate value (Hansen & Bartoszek, 2012). We would not advise interpreting as literally being ‘the time it takes for a species entering a new niche to evolve halfway toward its new expected optimum’ (Hansen, 1997). However, if is extremely large relative to tree height, it suggests that if an OU process is acting, it is extremely weak (e.g. for a clade that is 50 Myr old, a of 100 Myr suggests a species will not approach the optimum within the temporal range of the clade), and thus should not be interpreted as evidence of any kind of process. As a further note of caution, it is important to recognize that biases in the estimation of α would lead to similar biases in . If possible, include ancillary data. If data on fossils are available then these could be incorporated into the analysis (Slater, Harmon & Alfaro, 2012). Indeed, if fossil taxa can be reliably placed in the phylogeny then they may improve model accuracy and a strong case can be made that fossils should be included. On the other hand, if there is substantial uncertainty in fossil placement then they should be treated cautiously. Placement of fossil taxa is implemented in GEIGER (Harmon et al., 2008) and BayesTraits (Pagel & Meade, 2013). A caution here is that the OU model for non‐ultrametric trees has to be carefully parameterized because for non‐ultrametric trees the co‐variances depend on both the shared distances between species and the distance of a node to the nearest tip (see eqn A6). This creates potential problems in parameterization and in interpretation because the variance–covariance matrix is no longer tree‐like; for example, related species can effectively become more similar to one another than to themselves – an inherently non tree‐like pattern (Slater, 2014). Some current implementations of the OU model are based on transforming the tree directly, rather than transforming the variance–covariance matrix (e.g. MOTMOT; Thomas & Freckleton, 2011). These implementations should not be used with fossil data.

Conclusions and Outstanding Issues

A recurring theme from our simulations is that interpretation of OU models is not straightforward. More focus is needed on the interpretation of α rather than simply model fit. Even when the OU model is favoured, α may be so small as to be indistinguishable from Brownian motion in any biological sense. It would clearly be very useful to have estimates of measurement error for all species traits, although the inclusion of species‐specific variances has to be done carefully (e.g. Grafen, 1989). Several approaches for accounting for error have been proposed and warrant wider implementation for OU models and other models of trait evolution (e.g. Lynch, 1991; Martins & Hansen, 1997; Ives, Midford & Garland, 2007; Hansen & Bartoszek, 2012; Rohlfs, Harrigan & Nielsen, 2014), but it is outside our scope to explore these here. Indeed, the problems that we report are not limited to OU models. Any model of trait evolution that attempts to account for non‐Brownian components of trait variation is susceptible to being misled by measurement error, and in some scenarios measurement error can also incorrectly favour Brownian motion over the true model, e.g. if the true model is Early Burst. The fundamental problem is that rejection of the Brownian model in favour of another model does not necessarily say anything about process. This problem can be alleviated to some extent if model comparisons are set in a firm hypothesis‐testing framework in which alternative hypotheses make clear predictions of emerging patterns that can be unambiguously associated with particular models (e.g. Cooper, Freckleton & Jetz, 2011), although this does not appear to be possible for comparisons of the single stationary peak OU model with noisy Brownian processes. We should therefore not use any statistical model without thinking carefully about the limits in terms of both data and interpretation.

Epilogue: The Challenges of Open and Reproducible Science

At the symposium that generated this special issue, one of us (N.C.) gave a talk on Open Science and reproducibility. We have therefore tried to make this paper as open and reproducible as possible. All simulated phylogenies, data and R code are available on GitHub: https://github.com/nhcooper123/OhYou. However, although our R code is provided, it is disorganized and thus difficult to use. We also do not provide an automated way of reproducing the data collection for our literature review. Nor do we use tools such as Travis CI (travis‐ci.org), Docker (www.docker.com) or packrat (Ushey et al., 2015) to increase the reproducibility of our analyses. Additionally, we use BayesTraits to run our Bayesian analyses. BayesTraits is free to download as a binary executable for various platforms but it is not Open Source. This means that while BayesTraits analyses are reproducible, the software has limitations with respect to long‐term development of the code. We included this epilogue to highlight that fully reproducible and Open Science is challenging, but we are trying to improve. With a little effort most people should be able to produce something vaguely reproducible, and to provide their data and code, moving us all slightly closer to truly reproducible and Open Science. Table S1. Details of the papers used in our literature review. Click here for additional data file.
  44 in total

Review 1.  Niche conservatism as an emerging principle in ecology and conservation biology.

Authors:  John J Wiens; David D Ackerly; Andrew P Allen; Brian L Anacker; Lauren B Buckley; Howard V Cornell; Ellen I Damschen; T Jonathan Davies; John-Arvid Grytnes; Susan P Harrison; Bradford A Hawkins; Robert D Holt; Christy M McCain; Patrick R Stephens
Journal:  Ecol Lett       Date:  2010-10       Impact factor: 9.492

2.  Body size evolution in mammals: complexity in tempo and mode.

Authors:  Natalie Cooper; Andy Purvis
Journal:  Am Nat       Date:  2010-06       Impact factor: 3.926

3.  Within-species variation and measurement error in phylogenetic comparative methods.

Authors:  Anthony R Ives; Peter E Midford; Theodore Garland
Journal:  Syst Biol       Date:  2007-04       Impact factor: 15.683

Review 4.  The seven deadly sins of comparative analysis.

Authors:  R P Freckleton
Journal:  J Evol Biol       Date:  2009-06-05       Impact factor: 2.411

5.  STABILIZING SELECTION AND THE COMPARATIVE ANALYSIS OF ADAPTATION.

Authors:  Thomas F Hansen
Journal:  Evolution       Date:  1997-10       Impact factor: 3.694

6.  PHYLOGENETIC ANALYSES OF THE CORRELATED EVOLUTION OF CONTINUOUS CHARACTERS: A SIMULATION STUDY.

Authors:  Emilia P Martins; Theodore Garland
Journal:  Evolution       Date:  1991-05       Impact factor: 3.694

7.  Integrating fossils with molecular phylogenies improves inference of trait evolution.

Authors:  Graham J Slater; Luke J Harmon; Michael E Alfaro
Journal:  Evolution       Date:  2012-07-10       Impact factor: 3.694

8.  Anatomical enablers and the evolution of C4 photosynthesis in grasses.

Authors:  Pascal-Antoine Christin; Colin P Osborne; David S Chatelet; J Travis Columbus; Guillaume Besnard; Trevor R Hodkinson; Laura M Garrison; Maria S Vorontsova; Erika J Edwards
Journal:  Proc Natl Acad Sci U S A       Date:  2012-12-24       Impact factor: 11.205

9.  Modeling stabilizing selection: expanding the Ornstein-Uhlenbeck model of adaptive evolution.

Authors:  Jeremy M Beaulieu; Dwueng-Chwuan Jhwueng; Carl Boettiger; Brian C O'Meara
Journal:  Evolution       Date:  2012-04-09       Impact factor: 3.694

10.  A novel Bayesian method for inferring and interpreting the dynamics of adaptive landscapes from phylogenetic comparative data.

Authors:  Josef C Uyeda; Luke J Harmon
Journal:  Syst Biol       Date:  2014-07-30       Impact factor: 15.683

View more
  60 in total

Review 1.  A Systematist's Guide to Estimating Bayesian Phylogenies From Morphological Data.

Authors:  April M Wright
Journal:  Insect Syst Divers       Date:  2019-06-18

2.  Massive increase in visual range preceded the origin of terrestrial vertebrates.

Authors:  Malcolm A MacIver; Lars Schmitz; Ugurcan Mugan; Todd D Murphey; Curtis D Mobley
Journal:  Proc Natl Acad Sci U S A       Date:  2017-03-07       Impact factor: 11.205

3.  Shedding light on the 'dark side' of phylogenetic comparative methods.

Authors:  Natalie Cooper; Gavin H Thomas; Richard G FitzJohn
Journal:  Methods Ecol Evol       Date:  2016-06-13       Impact factor: 7.781

4.  The impact of phylogenetic dating method on interpreting trait evolution: a case study of Cretaceous-Palaeogene eutherian body-size evolution.

Authors:  T J D Halliday; A Goswami
Journal:  Biol Lett       Date:  2016-08       Impact factor: 3.703

5.  Phylogenetic analysis of standard metabolic rate of snakes: a new proposal for the understanding of interspecific variation in feeding behavior.

Authors:  Daniel Rodrigues Stuginski; Carlos Arturo Navas; Fábio Cury de Barros; Agustín Camacho; José Eduardo Pereira Wilken Bicudo; Kathleen Fernandes Grego; José Eduardo de Carvalho
Journal:  J Comp Physiol B       Date:  2017-10-06       Impact factor: 2.200

6.  Arboreality constrains morphological evolution but not species diversification in vipers.

Authors:  Laura Rodrigues Vieira de Alencar; Marcio Martins; Gustavo Burin; Tiago Bosisio Quental
Journal:  Proc Biol Sci       Date:  2017-12-20       Impact factor: 5.349

7.  Rapid phenotypic evolution following shifts in life cycle complexity.

Authors:  Ronald M Bonett; John G Phillips; Nicholus M Ledbetter; Samuel D Martin; Luke Lehman
Journal:  Proc Biol Sci       Date:  2018-01-31       Impact factor: 5.349

8.  Inner ear sensory system changes as extinct crocodylomorphs transitioned from land to water.

Authors:  Julia A Schwab; Mark T Young; James M Neenan; Stig A Walsh; Lawrence M Witmer; Yanina Herrera; Ronan Allain; Christopher A Brochu; Jonah N Choiniere; James M Clark; Kathleen N Dollman; Steve Etches; Guido Fritsch; Paul M Gignac; Alexander Ruebenstahl; Sven Sachs; Alan H Turner; Patrick Vignaud; Eric W Wilberg; Xing Xu; Lindsay E Zanno; Stephen L Brusatte
Journal:  Proc Natl Acad Sci U S A       Date:  2020-04-20       Impact factor: 11.205

9.  A toothless dwarf dolphin (Odontoceti: Xenorophidae) points to explosive feeding diversification of modern whales (Neoceti).

Authors:  Robert W Boessenecker; Danielle Fraser; Morgan Churchill; Jonathan H Geisler
Journal:  Proc Biol Sci       Date:  2017-08-30       Impact factor: 5.349

10.  Selection maintains signaling function of a highly diverged intrinsically disordered region.

Authors:  Taraneh Zarin; Caressa N Tsai; Alex N Nguyen Ba; Alan M Moses
Journal:  Proc Natl Acad Sci U S A       Date:  2017-02-06       Impact factor: 11.205

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.