lonelyjoeparker / befi-bats-gui

Java software to analyse phylogeny-trait correlations in discrete traits, accounting for phylogenetic uncertainty via posterior sampling.
http://science.lonelyjoeparker.com
GNU General Public License v3.0
8 stars 3 forks source link

Meaning of p-value = 0 #7

Closed ajlee21 closed 8 years ago

ajlee21 commented 8 years ago

One of the results I received had a significance value = 0. Can you tell me more precisely what this value means? For example the pvalue < what value?

lonelyjoeparker commented 8 years ago

The p-value reported is equivalent to the percentile the observed sample (observed values on the posterior set of trees) lies at on the empirical cumulative density function of the expected sample (shuffled values' replicates on PST).

Therefore a p-value of '0' means that all of the expected samples were more extreme (higher) than the observed value. This suggests the observed trait-phylogeny clustering as measured by that metric is highly unlikely to have arisen under the null model (tip states allocated via shuffling using a uniform probability function).

Hope this helps?

ajlee21 commented 8 years ago

Thank you for your explanation.

The meaning of the p-value is much more clear now. I was more curious about empirically does p-value = 0 mean p-value <0.001 or some other value? I'm wondering how extreme this 0 value is?