You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks so much for writing and maintaining such a useful package!
I noticed something odd when using phyloglm to associate two binary traits. Under the null, when each trait is being generated independently along the same tree, I would expect to see a more-or-less "flat" p-value distribution. Instead, the distributions I am seeing seem pretty sharply tilted towards the right (i.e., conservative). How much they are skewed also seems to depend on the tree: random coalescent trees seem to consistently give more conservative results than random bifurcating trees made ultrametric with chronos(). Turning the bootstrap on doesn't seem to make an appreciable difference.
Hi folks,
Thanks so much for writing and maintaining such a useful package!
I noticed something odd when using phyloglm to associate two binary traits. Under the null, when each trait is being generated independently along the same tree, I would expect to see a more-or-less "flat" p-value distribution. Instead, the distributions I am seeing seem pretty sharply tilted towards the right (i.e., conservative). How much they are skewed also seems to depend on the tree: random coalescent trees seem to consistently give more conservative results than random bifurcating trees made ultrametric with chronos(). Turning the bootstrap on doesn't seem to make an appreciable difference.
This is the code I'm using:
Curious if anyone has thoughts as to why this would be happening? Am I missing something obvious?
Patrick
P.S. I have not seen this behavior with phylolm and rTrait, regardless of the tree I use, e.g.:
The text was updated successfully, but these errors were encountered: