Description Usage Arguments Details Value References Examples
View source: R/Parameter_estimation_and_hypothesis_testing.R
Numerically searches for the MLE of psi given the frequencies of the frequencies of a data vector, called an abundance vector.
1 | MLEp(abund)
|
abund |
An abundance vector. |
Numerically searches for the MLE of psi as the root of equation
K=∑_{i=1}^nψ/(ψ+i-1),
where K is the observed number of different species in the sample. The right side of the equation is strictly increasing when ψ>0, so a binary search is used to find the root. An accepted ψ sets value of the right side of the equation within R's smallest possible value of the actual value of K.
Returns a list that contains the estimate "psi" and "Asymptotic confidence interval". The confidence interval is based on the asymptotic distribution of maximum likelihood estimators.
W.J. Ewens, The sampling theory of selectively neutral alleles, Theoretical Population Biology, Volume 3, Issue 1, 1972, Pages 87-112, ISSN 0040-5809, https://doi.org/10.1016/0040-5809(72)90035-4.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.