Description Usage Arguments Value Note Author(s) References See Also
Evaluates the Multinomial likelihood under the single f model. The normalizing constant is not included. This function is called by a number of other functions, and should not be needed.
1 | MultLogLikP(p, f, nvec)
|
p |
A set of probabilities, p_1,...,p_k, where k is the number of alleles |
f |
The f parameter |
nvec |
vector of genotype frequencies in the order n_{11}, n_{21}, ..., n_{k1}, n_{22}, ..., n_{k2}, ..., n_{kk}. |
The unnormalized multinomial log-likelihood.
MultLogLik
also calculates the multinomial likelihood using an
alternate parameterization.
Jon Wakefield (jonno@u.washington.edu)
Wakefield, J. (2010). Bayesian methods for examining Hardy-Weinberg equilibrium. Biometrics; Vol 66:257-65
Weir, B.S. (1996). Genetic Data Analysis II. Sunderland MA: Sinauer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.