gastonstat / AssotesteR

R package AssotesteR
13 stars 4 forks source link

CALPHA test p-value switched to a one-sided test #3

Open roryk opened 11 years ago

roryk commented 11 years ago

Hi Gaston,

Thank you for your work in collecting all of these association tests in one place, it is very useful. This is a speculative pull request; I am not so great at math, but from my limited understanding, I think the Neale paper seems to be testing specifically for overdispersion of the observed variance and in that case the test should be strictly if the Z-score is larger than expected. I went ahead and made changes to reflect that. As a bonus, it seems as if my editor made some whitespace cleanup changes.