Description Usage Arguments Details Value Author(s) References See Also Examples
Calculates a set of k-1 baseline logits \log(p_1/p_k), ..., \log(p_{k-1}/p_k), from a set of probabilities p_1,...,p_k.
1 | baselogit(probs)
|
probs |
A set of probabilities, p_1,...,p_k, where k is the number of alleles. |
This function is used by a number of other functions in the package, for example, to provide a parameterization for maximization and for importance sampling in the single f model.
baselogit |
Returns the set of k-1 baseline logits, where k is the number of alleles. |
Jon Wakefield (jonno@u.washington).
Wakefield, J. (2010). Bayesian methods for examining Hardy-Weinberg equilibrium. Biometrics; Vol 66:257-65
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.