ChaoLee1992 | R Documentation |
This function calculates ACE
and ACE-1
estimators by Chao and Lee 1992 (ACE-1
provides
further bias correction based on ACE
).
ChaoLee1992(n, t = 10, method = "all",conf = 0.95)
n |
a matrix or a numerical data frame of two columns. It is also called the “frequency of frequencies” data in literature. The first column is the frequency |
t |
a positive integer. |
method |
a string. It can be any one of “ACE”, “ACE-1”, or “all”. The default is “all”. |
conf |
a positive number |
The function ChaoLee1992
returns a list of: Nhat
, SE
and CI
.
Nhat |
point estimate of the specified method. If the default |
SE |
standard error(s) of the point estimate(s). |
CI |
confidence interval using a log transformation explained in Chao 1987. |
Ji-Ping Wang, Department of Statistics, Northwestern University
Chao, A. (1987). Estimating the population size for capture-recapture data with unequal catchability. Biometrics 43, 783-791.
Chao, A., and Lee, S.-M. (1992), Estimating the Number of Classes via Sample Coverage, Journal of the American Statistical Association, 87, 210-217.
library(SPECIES)
##load data from the package,
## "butterfly" is the famous butterfly data by Fisher 1943.
data(butterfly)
##output estimates from all 4 methods using cutoff t=10
ChaoLee1992(butterfly,t=10,method="all")
##output estimates from ACE method using cutoff t=10
ChaoLee1992(butterfly,t=10,method="ACE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.