Class "HWEintr". Result for the Hardy-Weinberg Testing Problem Using the Intrinsic Prior Approach.

Description

This class encapsulates the results of a Bayesian objective analysis via intrinsic priors for the Hardy-Weinberg Testing Problem as described in Consonni et al. (2011).

Objects from the Class

Objects can be created by calls of the form new("HWEintr", bf, npp, draws, data), but most often as the result of a call to hwe.ibf or to hwe.ibf.mc.

Slots

bf:

Object of class "numeric"; Bayes factor based on intrinsic priors.

npp:

Object of class "numeric"; posterior probability of the null Hardy-Weinberg model.

draws:

Object of class "numeric"; individual terms of the Monte Carlo sum using importance sampling.

data.mat:

Object of class "matrix"; original data in matrix form.

Methods

plot

signature(x = "HWEintr", y = "missing"): Provides a graphical representation of the estimates.

summary

signature(object = "HWEintr"): Summarizes the information about the estimates.

Author(s)

Sergio Venturini sergio.venturini@unibocconi.it

References

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

See Also

hwe.ibf, hwe.ibf.mc, hwe.ibf.plot.