Search bioRxiv⌕ Search

bioRxiv · 10.1101/144170

R2s for Correlated Data: Phylogenetic Models, LMMs, and GLMMs

Abstract

Many researchers want to report an R2 to measure the variance explained by a model. When the model includes correlation among data, such as phylogenetic models and mixed models, defining an R2 faces two conceptual problems. (i) It is unclear how to measure the variance explained by predictor (independent) variables when the model contains covariances. (ii) Researchers may want the R2 to include the variance explained by the covariances by asking questions such as \"How much of the variance is explained by phylogeny?\" Here, I investigate three R2s for phylogenetic and mixed models. A least-squares R2ls is an extension of the ordinary least-squares R2 that weights residuals by variances and covariances estimated by the model; it is closely related to R2glmm proposed by Nakagawa & Schielzeth (2013). The conditional expectation R2ce is based on \"predicting\" each residual from the remaining residuals of the fitted model. The likelihood ratio R2lr was first used by Cragg & Uhler (1970) for logistic regression, and here is used with the standardization proposed by Nagelkerke (1991). These three R2s are formulated as partial R2s, making it possible to compare the contributions of mean components (regression coefficients in phylogenetic models and fixed effects in mixed models) and variance components (phylogenetic correlations and random effects) to the fit of models. The properties of the R2s for phylogenetic models were assessed using simulations for continuous and binary response data (phylogenetic generalized least squares and phylogenetic logistic regression). Because the R2s are designed broadly for any model for correlated data, the R2s were also compared for LMMs and GLMMs. R2ls, R2ce, and R2lr all have good performance, and each has advantages and disadvantages for different applications. These R2s are computed in the R package rr2 (https://github.com/arives/rr2). [Binomial regression, coefficient of determination, non-independent residuals, phylogenetic model, pseudo-likelihood]

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Ives, A.. 2017-05-30. R2s for Correlated Data: Phylogenetic Models, LMMs, and GLMMs. https://doi.org/10.1101/144170

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Measuring the strength of selection and pollen limitation on flower colour along an urban rural cline in Hesperis matronalis

Closely located urban and rural environments can differ in temperature, water availability, species diversity, and more. As a result, organisms in urban environments may experience different selection than those in rural environments. We investigated whether differences in selection might explain a previously identified urban-rural cline in the flower colour of Hesperis matronalis (dame's rocket). To explore whether plants in urban and rural environments are impacted by possible differences in pollinator availability or behavior, we performed a pollen supplementation experiment. We did not detect an effect of pollen supplementation on seed production in either setting (urban or rural), indicating that there is limited opportunity for any differences in pollinator availability or visitation to explain the cline in flower colour. We also measured the strength of selection acting on flower colour to investigate if it differed between urban and rural populations. In all but one population, we failed to detect significant linear or non-linear selection on flower colour, suggesting that selection on flower colour does not differ between urban and rural populations. Our results suggest that the urban-rural flower colour cline is likely not caused by differences in selection or pollen-limitation and may be due to stochastic forces.

evolutionary biology↗

An elongated lifespan is associated with higher oxidative protection of flight tissue in Heliconiini butterflies

Evolutionary theories of ageing often invoke trade-offs in resource allocation between somatic maintenance and other important physiological functions. One proposed mechanistic mediator of these trade-offs is oxidative stress, which arises from an imbalance between an organism's production of reactive oxygen species and its ability to detoxify them. Accordingly, many long-lived species across the animal kingdom show evidence for resistance to oxidative stress. However, it can be difficult to associate lifespan differences with oxidative phenotypes when comparing species across wide taxonomic distances, which may also show large differences in physiology. Butterflies in the long-lived Heliconius genus show a 3-fold lifespan extension and slowed ageing in comparison with their close relatives in the Heliconiini tribe, to whom they are phylogenetically, ecologically, and physiologically similar. However, proximate explanations for this extended longevity are currently lacking. Here, we leverage the neat comparative framework between Heliconius hecale and Dryas iulia, a shorter-lived Heliconiini outgroup, to test whether the observed lifespan differences between the two species are associated with differences in oxidative physiology. Our findings suggest superior oxidative protection of thoracic tissue in the longer-lived H. hecale compared to D. iulia, as evidenced by increased superoxide dismutase activity, increased total antioxidant capacity, and a corresponding reduction in lipid peroxidation in this tissue. Considering the metabolic demands of insect flight, we suggest that this oxidative phenotype may contribute to the extended longevity of Heliconius by enhancing protection of thoracic tissues against oxidative damage, representing a plausible proximate pro-longevity mechanism in this genus.

evolutionary biology↗

Both genetic and social inheritance influence female aggressive and submissive behavior in a wild primate

Agonistic interactions are important determinants of resource access in wild animals, but their genetic basis remains poorly understood. Here we use a quantitative genetics approach to estimate the heritability of aggressive and submissive behavior of wild female baboons, considering relative rates of both individual and dyadic aggression and submission. To control for the social inheritance that creates kin-based dominance hierarchies, we implemented a multi-matrix model that included a social status similarity matrix alongside the additive genetic matrix. Despite a substantial contribution of social inheritance, especially for submissive behavior, we found heritable components for both aggressive and submissive behavior (h2=0.21 and h2=0.09-0.11, respectively). In dyadic models, aggressive behavior was primarily influenced by the aggressor's genotype (a direct genetic effect), while submissive behavior was primarily affected by the social partner's genotype (an indirect genetic effect). Finally, we found evidence for a negative genetic (but not phenotypic) correlation between aggressive and submissive behavior within dyads, and a negative genetic correlation between submissive behavior and eliciting submissive behavior. Together, our results highlight how direct genetic, indirect genetic, and social inheritance effects combine to influence primate social behavior.

evolutionary biology↗