Re: [R-sig-phylo] phylogenetic circular linear regression

2017-07-27 Thread Peter Smits
Hi,

If your adventurous you could probably write your own model  in R or Stan
or similar. The wrapped Normal or the Von Mise distribution are circular
and map from 0 to 2pi. My suggestion would be to include a species level
phylogenetic "random effect" for the mean parameter to account for the
autocorrelation. This is how the MCMCglmm package includes phylogeny.

If you write it as sampling statements it might look like

y ~ MV(mu, k)
mu = a + bx + h
h ~ MVN (Mu, Sigma)

Hope that helps lead you on the right track.

Cheers,

Peter


On Thu, Jul 27, 2017, 4:07 AM f.k...@mailbox.org  wrote:

> Hi all,
>
> it there something like a phylogenetic circular linear regression or such?
>
> I want to test if the hue (circular 360°) of species differs between two
> lifestyles?
>
> Hope someone can help?
>
> If this is not there please also let me know.
>
> Cheers,
> Franz
>
> ___
> 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/

-- 
Peter D Smits
Postdoctoral Researcher (Finnegan lab)
Integrative Biology
University of California Berkeley
https://psmits.github.io/

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

Re: [R-sig-phylo] phylogenetic circular linear regression

2017-07-27 Thread Florian Boucher
Hi Franz,

I don't know about anything like what you propose but maybe you could
sine-transform your trait and then use phylogenetic linear or logistic
regression?

Florian

2017-07-27 13:06 GMT+02:00 f.k...@mailbox.org :

> Hi all,
>
> it there something like a phylogenetic circular linear regression or such?
>
> I want to test if the hue (circular 360°) of species differs between two
> lifestyles?
>
> Hope someone can help?
>
> If this is not there please also let me know.
>
> Cheers,
> Franz
>
> ___
> 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-ph...@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/

[R-sig-phylo] phylogenetic circular linear regression

2017-07-27 Thread f.k...@mailbox.org
Hi all,

it there something like a phylogenetic circular linear regression or such?

I want to test if the hue (circular 360°) of species differs between two 
lifestyles?

Hope someone can help?

If this is not there please also let me know.

Cheers, 
Franz

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