HWEintrinsic-package | R Documentation |

General (multi-allelic) Hardy-Weinberg equilibrium problem from an objective Bayesian testing standpoint. This aim is achieved through the identification of a class of priors specifically designed for this testing problem. A class of intrinsic priors under the full model is considered. This class is indexed by a tuning quantity, the training sample size, as discussed in Consonni, Moreno and Venturini (2010). These priors are objective, satisfy Savage's continuity condition and have proved to behave extremely well for many statistical testing problems.

The package is loaded with the usual `library(HWEintrinsic)`

command. The most important functions are `hwe.ibf`

, `hwe.ibf.mc`

, and `hwe.ibf.plot`

.
It contains also some data sets which have been extensively used in the literature.

Sergio Venturini

Maintainer: Sergio Venturini <sergio.venturini@unicatt.it>

Consonni, G., Moreno, E., and Venturini, S. (2011). "Testing Hardy-Weinberg equilibrium: an objective Bayesian analysis". Statistics in Medicine, **30**, 62–74. https://onlinelibrary.wiley.com/doi/10.1002/sim.4084/abstract

`hwe.ibf`

,
`hwe.ibf.mc`

,
`hwe.ibf.plot`

,
`hwe.bf`

.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.