Description Usage Arguments Value Author(s) References See Also Examples
Function to evaluate the normalizing constant given a conjugate Dirichlet prior and a saturated model.
1 | DirichNormSat(nvec, bvec)
|
nvec |
vector of genotype frequencies in the order n_{11}, n_{12},..., n_{1k},n_{22} ..., n_{2k},..., n_{kk}. |
bvec |
vector of length k(k+1)/2 Dirichlet prior parameters, where k is the number of alleles. |
The normalizing constant.
Jon Wakefield (jonno@u.washington.edu)
Wakefield, J. (2010). Bayesian methods for examining Hardy-Weinberg equilibrium. Biometrics; Vol 66:257-65
DirichSampSat
, DirichSampHWE
, DirichNormSat
, DirichNormHWE
, HWEDirichBF2
1 2 | data(DiabRecess)
DirichNormSat(nvec=DiabRecess,bvec=rep(1,10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.