Dependent variable selection in phylogenetic generalized least squares regression analysis under Pagel's lambda model
Abstract
Phylogenetic generalized least squares (PGLS) regression is widely used to examine evolutionary associations while accounting for phylogenetic non-independence, but it requires designating one trait as the dependent variable and the other as the independent variable. When causal relationships between traits are unclear, choosing which trait serves as the dependent variable becomes a practical concern. While studying the evolutionary relationship between bacterial growth rate and CRISPR-Cas content, we noticed that switching the roles of dependent and independent variables in PGLS analyses could lead to inconsistent conclusions in a substantial proportion of cases. To confirm this observation, we conducted 16,000 simulations of trait evolution along binary trees with 100 terminal nodes under different evolutionary models. PGLS regressions using Pagels {lambda} model were applied to each simulation, and the results consistently showed that swapping the dependent and independent variables can lead to inconsistent outcomes. We evaluated seven potential criteria for selecting the dependent variable, including log-likelihood, AIC, R2, p-value, Pagels {lambda}, Blombergs K, and the estimated {lambda} in the Pagels {lambda} model. Among these, Pagels {lambda}, Blombergs K, and the estimated {lambda} performed equally well and outperformed the others in selecting the dependent variable, providing a reliable basis for PGLS analyses when causal direction between traits is unclear.
02 /Specification & Classification
Click any tag to browse matching papers- Organism
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Characterizing and mitigating confounding by unreplicated evolutionary events in phylogenetic regression
Qifan Wang, Michael D. Edge, … Matthew W. Pennell·Evolution LettersPeer-reviewed·Jul 11, 2026
- Optimizing Phylogenetic Eigenvector Regression: Union Eigenvectors, Robust Estimation, and Flexible Application to Comparative Analyses
Zhenglin Chen, Deng‐Ke Niu·EvolutionPeer-reviewed·Mar 18, 2026
- The comparative analysis of lineage-pair traits.
Sean A. S. Anderson, Sachin Kaushik, Daniel Ricardo Matute·Systematic BiologyPeer-reviewed·Sep 5, 2025
- Robust Phylogenetic Regression
R. Adams, Z. Cain, … M. DeGiorgio·bioRxiv·Aug 26, 2022
- Searching for patterns in rate of molecular evolution using phylogenetic pairwise contrasts
Jordan Douglas, Lindell D. Bromham·bioRxiv·Aug 17, 2026
- Sizing up phylogenetic testing in geometric morphometrics: A case study of allometry
D. Rex Mitchell, Ben Halliwell, … Vera Weisbecker·Bijdragen tot de DierkundePeer-reviewed·Jul 6, 2026