Learn R Programming

HWEintrinsic (version 1.2.3)

ip.tmp: Utility Function

Description

This function provides the calculations needed to plot the (unconditional) intrinsic prior based for a two alleles dataset as described in Consonni et al. (2011).

Usage

ip.tmp(p11, p21, t)

Value

ip.tmp returns the value of the (unconditional) intrinsic prior evaluated at the arguments values.

Arguments

p11

gentotype proportion for the the pair of alleles \(A_{1}A_{1}\).

p21

gentotype proportion for the the pair of alleles \(A_{2}A_{1}\).

t

training sample size.

Author

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

ip.2, plot-methods.