Hello, I have a two traits, one categorical (binary) and one continuous, and I want to test for a relationship between them accounting for phylogenetic signal. I have found a plethora of sources for examining relationships between multiple categorical traits and many others for examining multiple continuous traits, but I have been hard pressed to find a test for one categorical and one continuous trait. A random blog post I stumbled across said I could use either standard phylogenetic independent contrasts (e.g. pic in ape) or general estimating equations (e.g. compar.gee in ape). Unfortunately the examples only used continuous data and tested for significance with regressions through the origin (e.g. lm(var1_pic ~ var2_pic - 1) or compar.gee(var1 ~ var2 - 1, phy = tree) ). This seems wrong when one variable was categorical, no?
So, are PICs and PGEEs really appropriate for a single categorical and a single continuous variable? If so, what is the appropriate way to test for significance? If not, or if there's a better way, how can I test this? Thanks! Sean [[alternative HTML version deleted]] _______________________________________________ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/