Hello Sean,

If the continuous variable is the “response” and the “independent” variable the 
discrete one, you can use PGLS, this would be akin to an ANOVA and you can do 
it accounting for phylogenetic non-independence. 
Is this what you were after?

Cheers

Alejandro
_______________________________________________
Dr Alejandro Gonzalez Voyer

Laboratorio de Conducta Animal
Instituto de Ecología
Circuito Exterior S/N
Ciudad Universitaria
Universidad Nacional Autónoma de México
México, D.F.
04510
México

Tel: +52 55 5622 9044
E-mail: alejandro.gonza...@iecologia.unam.mx
Web: www.alejandrogonzalezvoyer.com

> El 08/04/2016, a las 15:56, Sean McKenzie <mcken...@gmail.com> escribió:
> 
> 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/


        [[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/

Reply via email to