Displaying 1 result from an estimated 1 matches for "dirichnormhw".
Did you mean:
dirichnormhwe
2011 Oct 08
1
HWEBayes, swapping the homozygotes genotype frequencies
...f nvec, I received totally
different Bayes factor:
>
> HWETriangBF2(nvec=c(2,10,88))
[1] 5.710153
>
In my understanding, defining the genotype frequency as n11 or n22 are
arbitrary.
So I was expecting the same value of Bayes factor.
This is the case for conjugate Dirichlet prior:
>DirichNormHWE(nvec=c(88,10,2), c(1,1))/DirichNormSat(nvec=c(88,10,2),
c(1,1,1))
[1] 1.542047
>DirichNormHWE(nvec=c(2,10,88), c(1,1))/DirichNormSat(nvec=c(2,10,88),
c(1,1,1))
[1] 1.542047
Could you explain why the HWETriangBF2 is returining completely different
values of Bayes Factor??
--
View this message...