cip.tmp: Utility Function

Description Usage Arguments Value Author(s) References See Also

View source: R/HWEintrinsic.R

Description

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

Usage

1
  cip.tmp(p11, p21, t, p)

Arguments

p11

gentotype proportion for the alleles pair A1A1.

p21

gentotype proportion for the alleles pair A2A1.

t

training sample size.

p

allele frequency used to condition the prior upon.

Value

cip.tmp returns the value of the conditional intrinsic prior evaluated at the arguments values.

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

cip.2, plot-methods.


HWEintrinsic documentation built on May 2, 2019, 12:20 p.m.