weirMoM | R Documentation |
Estimates theta using a method of moment (MoM) estimate by 'Weir and Hill (2002).'
weirMoM(data, se=FALSE)
data |
A matrix or table with counts. Rows represent subpopulations and columns the different categories of the data. Zero rows or columns are automaticly removed. |
se |
Logical. Determines if a standard error of theta sould be computed or not. The variance is based on an expression by Li cited in 'Weir and Hill (2002)'. |
MoM-estimate (and standard error) of theta.
Weir, B. S. and W. G. Hill (2002). 'Esimating F-statistics'. Annu Rev Genet 36: 721-750
dirmult.summary
data(us) weirMoM(us[[1]],se=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.