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: [email protected]
Web: www.alejandrogonzalezvoyer.com

> El 08/04/2016, a las 15:56, Sean McKenzie <[email protected]> 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 - [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
> Searchable archive at http://www.mail-archive.com/[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]/

Reply via email to