Bayesian investigation of Hardy-Weinberg Equilibrium via estimation and testing.


[Up] [Top]

Documentation for package ‘HWEBayes’ version 1.4

Help Pages

baselogit Calculates a set of baseline logits from a set of probabilities
DiabRecess Data on diabetes patients antigen classes
DirichNormHWE Evaluates the normalizing constant under the HWE model, with a conjugate prior
DirichNormSat Evaluates the normalizing constant (as used in the denominator of a Bayes factor) for a conjugate prior
DirichSampHWE Simulate samples from a Dirichlet prior or posterior under HWE
DirichSampSat Simulate samples from a Dirichlet prior or posterior under the saturated model
HWEDirichBF2 Evaluates the Bayes factor in the k=2 allele case under conjugate priors
HWEImportSamp Importance sampling to calculate the normalizing constant under the single f model
HWEmodelsMLE Evaluates the maximum likelihood estimates of the parameters of various models in the k allele case
HWEsimdat Simulate data under the single f model with k alleles.
HWETriangBF2 Evaluates the Bayes factor in the k=2 allele case with a "triangular" prior under the null
invbaselogit Converts a set of k-1 baseline logits into a set of probabilities
LambdaOptim Obtains values for the prior specification for lambda
MultLogLik Evaluates the Multinomial likelihood under the single f model
MultLogLikP Evaluates the Multinomial likelihood under the single f model
SinglefPrior Samples from the single f prior.
SinglefReject Samples from the posterior for the single f model
TriangNormHWE Evaluates the normalizing constant under the HWE model, for the "triangular" prior distribution