Hi Renske- This is a complex question and it would take a manuscript to answer it properly. The short answer is no, not without doing a lot of work to show that whatever error model you use leads to acceptable Type I error rates under various models of trait evolution. It is almost certainly that case that any off the shelf model will have elevated Type I error rates when applied to BAMM rate estimates.
We will soon release a method that does exactly what you would like to do, so stay tuned on this topic. Whether you have power will depend on the number of distinct macroevolutionary rate regimes in your data. If only several, you won't have much power - you can think about the number of rate regimes in your data as (very) loosely equivalent to the effective number of data points you have to test hypotheses about traits and diversification in this framework. If you have evidence for 2 - 5 rate shifts, you should not expect to have much power to detect trait-dependent diversification. ~Dan Rabosky On Jun 9, 2014, at 9:29 AM, Renske Onstein wrote: > Dear all, > > > I would like to test the effect of a set of (binary+continuous) traits > simultaneously on diversification rates using linear models. I have > diversification rates linked to each node and tip in a phylogeny (resulting > from BAMM), and I have probabilities of the traits at each node and tip. > However, I want to correct for the phylogenetic dependence of both rates > and traits. Functions in R using PGLS seem to build a variance co-variance > matrix based on data at the tips of the trees, but it seems not possible to > assign data to the nodes of the tree. > > Does anyone know how to do this, or another way in which one can correct > for the autocorrelation between nodes in a phylogeny when using linear > models? > > > Thanks a lot, > > Renske > > -- > Renske Onstein > PhD student > University of Zurich > Institute of Systematic Botany > Zollikerstrasse 107 > 8008 Zurich > Switzerland > [email protected] <[email protected]> > > [[alternative HTML version deleted]] > > _______________________________________________ > R-sig-phylo mailing list - [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-phylo > Searchable archive at http://www.mail-archive.com/[email protected]/ _____________________ Dan Rabosky Assistant Professor & Curator of Herpetology Museum of Zoology & Department of Ecology and Evolutionary Biology University of Michigan Ann Arbor, MI 48109-1079 USA [email protected] http://www-personal.umich.edu/~drabosky http://www.lsa.umich.edu/ummz/ [[alternative HTML version deleted]] _______________________________________________ R-sig-phylo mailing list - [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/[email protected]/
