This function provides the calculations for obtaining the standard Bayes factor for the Hardy-Weinberg testing problem. It implements a common default prior (constant) for both the null and the alternative models.
an object of class "HWEdata".
hwe.bf returns the standard Bayes Factor value for the Hardy-Weinberg testing problem (see the references for the details).
The Bayes factor computed here is for the unrestricted model (M_1) against the Hardy-Weinberg case (M_0).
Sergio Venturini firstname.lastname@example.org
Consonni, G., Moreno, E., and Venturini, S. (2011). "Testing Hardy-Weinberg equilibrium: an objective Bayesian analysis". Statistics in Medicine, 30, 62–74. http://onlinelibrary.wiley.com/doi/10.1002/sim.4084/abstract
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.