HWEintr-class: Class "HWEintr". Result for the Hardy-Weinberg Testing...

HWEintr-classR Documentation

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@unicatt.it

References

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

See Also

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


sergioventurini/HWEintrinsic documentation built on Oct. 19, 2023, 12:40 a.m.