Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-05T10:37:07.155Z Has data issue: false hasContentIssue false

Bayesian multilevel modeling disentangles phylogenetic and ecological signal in three-dimensional geometric morphometric analysis of the bovid astragalus

Published online by Cambridge University Press:  27 October 2026

Madeleine Kelly*
Affiliation:
Department of Organismal Biology and Anatomy, The University of Chicago , Chicago, Illinois 60637, U.S.A.
Graham Slater
Affiliation:
Department of the Geophysical Sciences, The University of Chicago , Chicago, Illinois 60637, U.S.A. Field Museum of Natural History , Chicago, Illinois 60605, U.S.A.
Zeresenay Alemseged
Affiliation:
Department of Organismal Biology and Anatomy, The University of Chicago , Chicago, Illinois 60637, U.S.A.
*
Corresponding author: Madeleine Kelly; Email: mgkelly@uchicago.edu

Abstract

By linking form and function within a particular ecological context, ecomorphology provides a method for reconstructing unknown aspects of the ecology of fossil species. To test how differences in morphology can separate among ecological categories, canonical variates analysis (CVA) is typically employed. However, whether CVA is the most appropriate method for ecomorphology is questionable, as its underlying assumptions, particularly regarding sample size, are often unmet in high-dimensional biological datasets. Moreover, CVA cannot account for the influence of phylogeny. Therefore, alternative statistical methods, which can appropriately handle limited sample sizes and phylogenetic covariance are needed to improve ecomorphological inferences. To achieve this, we employ Bayesian ordinal regression models that discriminate among habitat categories using 3D landmark data of extant African Bovidae astragali, both with and without a phylogenetic parameter. Without a phylogenetic parameter, classification success rates of each model either meet or exceed those of CVAs using the same variables. Including a phylogenetic grouping variable generates nearly perfect predictions of habitat category when species identity and phylogenetic attributions are known, but poor predictions when unknown. Although consideration of similarity due to phylogenetic covariation is critical in evolutionary studies, our results indicate that separating the effect of phylogeny from morphological variables can be detrimental to group membership prediction for taxonomically indeterminate specimens. Therefore, whether to include a phylogenetic effect is contingent upon the research question and the study system. Our work indicates that a Bayesian modeling framework is a robust tool for investigating ecomorphology, with promising future applications for paleoecological studies.

Information

Type
Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press on behalf of Paleontological Society
Figure 0

Figure 1. Posterior predictive plots for three Bayesian ordinal regression models that do not include a phylogenetic grouping variable and thus consider each astragalus as an independent observation irrespective of species identity. The plots depict reconstructed habitat categories for the astragali used to generate the model (n = 136). Models varied in the number of principal components (PCs) included as predictors: PCs 1–8, which were significant according to a broken stick algorithm (A, D); PCs 1–30, which represent 95% of sample variance (B, E); and PCs 1–53, which are the full dataset (C, F). The percentage of individuals reclassified correctly by the model is shown below each column. (A–C) Bar plots separating the dataset according to known habitat category, with each bar colored according to the model’s predicted habitat for the members of that habitat group. Across the three models that used varying numbers of PCs as predictors, posterior predictions are most accurate for the Open group, and least accurate for Forest habitat bovids. (D–F) Scatter plots indicating the range of weighted sum posterior probabilities of group membership for each individual bovid within each habitat group. Points are colored according to the habitat group that had the greatest individual posterior probability for that individual. F, Forest; HC, Heavy Cover; LC, Light Cover; O, Open.Figure 1. long description.

Figure 1

Table 1. Widely applicable information criterion (WAIC) scores, effective number of parameters (pWAIC), and standard error of WAIC scores for the three models using principal components (PCs) only to predict habitat category. Models are arranged from lowest to highest WAIC score, with the lowest WAIC scores indicating the least overfitting riskTable 1. long description.

Figure 2

Figure 2. Results from three canonical variates analyses (CVAs) using all individuals (n = 136) that vary in the number of principal components (PCs) used as input variables. In all scatter plots, individual points represent a single astragalus and are colored according to their known habitat category. The shape of each point indicates its tribe-level taxonomy. Leave-one-out cross-validation success rates are included for each model at the bottom of each column. (A, D) CV 1 vs. CV 2 and CV 1 vs. CV 3 for a model using only the PCs that were significant according to a broken stick algorithm (PCs 1–8). (B, E) CV 1 vs. CV 2 and CV 1 vs. CV 3 when the first 30 PCs, which represent 95% of the sample variance, are used as predictor variables. (C, F) CV 1 vs. CV 2 and CV 1 vs. CV 3 for a model using all 53 PCs as predictor variables.Figure 2. long description.

Figure 3

Figure 3. Posterior predictive plots for the three Bayesian ordinal regression models which account for phylogenetic covariance by including a phylogenetic grouping variable. The plots show reconstructed habitat categories for the astragali used to generate the model (n = 136). Models varied in the number of principal components (PCs) included as predictors: PCs 1–8, which were significant according to a broken stick algorithm (A, D); PCs 1–30, which represent 95% of sample variance (B, E); and PCs 1–53, which are the full dataset (C, F). The percentage of individuals reclassified correctly by the model is shown below each column. (A–C) Bar plots indicating the proportion of the dataset belonging to each habitat category, with each bar colored according to the model’s predicted habitat for the members of that habitat group. (D–F) Scatter plots indicating the range of weighted sum posterior probabilities of group membership for each individual bovid within each habitat group. Points are colored according to the habitat group that had the greatest individual posterior probability for that individual. F, Forest; HC, Heavy Cover; LC, Light Cover; O, Open.Figure 3. long description.

Figure 4

Table 2. Widely applicable information criterion (WAIC) scores, effective number of parameters (pWAIC), and standard error of WAIC scores for the three phylogenetic Bayesian models. Models are arranged from lowest to highest WAIC score, with the lowest WAIC scores indicating the least overfitting risk. PC, principal componentTable 2. long description.

Figure 5

Table 3. Phylogenetic signal estimates with lower and upper 95% confidence intervals for each Bayesian ordinal regression model that included phylogenetic covariance as a parameter. PC, principal componentTable 3. long description.

Figure 6

Figure 4. Posterior predictive plots for the three Bayesian ordinal regression models that account for phylogenetic covariance, but where posterior predictions excluded the phylogenetic group-level effects. By ignoring the phylogenetic group-level effects, these results demonstrate how the phylogenetic models would perform when predicting habitat for astragali of unknown species identity, or in other words, how separating the effect of phylogeny from the principal component (PC) predictor variables impacts model predictions. Plots indicate reconstructed habitat categories for the astragali used to generate the model (n = 136). Models varied in the number of PCs included as predictors: PCs 1–8, which were significant according to a broken stick algorithm (A, D); PCs 1–30, which represent 95% of sample variance (B, E); and PCs 1–53, which are the full dataset (C, F). The percentage of individuals reclassified correctly by the model is shown below each column. (A–C) Bar plots indicating the proportion of the dataset belonging to each habitat category, with each bar colored according to the model’s predicted habitat for the members of that habitat group. (D–F) Scatter plots indicating the range of weighted sum posterior probabilities of group membership for each individual bovid within each habitat group. Points are colored according to the habitat group that had the greatest individual posterior probability for that individual. F, Forest; HC, Heavy Cover; LC, Light Cover; O, Open.Figure 4. long description.

Figure 7

Figure 5. Posterior estimates of beta (slope) coefficients for each principal component (PC) predictor variable in the non-phylogenetic PC 1–8 model (purple) and the PC 1–8 model, which includes a phylogenetic group-level effect (orange). The inclusion of a phylogenetic group-level effect in the model reduces the mean effect size of the PC variables, pulling the distributions closer to a mean of zero (gray vertical line), and increases the width of the probability distributions of those effects.Figure 5. long description.

Figure 8

Figure 6. Posterior estimates of (A) phylogenetic group-level effects and (B) species-specific group effects for the model including principal components (PCs) 1–8. Each density plot is colored according to the known habitat category for each species. Phylogenetic group-level effects range widely in values, with some modeled as having very large effects. The species-specific grouping variables all approach zero, suggesting that after phylogeny is accounted for, there is no more non-phylogenetic, species-specific variation left to be explained by the model. F, Forest; HC, Heavy Cover; LC, Light Cover; O, Open.Figure 6. long description.

Figure 9

Figure 7. Results from phylogenetic flexible discriminant analyses (pFDAs) using species means (n = 36). Analyses varied in the number of principal components (PCs) used as input variables. In all scatter plots, individual points represent a species mean astragalus and are colored according to their known habitat categories. The shape of each point indicates its tribe-level taxonomy. Leave-one-out cross-validation success rates are included for each model at the bottom of each column. (A) Discriminant axis (DA) 1 vs. DA 2, for a pFDA using only the PCs that were significant according to a broken stick algorithm (PC 1, PC 2). (B, D) DA 1 vs. DA 2 and DA 1 vs. DA 3 when the first 19 PCs, which represent 95% of the sample variance, are used as predictor variables. (C, E) DA 1 vs. DA 2 and DA 1 vs. DA 3 for a model using PCs 1–32 as predictor variables.Figure 7. long description.